GithubHelp home page GithubHelp logo

friendupcloud / friendup Goto Github PK

View Code? Open in Web Editor NEW
341.0 51.0 85.0 311.86 MB

FriendOS is a free web based platform that runs in your browser. It allows you to work and play, collaboratively, across devices.

Home Page: https://friendos.com/

License: Other

Makefile 0.28% C 41.00% C++ 0.12% PHP 2.16% HTML 1.29% CSS 1.26% JavaScript 46.75% Shell 0.24% CMake 0.40% Java 0.03% NSIS 0.01% M4 0.12% Python 0.08% Batchfile 0.01% Lua 0.01% Perl 5.90% Roff 0.34% Awk 0.01% Emacs Lisp 0.01% Dockerfile 0.01%
stable operatingsystem webos javascript-framework cloud-computing chat-application collaboration-platform development-environment groups-manager operating-system

friendup's People

Contributors

344clinton avatar acezerox avatar amiga23 avatar autocaret avatar dm8tbr avatar eloekset avatar francois333 avatar notcallmehacker avatar polluks avatar primesoftnz avatar ryziopl avatar sokken avatar stefkosdev avatar thomaswollburg avatar titlestad avatar xet7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

friendup's Issues

Does not compile on Ubuntu 16.04

sebastian@friendup:~$ sudo apt-get install libssh2-1-dev libssh-dev libssl-dev libaio-dev         php7.0-cli php7.0
-curl php7.0-mysql php7.0-gd php7.0-imap mysql-server         libmysqlclient-dev build-essential libmatheval-dev li
bmagic-dev         libgd-dev libwebsockets-dev rsync valgrind-dbg libxml2-dev php7.0-readline
Reading package lists... Done
Building dependency tree       
Reading state information... Done
rsync is already the newest version (3.1.1-3ubuntu1).
The following additional packages will be installed:
  binutils cpp cpp-5 dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-5 gcc gcc-5 gdb gdbserver
  icu-devtools libaio1 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2
  libatomic1 libbabeltrace-ctf1 libbabeltrace1 libc-client2007e libc-dev-bin libc6-dbg libc6-dev libcc1-0
  libcgi-fast-perl libcgi-pm-perl libcilkrts5 libcurl3 libdpkg-perl libencode-locale-perl libev-dev libev4
  libexpat1 libexpat1-dev libfakeroot libfcgi-perl libfile-fcntllock-perl libfontconfig1 libfontconfig1-dev
  libfreetype6-dev libgcc-5-dev libgcrypt20-dev libgd3 libgomp1 libgpg-error-dev libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libice-dev libice6 libicu-dev
  libio-html-perl libisl15 libitm1 libjbig-dev libjbig0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8
1 upgraded, 144 newly installed, 0 to remove and 12 not upgraded.
Need to get 56.0 MB/127 MB of archives.
After this operation, 675 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.12-0ubuntu1.1 [17.0 kB]
Get:2 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-core-5.7 amd64 5.7.12-0ubuntu1.1 [6,120 kB]
Get:3 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-5.7 amd64 5.7.12-0ubuntu1.1 [1,695 kB]
Get:4 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-core-5.7 amd64 5.7.12-0ubuntu1.1 [7,503 kB]
Get:5 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-5.7 amd64 5.7.12-0ubuntu1.1 [2,587 kB]
Get:6 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1 amd64 2.1.0-7ubuntu0.16.04.2 [71.3 kB]
Get:7 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gdb amd64 7.11.1-0ubuntu1~16.04 [2,525 kB]
Get:8 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gdbserver amd64 7.11.1-0ubuntu1~16.04 [172 kB]
Get:9 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.2 [115 kB]
Get:10 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.12-0ubuntu1.1 [811 kB]
Get:11 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient-dev amd64 5.7.12-0ubuntu1.1 [1,156 kB]
Get:12 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server all 5.7.12-0ubuntu1.1 [10.1 kB]
Get:13 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 valgrind amd64 1:3.11.0-1ubuntu4.1 [11.0 MB]
Get:14 http://europe-west1.gce.archive.ubuntu.com/ubuntu xenial-updates/main amd64 valgrind-dbg amd64 1:3.11.0-1ubuntu4.1 [22.2 MB]
Fetched 56.0 MB in 0s (62.0 MB/s)   
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package x11-common.
(Reading database ... 59810 files and directories currently installed.)
Preparing to unpack .../x11-common_1%3a7.7+13ubuntu3_all.deb ...
Unpacking x11-common (1:7.7+13ubuntu3) ...
Selecting previously unselected package libice6:amd64.
Preparing to unpack .../libice6_2%3a1.0.9-1_amd64.deb ...
Unpacking libice6:amd64 (2:1.0.9-1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
Selecting previously unselected package libmatheval1:amd64.
Preparing to unpack .../libmatheval1_1.1.11+dfsg-2_amd64.deb ...
Unpacking libmatheval1:amd64 (1.1.11+dfsg-2) ...
Selecting previously unselected package libsm6:amd64.
Preparing to unpack .../libsm6_2%3a1.2.2-1_amd64.deb ...
Unpacking libsm6:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../libssh2-1_1.5.0-2_amd64.deb ...
Unpacking libssh2-1:amd64 (1.5.0-2) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.11-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.11-1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-common (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-2) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../mysql-client-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../mysql-client-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack .../mysql-server-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.12-0ubuntu1.1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up mysql-common (5.7.12-0ubuntu1.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mysql-server-5.7.
(Reading database ... 60036 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1) ...
Preparing to unpack .../libexpat1_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2) over (2.1.0-7ubuntu0.16.04.1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.26-8ubuntu2.1_amd64.deb ...
Unpacking binutils (2.26-8ubuntu2.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.23-0ubuntu3_amd64.deb ...
Unpacking libc-dev-bin (2.23-0ubuntu3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_4.4.0-24.43_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.4.0-24.43) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.23-0ubuntu3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.23-0ubuntu3) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
Unpacking libisl15:amd64 (0.16.1-1) ...
Selecting previously unselected package cpp-5.
Preparing to unpack .../cpp-5_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking cpp-5 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking cpp (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../libcc1-0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libcc1-0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libgomp1:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libitm1:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libatomic1:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libasan2:amd64.
Preparing to unpack .../libasan2_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libasan2:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking liblsan0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libtsan0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libubsan0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libcilkrts5:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libmpx0:amd64.
Preparing to unpack .../libmpx0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libmpx0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libquadmath0:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package libgcc-5-dev:amd64.
Preparing to unpack .../libgcc-5-dev_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libgcc-5-dev:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package gcc-5.
Preparing to unpack .../gcc-5_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking gcc-5 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking gcc (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package libstdc++-5-dev:amd64.
Preparing to unpack .../libstdc++-5-dev_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking libstdc++-5-dev:amd64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package g++-5.
Preparing to unpack .../g++-5_5.3.1-14ubuntu2.1_amd64.deb ...
Unpacking g++-5 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
Unpacking g++ (4:5.3.1-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
Unpacking make (4.1-6) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.1_all.deb ...
Unpacking libdpkg-perl (1.18.4ubuntu1.1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.1_all.deb ...
Unpacking dpkg-dev (1.18.4ubuntu1.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
Unpacking build-essential (12.1ubuntu2) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.20.2-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
Unpacking fonts-dejavu-core (2.35-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1_all.deb ...
Unpacking fontconfig-config (2.11.94-0ubuntu1) ...
Selecting previously unselected package libbabeltrace1:amd64.
Preparing to unpack .../libbabeltrace1_1.3.2-1_amd64.deb ...
Unpacking libbabeltrace1:amd64 (1.3.2-1) ...
Selecting previously unselected package libbabeltrace-ctf1:amd64.
Preparing to unpack .../libbabeltrace-ctf1_1.3.2-1_amd64.deb ...
Unpacking libbabeltrace-ctf1:amd64 (1.3.2-1) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../libpython3.5_3.5.1-10_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.1-10) ...
Selecting previously unselected package gdb.
Preparing to unpack .../gdb_7.11.1-0ubuntu1~16.04_amd64.deb ...
Unpacking gdb (7.11.1-0ubuntu1~16.04) ...
Selecting previously unselected package gdbserver.
Preparing to unpack .../gdbserver_7.11.1-0ubuntu1~16.04_amd64.deb ...
Unpacking gdbserver (7.11.1-0ubuntu1~16.04) ...
Selecting previously unselected package icu-devtools.
Preparing to unpack .../icu-devtools_55.1-7_amd64.deb ...
Unpacking icu-devtools (55.1-7) ...
Selecting previously unselected package libaio-dev.
Preparing to unpack .../libaio-dev_0.3.110-2_amd64.deb ...
Unpacking libaio-dev (0.3.110-2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package mlock.
Preparing to unpack .../mlock_8%3a2007f~dfsg-4_amd64.deb ...
Unpacking mlock (8:2007f~dfsg-4) ...
Selecting previously unselected package libc-client2007e.
Preparing to unpack .../libc-client2007e_8%3a2007f~dfsg-4_amd64.deb ...
Unpacking libc-client2007e (8:2007f~dfsg-4) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
Unpacking libhtml-tagset-perl (3.20-2) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../liburi-perl_1.71-1_all.deb ...
Unpacking liburi-perl (1.71-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../libhtml-parser-perl_3.72-1_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-1) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../libcgi-pm-perl_4.26-1_all.deb ...
Unpacking libcgi-pm-perl (4.26-1) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../libfcgi-perl_0.77-1build1_amd64.deb ...
Unpacking libfcgi-perl (0.77-1build1) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../libcgi-fast-perl_1%3a2.10-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.10-1) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.47.0-1ubuntu2_amd64.deb ...
Unpacking libcurl3:amd64 (7.47.0-1ubuntu2) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../libencode-locale-perl_1.05-1_all.deb ...
Unpacking libencode-locale-perl (1.05-1) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2ubuntu4_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ...
Selecting previously unselected package libpng12-dev:amd64.
Preparing to unpack .../libpng12-dev_1.2.54-1ubuntu1_amd64.deb ...
Unpacking libpng12-dev:amd64 (1.2.54-1ubuntu1) ...
Selecting previously unselected package libfreetype6-dev:amd64.
Preparing to unpack .../libfreetype6-dev_2.6.1-0.1ubuntu2_amd64.deb ...
Unpacking libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29.1-0ubuntu1_amd64.deb ...
Unpacking pkg-config (0.29.1-0ubuntu1) ...
Selecting previously unselected package libfontconfig1-dev:amd64.
Preparing to unpack .../libfontconfig1-dev_2.11.94-0ubuntu1_amd64.deb ...
Unpacking libfontconfig1-dev:amd64 (2.11.94-0ubuntu1) ...
Selecting previously unselected package libgpg-error-dev.
Preparing to unpack .../libgpg-error-dev_1.21-2ubuntu1_amd64.deb ...
Unpacking libgpg-error-dev (1.21-2ubuntu1) ...
Selecting previously unselected package libgcrypt20-dev.
Preparing to unpack .../libgcrypt20-dev_1.6.5-2_amd64.deb ...
Unpacking libgcrypt20-dev (1.6.5-2) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.6-1_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.6-1) ...
Selecting previously unselected package libvpx3:amd64.
Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.1.1-4ubuntu0.16.04.1_amd64.deb ...
Unpacking libgd3:amd64 (2.1.1-4ubuntu0.16.04.1) ...
Selecting previously unselected package libjpeg-turbo8-dev:amd64.
Preparing to unpack .../libjpeg-turbo8-dev_1.4.2-0ubuntu3_amd64.deb ...
Unpacking libjpeg-turbo8-dev:amd64 (1.4.2-0ubuntu3) ...
Selecting previously unselected package libjpeg8-dev:amd64.
Preparing to unpack .../libjpeg8-dev_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8-dev:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjpeg-dev:amd64.
Preparing to unpack .../libjpeg-dev_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg-dev:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../x11proto-core-dev_7.0.28-2ubuntu1_all.deb ...
Unpacking x11proto-core-dev (7.0.28-2ubuntu1) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../libxau-dev_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../libxdmcp-dev_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package x11proto-input-dev.
Preparing to unpack .../x11proto-input-dev_2.3.1-1_all.deb ...
Unpacking x11proto-input-dev (2.3.1-1) ...
Selecting previously unselected package x11proto-kb-dev.
Preparing to unpack .../x11proto-kb-dev_1.0.7-0ubuntu1_all.deb ...
Unpacking x11proto-kb-dev (1.0.7-0ubuntu1) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libpthread-stubs0-dev:amd64.
Preparing to unpack .../libpthread-stubs0-dev_0.3-4_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../libxcb1-dev_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../libx11-dev_2%3a1.6.3-1ubuntu2_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxpm-dev:amd64.
Preparing to unpack .../libxpm-dev_1%3a3.5.11-1_amd64.deb ...
Unpacking libxpm-dev:amd64 (1:3.5.11-1) ...
Selecting previously unselected package libxt6:amd64.
Preparing to unpack .../libxt6_1%3a1.1.5-0ubuntu1_amd64.deb ...
Unpacking libxt6:amd64 (1:1.1.5-0ubuntu1) ...
Selecting previously unselected package libice-dev:amd64.
Preparing to unpack .../libice-dev_2%3a1.0.9-1_amd64.deb ...
Unpacking libice-dev:amd64 (2:1.0.9-1) ...
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../libsm-dev_2%3a1.2.2-1_amd64.deb ...
Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../libxt-dev_1%3a1.1.5-0ubuntu1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Selecting previously unselected package libvpx-dev:amd64.
Preparing to unpack .../libvpx-dev_1.5.0-2ubuntu1_amd64.deb ...
Unpacking libvpx-dev:amd64 (1.5.0-2ubuntu1) ...
Selecting previously unselected package libjbig-dev:amd64.
Preparing to unpack .../libjbig-dev_2.1-3.1_amd64.deb ...
Unpacking libjbig-dev:amd64 (2.1-3.1) ...
Selecting previously unselected package liblzma-dev:amd64.
Preparing to unpack .../liblzma-dev_5.1.1alpha+20120614-2ubuntu2_amd64.deb ...
Unpacking liblzma-dev:amd64 (5.1.1alpha+20120614-2ubuntu2) ...
Selecting previously unselected package libtiffxx5:amd64.
Preparing to unpack .../libtiffxx5_4.0.6-1_amd64.deb ...
Unpacking libtiffxx5:amd64 (4.0.6-1) ...
Selecting previously unselected package libtiff5-dev:amd64.
Preparing to unpack .../libtiff5-dev_4.0.6-1_amd64.deb ...
Unpacking libtiff5-dev:amd64 (4.0.6-1) ...
Selecting previously unselected package libgd-dev:amd64.
Preparing to unpack .../libgd-dev_2.1.1-4ubuntu0.16.04.1_amd64.deb ...
Unpacking libgd-dev:amd64 (2.1.1-4ubuntu0.16.04.1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-2_all.deb ...
Unpacking libhtml-template-perl (2.95-2) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../libio-html-perl_1.001-1_all.deb ...
Unpacking libio-html-perl (1.001-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../libhttp-message-perl_6.11-1_all.deb ...
Unpacking libhttp-message-perl (6.11-1) ...
Selecting previously unselected package libicu-dev:amd64.
Preparing to unpack .../libicu-dev_55.1-7_amd64.deb ...
Unpacking libicu-dev:amd64 (55.1-7) ...
Selecting previously unselected package libmagic-dev:amd64.
Preparing to unpack .../libmagic-dev_1%3a5.25-2ubuntu1_amd64.deb ...
Unpacking libmagic-dev:amd64 (1:5.25-2ubuntu1) ...
Selecting previously unselected package libmatheval-dev:amd64.
Preparing to unpack .../libmatheval-dev_1.1.11+dfsg-2_amd64.deb ...
Unpacking libmatheval-dev:amd64 (1.1.11+dfsg-2) ...
Selecting previously unselected package libmysqlclient20:amd64.
Preparing to unpack .../libmysqlclient20_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libmysqlclient-dev.
Preparing to unpack .../libmysqlclient-dev_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking libmysqlclient-dev (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../libssh-4_0.6.3-4.3_amd64.deb ...
Unpacking libssh-4:amd64 (0.6.3-4.3) ...
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.1_amd64.deb ...
Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.1) ...
Selecting previously unselected package libssh-dev.
Preparing to unpack .../libssh-dev_0.6.3-4.3_amd64.deb ...
Unpacking libssh-dev (0.6.3-4.3) ...
Selecting previously unselected package libssh2-1-dev:amd64.
Preparing to unpack .../libssh2-1-dev_1.5.0-2_amd64.deb ...
Unpacking libssh2-1-dev:amd64 (1.5.0-2) ...
Selecting previously unselected package libssl-doc.
Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.1_all.deb ...
Unpacking libssl-doc (1.0.2g-1ubuntu4.1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../libuv1_1.8.0-1_amd64.deb ...
Unpacking libuv1:amd64 (1.8.0-1) ...
Selecting previously unselected package libuv1-dev:amd64.
Preparing to unpack .../libuv1-dev_1.8.0-1_amd64.deb ...
Unpacking libuv1-dev:amd64 (1.8.0-1) ...
Selecting previously unselected package libev4.
Preparing to unpack .../libev4_1%3a4.22-1_amd64.deb ...
Unpacking libev4 (1:4.22-1) ...
Selecting previously unselected package libwebsockets7:amd64.
Preparing to unpack .../libwebsockets7_1.7.1-1_amd64.deb ...
Unpacking libwebsockets7:amd64 (1.7.1-1) ...
Selecting previously unselected package libev-dev.
Preparing to unpack .../libev-dev_1%3a4.22-1_amd64.deb ...
Unpacking libev-dev (1:4.22-1) ...
Selecting previously unselected package libwebsockets-dev:amd64.
Preparing to unpack .../libwebsockets-dev_1.7.1-1_amd64.deb ...
Unpacking libwebsockets-dev:amd64 (1.7.1-1) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../libx11-doc_2%3a1.6.3-1ubuntu2_all.deb ...
Unpacking libx11-doc (2:1.6.3-1ubuntu2) ...
Selecting previously unselected package libxml2-dev:amd64.
Preparing to unpack .../libxml2-dev_2.9.3+dfsg1-1ubuntu0.1_amd64.deb ...
Unpacking libxml2-dev:amd64 (2.9.3+dfsg1-1ubuntu0.1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
Unpacking manpages-dev (4.04-2) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-server (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package php-common.
Preparing to unpack .../php-common_1%3a35ubuntu6_all.deb ...
Unpacking php-common (1:35ubuntu6) ...
Selecting previously unselected package php7.0-common.
Preparing to unpack .../php7.0-common_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-common (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-json.
Preparing to unpack .../php7.0-json_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-json (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-opcache.
Preparing to unpack .../php7.0-opcache_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-opcache (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-readline.
Preparing to unpack .../php7.0-readline_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-readline (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-cli.
Preparing to unpack .../php7.0-cli_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-cli (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-curl.
Preparing to unpack .../php7.0-curl_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-curl (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-gd.
Preparing to unpack .../php7.0-gd_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-gd (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-imap.
Preparing to unpack .../php7.0-imap_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-imap (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package php7.0-mysql.
Preparing to unpack .../php7.0-mysql_7.0.4-7ubuntu2.1_amd64.deb ...
Unpacking php7.0-mysql (7.0.4-7ubuntu2.1) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../libc6-dbg_2.23-0ubuntu3_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.23-0ubuntu3) ...
Selecting previously unselected package valgrind.
Preparing to unpack .../valgrind_1%3a3.11.0-1ubuntu4.1_amd64.deb ...
Unpacking valgrind (1:3.11.0-1ubuntu4.1) ...
Selecting previously unselected package valgrind-dbg.
Preparing to unpack .../valgrind-dbg_1%3a3.11.0-1ubuntu4.1_amd64.deb ...
Unpacking valgrind-dbg (1:3.11.0-1ubuntu4.1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Setting up x11-common (1:7.7+13ubuntu3) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up libice6:amd64 (2:1.0.9-1) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
Setting up libmatheval1:amd64 (1.1.11+dfsg-2) ...
Setting up libsm6:amd64 (2:1.2.2-1) ...
Setting up libssh2-1:amd64 (1.5.0-2) ...
Setting up libxpm4:amd64 (1:3.5.11-1) ...
Setting up libaio1:amd64 (0.3.110-2) ...
Setting up mysql-client-core-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-client-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-server-core-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-server-5.7 (5.7.12-0ubuntu1.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libjbig0:amd64 (2.1-3.1) ...
Setting up libmpc3:amd64 (1.0.3-1) ...
Setting up libexpat1:amd64 (2.1.0-7ubuntu0.16.04.2) ...
Setting up binutils (2.26-8ubuntu2.1) ...
Setting up libc-dev-bin (2.23-0ubuntu3) ...
Setting up linux-libc-dev:amd64 (4.4.0-24.43) ...
Setting up libc6-dev:amd64 (2.23-0ubuntu3) ...
Setting up libisl15:amd64 (0.16.1-1) ...
Setting up cpp-5 (5.3.1-14ubuntu2.1) ...
Setting up cpp (4:5.3.1-1ubuntu1) ...
Setting up libcc1-0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libgomp1:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libitm1:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libatomic1:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libasan2:amd64 (5.3.1-14ubuntu2.1) ...
Setting up liblsan0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libtsan0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libubsan0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libcilkrts5:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libmpx0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libquadmath0:amd64 (5.3.1-14ubuntu2.1) ...
Setting up libgcc-5-dev:amd64 (5.3.1-14ubuntu2.1) ...
Setting up gcc-5 (5.3.1-14ubuntu2.1) ...
Setting up gcc (4:5.3.1-1ubuntu1) ...
Setting up libstdc++-5-dev:amd64 (5.3.1-14ubuntu2.1) ...
Setting up g++-5 (5.3.1-14ubuntu2.1) ...
Setting up g++ (4:5.3.1-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (4.1-6) ...
Setting up libdpkg-perl (1.18.4ubuntu1.1) ...
Setting up dpkg-dev (1.18.4ubuntu1.1) ...
Setting up build-essential (12.1ubuntu2) ...
Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
Setting up fakeroot (1.20.2-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up fonts-dejavu-core (2.35-1) ...
Setting up fontconfig-config (2.11.94-0ubuntu1) ...
Setting up libbabeltrace1:amd64 (1.3.2-1) ...
Setting up libbabeltrace-ctf1:amd64 (1.3.2-1) ...
Setting up libpython3.5:amd64 (3.5.1-10) ...
Setting up gdb (7.11.1-0ubuntu1~16.04) ...
Setting up gdbserver (7.11.1-0ubuntu1~16.04) ...
Setting up icu-devtools (55.1-7) ...
Setting up libaio-dev (0.3.110-2) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up mlock (8:2007f~dfsg-4) ...
Setting up libc-client2007e (8:2007f~dfsg-4) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up liburi-perl (1.71-1) ...
Setting up libhtml-parser-perl (3.72-1) ...
Setting up libcgi-pm-perl (4.26-1) ...
Setting up libfcgi-perl (0.77-1build1) ...
Setting up libcgi-fast-perl (1:2.10-1) ...
Setting up libcurl3:amd64 (7.47.0-1ubuntu2) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.2) ...
Setting up libfile-fcntllock-perl (0.22-3) ...
Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1) ...
Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2ubuntu4) ...
Setting up libpng12-dev:amd64 (1.2.54-1ubuntu1) ...
Setting up libfreetype6-dev:amd64 (2.6.1-0.1ubuntu2) ...
Setting up pkg-config (0.29.1-0ubuntu1) ...
Setting up libfontconfig1-dev:amd64 (2.11.94-0ubuntu1) ...
Setting up libgpg-error-dev (1.21-2ubuntu1) ...
Setting up libgcrypt20-dev (1.6.5-2) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libtiff5:amd64 (4.0.6-1) ...
Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
Setting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.1) ...
Setting up libjpeg-turbo8-dev:amd64 (1.4.2-0ubuntu3) ...
Setting up libjpeg8-dev:amd64 (8c-2ubuntu8) ...
Setting up libjpeg-dev:amd64 (8c-2ubuntu8) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up x11proto-core-dev (7.0.28-2ubuntu1) ...
Setting up libxau-dev:amd64 (1:1.0.8-1) ...
Setting up libxdmcp-dev:amd64 (1:1.1.2-1.1) ...
Setting up x11proto-input-dev (2.3.1-1) ...
Setting up x11proto-kb-dev (1.0.7-0ubuntu1) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
Setting up libxcb1-dev:amd64 (1.11.1-1ubuntu1) ...
Setting up libx11-dev:amd64 (2:1.6.3-1ubuntu2) ...
Setting up libxpm-dev:amd64 (1:3.5.11-1) ...
Setting up libxt6:amd64 (1:1.1.5-0ubuntu1) ...
Setting up libice-dev:amd64 (2:1.0.9-1) ...
Setting up libsm-dev:amd64 (2:1.2.2-1) ...
Setting up libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Setting up libvpx-dev:amd64 (1.5.0-2ubuntu1) ...
Setting up libjbig-dev:amd64 (2.1-3.1) ...
Setting up liblzma-dev:amd64 (5.1.1alpha+20120614-2ubuntu2) ...
Setting up libtiffxx5:amd64 (4.0.6-1) ...
Setting up libtiff5-dev:amd64 (4.0.6-1) ...
Setting up libgd-dev:amd64 (2.1.1-4ubuntu0.16.04.1) ...
Setting up libhtml-template-perl (2.95-2) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libio-html-perl (1.001-1) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.11-1) ...
Setting up libicu-dev:amd64 (55.1-7) ...
Setting up libmagic-dev:amd64 (1:5.25-2ubuntu1) ...
Setting up libmatheval-dev:amd64 (1.1.11+dfsg-2) ...
Setting up libmysqlclient20:amd64 (5.7.12-0ubuntu1.1) ...
Setting up libmysqlclient-dev (5.7.12-0ubuntu1.1) ...
Setting up libssh-4:amd64 (0.6.3-4.3) ...
Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.1) ...
Setting up libssh-dev (0.6.3-4.3) ...
Setting up libssh2-1-dev:amd64 (1.5.0-2) ...
Setting up libssl-doc (1.0.2g-1ubuntu4.1) ...
Setting up libuv1:amd64 (1.8.0-1) ...
Setting up libuv1-dev:amd64 (1.8.0-1) ...
Setting up libev4 (1:4.22-1) ...
Setting up libwebsockets7:amd64 (1.7.1-1) ...
Setting up libev-dev (1:4.22-1) ...
Setting up libwebsockets-dev:amd64 (1.7.1-1) ...
Setting up libx11-doc (2:1.6.3-1ubuntu2) ...
Setting up libxml2-dev:amd64 (2.9.3+dfsg1-1ubuntu0.1) ...
Setting up manpages-dev (4.04-2) ...
Setting up mysql-server (5.7.12-0ubuntu1.1) ...
Setting up php-common (1:35ubuntu6) ...
Setting up php7.0-common (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/calendar.ini with new version

Creating config file /etc/php/7.0/mods-available/ctype.ini with new version

Creating config file /etc/php/7.0/mods-available/exif.ini with new version

Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version

Creating config file /etc/php/7.0/mods-available/ftp.ini with new version

Creating config file /etc/php/7.0/mods-available/gettext.ini with new version

Creating config file /etc/php/7.0/mods-available/iconv.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo.ini with new version

Creating config file /etc/php/7.0/mods-available/phar.ini with new version

Creating config file /etc/php/7.0/mods-available/posix.ini with new version

Creating config file /etc/php/7.0/mods-available/shmop.ini with new version

Creating config file /etc/php/7.0/mods-available/sockets.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version

Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version

Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
Setting up php7.0-json (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/json.ini with new version
Setting up php7.0-opcache (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
Setting up php7.0-readline (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/readline.ini with new version
Setting up php7.0-cli (7.0.4-7ubuntu2.1) ...
update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode

Creating config file /etc/php/7.0/cli/php.ini with new version
Setting up php7.0-curl (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/curl.ini with new version
Setting up php7.0-gd (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/gd.ini with new version
Setting up php7.0-imap (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/imap.ini with new version
Setting up php7.0-mysql (7.0.4-7ubuntu2.1) ...

Creating config file /etc/php/7.0/mods-available/mysqlnd.ini with new version

Creating config file /etc/php/7.0/mods-available/mysqli.ini with new version

Creating config file /etc/php/7.0/mods-available/pdo_mysql.ini with new version
Setting up libc6-dbg:amd64 (2.23-0ubuntu3) ...
Setting up valgrind (1:3.11.0-1ubuntu4.1) ...
Setting up valgrind-dbg (1:3.11.0-1ubuntu4.1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
sebastian@friendup:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
git is already the newest version (1:2.7.4-0ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
sebastian@friendup:~$ git clone https://github.com/FriendSoftwareLabs/friendup.git
Cloning into 'friendup'...
remote: Counting objects: 8770, done.
remote: Total 8770 (delta 0), reused 0 (delta 0), pack-reused 8770
Receiving objects: 100% (8770/8770), 53.35 MiB | 7.94 MiB/s, done.
Resolving deltas: 100% (1006/1006), done.
Checking connectivity... done.
sebastian@friendup:~$ make clean && make setup && make compile && make install^C
sebastian@friendup:~$ cd friendup/
sebastian@friendup:~/friendup$ make clean && make setup && make compile && make install
make -C core clean
make[1]: Entering directory '/home/sebastian/friendup/core'
Cleaning
rm -f main.d core/library.d core/friend_core.d core/event_manager.d core/thread_linux.d core/friendcore_manager.d core/worker_manager.d core/friendcore_info.d core/worker.d system/cache/cache_manager.d network/websocket.d network/socket.d network/digcalc.d network/cookie.d network/mime.d network/file.d network/path.d network/file_download.d network/protocol_http.d network/uri.d network/protocol_webdav.d network/http.d util/hashmap.d util/murmurhash3.d util/list.d util/list_string.d util/buffered_string.d util/sha256.d util/md5.d util/base64.d util/json_core.d util/string.d class/rootclass.d class/class.d class/phpproxyclass.d class/mainclass.d service/service.d service/comm_service.d service/comm_service_client.d service/comm_msg.d service/service_manager.d ssh/ssh_server.d hardware/network.d system/device_handling.d system/web_util.d system/systembase.d system/command.d system/dictionary/dictionary.d system/module/module.d system/handler/lock.d system/handler/fsys.d system/handler/dosdriver.d system/json/json.d system/json/json_converter.d
make -C service/services clean
make[2]: Entering directory '/home/sebastian/friendup/core/service/services'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/core/service/services'
make -C system clean
make[2]: Entering directory '/home/sebastian/friendup/core/system'
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/core/system'
make[1]: Leaving directory '/home/sebastian/friendup/core'
make -C libs clean
make[1]: Entering directory '/home/sebastian/friendup/libs'
for dir in user properties application mysql z image; do \
        make -C $dir clean; \
done
make[2]: Entering directory '/home/sebastian/friendup/libs/user'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/libs/user'
make[2]: Entering directory '/home/sebastian/friendup/libs/properties'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/libs/properties'
make[2]: Entering directory '/home/sebastian/friendup/libs/application'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/libs/application'
make[2]: Entering directory '/home/sebastian/friendup/libs/mysql'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/libs/mysql'
make[2]: Entering directory '/home/sebastian/friendup/libs/z'
Cleaning
make -C aes clean
make[3]: Entering directory '/home/sebastian/friendup/libs/z/aes'
rm -rf *.o *.a
make[3]: Leaving directory '/home/sebastian/friendup/libs/z/aes'
make[2]: Leaving directory '/home/sebastian/friendup/libs/z'
make[2]: Entering directory '/home/sebastian/friendup/libs/image'
Cleaning
make[2]: Leaving directory '/home/sebastian/friendup/libs/image'
make[1]: Leaving directory '/home/sebastian/friendup/libs'
make -C core setup
make[1]: Entering directory '/home/sebastian/friendup/core'
Prepare enviroment
mkdir -p obj bin
make -C service/services setup
make[2]: Entering directory '/home/sebastian/friendup/core/service/services'
Prepare enviroment
mkdir -p obj bin
mkdir -p ../../../build/services/
make[2]: Leaving directory '/home/sebastian/friendup/core/service/services'
make -C system setup
make[2]: Entering directory '/home/sebastian/friendup/core/system'
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Package MagickWand was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickWand.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickWand' found
Prepare enviroment
mkdir -p obj bin bin/emod bin/fsys
make[2]: Leaving directory '/home/sebastian/friendup/core/system'
make[1]: Leaving directory '/home/sebastian/friendup/core'
make -C libs setup
make[1]: Entering directory '/home/sebastian/friendup/libs'
for dir in user properties application mysql z image; do \
        make -C $dir setup; \
done
make[2]: Entering directory '/home/sebastian/friendup/libs/user'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/user'
make[2]: Entering directory '/home/sebastian/friendup/libs/properties'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/properties'
make[2]: Entering directory '/home/sebastian/friendup/libs/application'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/application'
make[2]: Entering directory '/home/sebastian/friendup/libs/mysql'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/mysql'
make[2]: Entering directory '/home/sebastian/friendup/libs/z'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/z'
make[2]: Entering directory '/home/sebastian/friendup/libs/image'
Prepare enviroment
mkdir -p obj bin
make[2]: Leaving directory '/home/sebastian/friendup/libs/image'
make[1]: Leaving directory '/home/sebastian/friendup/libs'
make -C core DEBUG=1
make[1]: Entering directory '/home/sebastian/friendup/core'
Compile ...
gcc --std=c11 -Wall -W -D_FILE_OFFSET_BITS=64 -g -Ofast -funroll-loops -fPIC -I. -Wno-unused -Wno-unused-parameter -I../libs/  -I/usr/include/mysql -fabi-version=2 -fno-omit-frame-pointer -I/usr/include/libxml2/  -D__USE_POSIX -DENABLE_SSH -DENABLE_SSL -D__DEBUG -DENABLE_WEBSOCKETS -c -o obj/main.o main.c
In file included from /usr/include/uv.h:62:0,
                 from /usr/include/libwebsockets.h:176,
                 from ./network/socket.h:33,
                 from core/friend_core.h:25,
                 from main.c:26:
/usr/include/uv-unix.h:135:9: error: unknown type name ‘pthread_rwlock_t’
 typedef pthread_rwlock_t uv_rwlock_t;
         ^
/usr/include/uv-unix.h:152:9: error: unknown type name ‘pthread_barrier_t’
 typedef pthread_barrier_t uv_barrier_t;
         ^
Makefile:38: recipe for target 'obj/main.o' failed
make[1]: *** [obj/main.o] Error 1
make[1]: Leaving directory '/home/sebastian/friendup/core'
Makefile:100: recipe for target 'compile' failed
make: *** [compile] Error 2

install.sh: illegal mysql password

After proceeding with local mysql DB installation and denying Friend Network & Friend Chat installation because lack of turn server, installer proceed with error:

Illegal mysql password, please try again.

cross-application communication APIs

The ticket is about exploring available now, currently used and potential alternatives. EPA-WG is given for reference for such kind of cross-app communication API use.

Available in browser

  • window.postMessage
  • window.localStorage
  • document.cookie
  • direct src/href attribute set on IFRAME or similar element (object, embed, etc).
  • location="javascript:..."
  • shared data island.
  • clipboard
  • push API
  • ?

Criteria for evaluation

  • could pass data,
  • data as object , need for serialization/marshalling
  • data size limit
  • sync/async nature of data transfer
  • ability to broadcast data to multiple apps
  • availability to pass data independent from app presence on host page
  • availability of data change notification API
  • security and scope limitation

purpose of cross-application data storage and communication

  • friendup - TBD
  • EPA
    • control the application views and
    • defines the set applications of same scope
    • persist the common data set for apps disregarding of their life cycle and presentation state, including offline
    • notification of data change as one of ways to sync different apps state, exchange messages, etc.

API matrix with criteria

since actual 2d matrix UI in github is not that flexible and most of bullet points would require extended elaboration, the matrix format actually a list of each criteria against each API entry.

window.postMessage

  • ✔ could pass data
  • ✔ data as object , need for serialization/marshalling
    serialized using the structured clone algorithm by browser.
  • ✔ data size limit not set
  • ✔! sync/async nature of data transfer.
    browser executes synchronously, event based dispatch cross-frame. Potential deadlock for cross-frame.
  • ❌ ability to broadcast data to multiple apps
    ** targetWindow prevents broadcasting
  • ❌ availability to pass data independent from app presence on host page
  • ✔ availability of data change notification API
  • ✔! security and scope limitation
    ** targetOrigin limits messaging to defined URL, domain only is not supported preventing vendor to change/upgrade API

transfer useful helper allowing pass object ownership to destination.

window.localStorage

  • ✔ could pass data
  • ✔! data as object , need for serialization/marshalling
    provides key:value string pair. To use more complex objects needs serialization , usually JSON in sender/receiver code.
  • ✔ data size limit not set
  • ✔ sync/async nature of data transfer.
    asynchronous, event based cross-frame notification.
  • ✔ ability to broadcast data to multiple apps, cross-frame.
  • ✔ availability to pass data independent from app presence on host page
  • ✔ availability of data change notification API
  • ✔ security and scope limitation.
    Domain based.

document.cookie

  • ✔ could pass data
  • ✔! data as object , need for serialization/marshalling
    provides API to set key:value string pair. Getter requires parser, to use more complex objects needs serialization , usually JSON in sender/receiver code.
  • ❌ data size limit up to 4K. Due to high level use especially for authorization, it is not advised to store variable size data.
  • ✔ sync/async nature of data transfer.
    synchronous. Server and client side.
  • ❌ ability to broadcast data to multiple apps.
  • ✔ availability to pass data independent from app presence on host page
  • ❌ availability of data change notification API
  • ✔ security and scope limitation.
    Domain and sub-domain based insulation. Artificial Insulation layer for URL.

APIs support

EPA

embed-page is targeting to cover most of provided APIs and certainly the most popular among in-browser front-end frameworks. sessionStorage and localStorage implementation is ready; location.href is implemented without target attribute( app could not control another ), cookies are next on implementation.

friendup

Utilizes postMessage for cross- container communication. The data and events for application itself TBD.

CC: @thomaswollburg , @francois333 , @titlestad

FriendCore does not start anymore ?

Hi,
not sure how to describe the problem, but FriendCore does not start for me anymore after a clean checkout and build.

I included some of the startup log that I see when I run the FriendCore tool on the command line
directly

weiju@monokuma ~/Development/friendup/build $ ./FriendCore
(main.c:123) 140165223790464 FRIEND_HOME set to: /home/weiju/Development/friendup/build
(core/library.c:65) 140165223790464 Cannot open library with SysBase.library pointer! for properties.library
140165223790464: (main.c 130) Core started log
140165223790464: SystemBase Init
...
140165223790464: -----FC build: v1.0.0
140165223790464: -----FC id: 6045ffffffcbmonokuma-f185-25e1-30c4-cfb2-4cc30000000000000000000000000000000000000000000000000000000000000000000000000000000000
140165223790464: -----FC launched with options
140165223790464: -----Cache files: 1
140165223790464: -----HTTP SSL enabled: 1
140165223790464: -----WS SSL enabled: 1
140165223790464: -----Communication SSL enabled: 0
140165223790464: -----FCPort: 6502
140165223790464: -----WSPort: 6500
140165223790464: -----CommPort: 6503
140165223790464: -----CommRemotePort: 6504
140165223790464: -----SSH_SERVER_PORT 6505
140165223790464: -----SQL connections: 32
140165223790464: -----UserFileShareCache (per drive): 102400000
140165223790464: ------------------------------------------------------
(network/http_client.c:167) 140165223790464 ERROR reading response from socket (network/websocket.c:1807) 14
...
140165223790464: [SystemBase] Create DOSDrivers
140165223790464: [SystemBase] ----------------------------------------
(system/fsys/device_handling.c:147) 140165223790464 [RescanDOSDrivers] Scanning for DOSDrivers
iniparser: cannot open /home/weiju/Development/friendup/build/devices/DOSDrivers/INRam/dosdriver.ini
(system/fsys/dosdriver.c:122) 140165223790464 [ERROR]: Handler not found cannot create DOSDriver!

...

140165223790464: [SystemBase] ----------------------------------------
' invalide/file/magic.mgc, 1: Warning: offset ���� /usr/share/file/magic.mgc, 6: Warning: offset Firmware v' invalid
/usr/share/file/magic.mgc, 7: Warning: offset �' invalid /usr/share/file/magic.mgc, 8: Warning: offset �' invalid
/usr/share/file/magic.mgc, 13: Warning: offset �' invalid /usr/share/file/magic.mgc, 15: Warning: offset ::[ frontEndVersion = ' invalid
' invalide/file/magic.mgc, 20: Warning: offset /usr/share/file/magic.mgc, 22: Warning: offsetEast_Side_Invertationa' invalid
/usr/share/file/magic.mgc, 25: Warning: offset `The_Incinerator_Plant' invalid

Shell: info command doesn't work

How to reproduce?

  • open a shell
  • type info

Nothing happens. The console shows this error:

oo.js:31751 Uncaught TypeError: Cannot read property 'indexOf' of undefined
at window.Shell.execute (oo.js:31751)
at window.Shell.executeEvaluateInput (oo.js:31151)
at oo.js:30318

UX/UI - Menu bar

Maybe the top menu bar on the desktop (system, window, clock, etc.) needs an icon -- to remind users that it can be dragged. It could even slide the screen when clicked. This feature isn't obvious to non-Amigans!

Suggestions for installation script

Would like to see prompts for:

  1. Installation directory, instead of forced installation in cloned git-folder
  2. Automatic service start on system boot
  3. Selection of web-port for service

Enjoying the software so far, looking forward to the administration guide.

Cannot Build

Hello,

Not sure if this is the right place for this, but I can't seem to be able to build the Friendup system. Here is the compilation.log from the attempt.
compilation.log
Any thoughts or ideas?

USE_SELECT being developed?

I had to do a lot of manual patching to get it working with USE_SELECT. Is this still being developed or are you planning to drop support for it in favor of epoll?

The long term goal would actually be to add support for kqueue on *BSD, which is preferable to select.

"Edit wallpaper" doesn't work

When right-clicking & choosing edit wallpaper, I am getting an empty window. In the console I have this error:

VM2410:1 Uncaught SyntaxError: Unexpected token i in JSON at position 2
    at JSON.parse (<anonymous>)
    at Module.m.onExecuted (module?module=system&sessionid=fbe3436…&command=launch&app=Wallpape…:46)
    at receiveEvent (api.js:1157)

FriendCore segfaults when trying to access mounted server filesystem

Mounted the server filesystem as "Server:" and had it added to the desktop.
Remote directory: '/'
When opening the folder (or after restarting FriendCore reloading the folder contents) FriendCore dies with the below backtrace:

Thread 10 "FriendCore" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe99e4700 (LWP 17470)]
0x00007ffff59fdcc0 in _IO_vfprintf_internal (s=s@entry=0x7fffe99e0460, format=<optimized out>, format@entry=0x7fffa73c80d2 " \"Filename\":\"%s\",", ap=ap@entry=0x7fffe99e0588) at vfprintf.c:1632
1632    vfprintf.c: No such file or directory.
(gdb) bt
#0  0x00007ffff59fdcc0 in _IO_vfprintf_internal (s=s@entry=0x7fffe99e0460, format=<optimized out>, format@entry=0x7fffa73c80d2 " \"Filename\":\"%s\",", ap=ap@entry=0x7fffe99e0588) at vfprintf.c:1632
#1  0x00007ffff5a1f1cb in __IO_vsprintf (string=0x7fffe99e0690 " \"Filename\":\"", format=0x7fffa73c80d2 " \"Filename\":\"%s\",", args=args@entry=0x7fffe99e0588) at iovsprintf.c:42
#2  0x00007ffff5a049c7 in __sprintf (s=<optimized out>, format=<optimized out>) at sprintf.c:32
#3  0x00007fffa73c3f32 in FillStat (bs=0x7fff800026d0, nf=0x7fffe99e0b00, d=0x6fc3a0, path=0x7fff80005700 "/blubb.tar.bz2") at fsysdyn/fsysinram.c:609
#4  0x00007fffa6fa73f3 in Dir (s=0x6fc3a0, path=0x7fff800008c0 "") at fsysdyn/fsyslocal.c:1287
#5  0x0000000000451e8e in ?? ()
#6  0x0000000000000000 in ?? ()

Installation on Debian 9 fails

Excuse the crude output. Running install.sh inside screen -L was the quickest way to get output logged that otherwise would have been unreachable after the script terminated.

Relevant output follows:

debian distro found
VERSION_ID="9"
version 9

=====Installing dependencies...

^MReading package lists... 0%^MReading package lists... 100%^MReading package lists... Done
^MBuilding dependency tree... 0%^MBuilding dependency tree... 0%^MBuilding dependency tree... 50%^MBuilding dependency tree... 50%^MBuilding dependency tree
^MReading state information... 0%^MReading state information... 0%^MReading state information... Done
Package libmysqlclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev' has no installation candidate
Skipping database if it exists
./install.sh: line 202: mysqlshow: command not found
create database
./install.sh: line 210: mysql: command not found
create db user friend
./install.sh: line 214: mysql: command not found
./install.sh: line 216: mysql: command not found
./install.sh: line 218: mysql: command not found
create tables
./install.sh: line 222: mysql: command not found

=====Compilation process in progress...

./install.sh: line 239: cd: friendup: No such file or directory
./install.sh: line 241: make: command not found
./install.sh: line 244: make: command not found
=====Generating cfg.ini file...

./install.sh: line 261: build/cfg/cfg.ini: No such file or directory
./install.sh: line 262: build/cfg/cfg.ini: No such file or directory

Workaround:
apt install libmariadbclient-dev mariadb-client-10.1
This seems to at least make that part of the script work, although at least once I got:

create db user friend
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'friend'@'localhost'

The fact that it tries something with a user@'localhost' might indicate further problems, as the database server was specified by IP and is not on localhost.

Suggestion:
Terminate script on fatal errors, such as failure to install required packages, failure to set up the database, etc.

(there are still follow up errors, but I'll file separate issues for those once I understand what's happening and if they are related)

Raspberry Pi3 Jessie directory renaming does not work

  (system/systembase.c:2366) Filesystem RENAME
  (fsys/fsysphp.c:896) [fsysphp] Rename Code examples/ to Night%20run
  (fsys/fsysphp.c:137) [PHPFsys] run app: 'php "modules/system/module.php" "module=files&command=dosaction&action=rename&sessionid=559065c9a0379de03b62a09c931f8887e42e9ad4&path=Home:Code examples/&newname=Night%20run";'
*** Error in `./FriendCore': double free or corruption (out): 0x6fd04820 ***
 Aborted

I believe that the crash occurred when I tried to drag some music file from "Home" to "Code examples"

But the system is easy to set up and seems to work quite well.

After re-starting the directory was correctly named as "Night run" and the drag worked perfectly from Home to "Night run".

It is the rename function that crashes.

  (fsys/fsysphp.c:896) [fsysphp] Rename Night run/ExampleWindow.jsx to NightRun.jsx
  (fsys/fsysphp.c:137) [PHPFsys] run app: 'php "modules/system/module.php" "module=files&command=dosaction&action=rename&sessionid=e68f88c5a6381f0e562203a49f004ab27e99a0a8&path=Home:Night run/ExampleWindow.jsx&newname=NightRun.jsx";'
*** Error in `./FriendCore': double free or corruption (!prev): 0x008511f8 ***
 Aborted

friendup install.sh: use existing MySQL DB on remote host

Hi!

After checking out friendup some minutes ago and executing ./install.sh the installer asks me to confirm the installation of local mysql DB on localhost.

It would be better to first ask the user if he wants to use a database on remote server or if he wants to install a database locally on that host.

Second, you cannot not confirm the request, as it will bring you back to the exact same dialog requester.

Selecting Finnish language not possible

Hi,
I compiled from master branch newest commit 8f28077 today.

When I have Finnish language in Chrome as default, and no other languages in Chrome language list:

  1. FriendUP starts with Norwegian language
  2. There is no option to change to Finnish language. I don't know is #57 integrated yet.

language

make clean setup release install is not rebuilding FriendCore

Hi,
I am experimenting with friendup and I had installed v1.0 at Jan 7. Today I had updated it to 1.1 and install.sh proposed to run "make clean setup release install" instead, which I had done.
But looks like FriendCore haven't been changed:

odroid@odroid64:~/friendup$ stat /opt/friendup/FriendCore 
  File: '/opt/friendup/FriendCore'
  Size: 4926928   	Blocks: 9624       IO Block: 4096   regular file
Device: b302h/45826d	Inode: 553090      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2018-01-07 11:28:33.898449857 -0500
Modify: **2018-01-07** 11:28:33.918450484 -0500
Change: 2018-01-07 11:28:33.918450484 -0500
 Birth: -

In order to walkaround, I had to do clean install

Passwords are insecure

You shouldn't hash passwords with SHA-256, and if you insist on hashing with SHA-256 with a salt you shouldn't publish the salt. The salt should be random per installation and treated as sensitive data like an encryption key.

Best practice is to use bcrypt (best) or PBKDF2 (a close second) to make generation of rainbow tables impractical. Here's a pretty good primer on password management.

UX/UI - Cursor

Could we have a choice of left-handed cursor (or ambidextrous cursor pointing straight up) for 10% of users who are lefties? This usually gets overlooked by mainstream OSes! I love that the Amiga always let me create my own, so easily!

As Friend replaces the user's regular cursor, which may be customised for usability reasons, this seems like a sensible option. Size, shape and contrast of cursor are very important to some users, especially those with visual impairment.

Default credentials are not accepted

I just installed friendup for the first time, and it won't let me log in. It says the credentials are invalid. Have they changed in the meantime?

Followup 1:
I investigated this and looked at the database. The install script only created FGlobalVariables table, no more.

Followup 2:
I manually inserted FriendCoreDatabase.sql into the newly created database but still no luck.

Followup 3:
I now started a separate MySQL server from a sameersbn/mysql Docker container, linked this to my friendup container and this does not work either.

UX: problems dragging screen down when in fullscreen

How to reproduce?

  • switch the browser to fullscreen mode (f11 in Chrome/Windows)
  • move the mouse to the top of the screen
  • press left mouse and try to move the screen down

What happens?
Nothing happens.

What should happen?
Screen should be dragged down.

Note: moving the mouse a single pixel below the top of the screen before trying to drag the screen seems to be enough to make it work.

Debian 9: libssh-dev dependency problem

When proceeding with manual installation of documented dependencies on Debian 9, I get this error:

The following packages have unmet dependencies:
libssh-dev : Depends: libssl1.0-dev but it is not going to be installed

apt-cache policy libssh-dev

libssh-dev:
Installed: (none)
Candidate: 0.7.3-2
Version table:
0.7.3-2 500
500 http://ftp.de.debian.org/debian stretch/main amd64 Packages

apt-cache policy libssl1.0-dev

libssl1.0-dev:
Installed: (none)
Candidate: 1.0.2l-2
Version table:
1.0.2l-2 500
500 http://ftp.de.debian.org/debian stretch/main amd64 Packages

apt-get install libssl1.0-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libev-dev libev4 libssl-doc libuv1-dev libwebsockets8
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
libssl-dev libwebsockets-dev
The following NEW packages will be installed:
libssl1.0-dev
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 1,559 kB of archives.
After this operation, 115 kB disk space will be freed.
Do you want to continue? [Y/n]

So, there seems to be a dependency issue on Debian 9, as libwebsockets-dev is another dependency.

UX/UI - Marketplace

Viewing the market in landscape, on a non-1080p laptop seems VERY cramped! (I do have my browser at 120% with large fonts, because I have visual impairment. At 100% it's better but still cramped.)

The banner leaves little room for the actual apps. Suggest less banner space at the top and more room to scroll through apps. Or perhaps let the banner scroll up, just keeping the functional tabs on-screen.

Maximizing and restoring a window will gradually change its size

Every time a window is maximized and then restored to its normal dimensions, both the location and the size of the window will change slightly.

An easy way to reproduce is by opening any window (I did that with Home:) and aligning it with a reference point somewhere in the screen (I have my dock bar at the bottom, for example).
The first time you maximize and restore it, the position of the window will change slightly (initially the window is aligned to the top of the dock bar, after the first round of clicks it will be 1/3rd inside the dock bar).
Every other time you keep on repeating the same operation the window will not change position but will change width and height. It will keep growing until it occupies the full dimensions of the desktop.

(Edit: tested it and both height and width are affected)

Adding SFTP drive does not work

When adding SFTP drive Friend reports "Device added successfully" but the drive is only shown in the "unmounted" drives list.

The behaviour is the same on my local Friend setup and on friendsky.cloud

Friend Core has failed to find your file.

Since it's my first post: hello there and thanks for the repo.

After launching ./FriendCore and visiting my site I get an error:
404 - File not found!
Friend Core has failed to find your file.
Go back.

I installed Friendup on a fresh installation of Raspbian-lite. My config is

[DatabaseUser]

login = root;
password = secret;
host = 127.0.0.1;
dbname = db_friend;
port = 3306;

[FriendCore]

fchost = 127.0.0.1;
fcport = 8080;
fcupload = storage/

[Core]

port = 8080;
SSLEnable = 0;

I have bunch of tables in mysql, so something is working :) . It seems that I'm only missing a file.

Status of browser support.

On the login page it is written:
"Please use Google Chrome or Samsung Internet. Experimental support for Firefox and MS Edge."

But what does experimental support mean?

Does it really only work with official Google Chrome? Which Version?

Does it also work in Chromium?

In Firefox 56.0a1 (2017-06-30), Firefox 53.0.3 (64-Bit) and Firefox 54.0.1 (64-Bit) I do only get a black page after login.

In Chromium Version 61.0.3148.0 (Entwickler-Build) (64-Bit) and Safari Version 11.0 (13604.1.25.3.3) I do get some text, looks like a stylesheet is not applied correctly.
After resize (CMD -), I do get a background picture and square on the right center and one on the left bottom.

Friend Create v1.0.0 Project properties bug

  • Open Friend Create v1.0.0
  • Click on Project Properties
  • Double click on "Module system" or "Module files"
  • The double clicked item disappears and nothing else seems to happen.

project properties

No notification when Shell commands fail

When a shell command fails the shell does not output a failure message, but instead the little spinner icon remains on the current line until you click the shell window with the mouse which drops you down on to a new line.

screen shot 2017-07-07 at 09 55 53

I feel it would be helpful to have a command failure output with some limited information so that the user is informed and can continue to use the shell.

Friend Create v1.0.0 infinite add privileges window bug

  • Open Friend Create v1.0.0
  • Click on Project Properties
  • Click on Add Privileges
  • Click on Project Properties Window to bring it to focus, and close the window
  • The Add permission windows remains active and now you can't close it
  • Bonus: You can generate an unlimited number of permission windows in this way :-)

infinite add permission bug

Suggestion: ChromiumOS or FlintOS support

I just thought about running Friend as a main OS on low-end devices like the Raspberry Pi or the old netbooks which are still around, collecting dust somewhere in the depths of the old "piles o'junk" every tech lover has at home. I thought about something like ChromiumOS that boots directly into a full-screen Kiosk-mode browser and opens Friend UP. That would be really awesome.

Window positions are not remembered

The window positions that you have set during your session are lost on reload.
I think this should only be remembered on your current browser as each of your devices probably has a different resolution.

Suggestion: LDAP authentication

I just got FriendUP to work with Docker, here is the page for the container on Github and here is the page in the Docker hub.

With this, it is possible to run it on NAS devices like the Synology series with minimal effort as they have Docker well integrated.

Currently, user accounts are local to FriendUP but for using on NAS devices, it would be great if one could integrate it into the user accounts that need to be created anyway. At least Synology supports OpenLDAP so I'd consider LDAP authentication a feasible way to accomplish this (and to get integration into other infrastructures like MS ActiveDirectory nearly for free).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.