Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.55k stars 216 forks source link

Could not compile this on colab #2337

Closed maxiy01 closed 3 years ago

maxiy01 commented 3 years ago

Bug description

When I'm trying to compile it on colab, build fails with error "E: Unable to correct problems, you have held broken packages.", even though there are no broken packages present.

Steps to reproduce

apt update
apt-get install "qtbase5-dev" "qtscript5-dev" "qtmultimedia5-dev" "qtdeclarative5-dev" "qttools5-dev" "qttools5-dev-tools"
mkdir -p /content/
cd /content/
git clone --branch develop https://github.com/Bionus/imgbrd-grabber.git
cd imgbrd-grabber/
./build.sh

Expected behavior

Build finishes successfully

Actual behavior

build fails with error "E: Unable to correct problems, you have held broken packages.". build.sh output:

Submodule 'cmake/cotire' (https://github.com/sakra/cotire.git) registered for path 'src/cmake/cotire'
Submodule 'cmake/qt-android-cmake' (https://github.com/LaurentGomila/qt-android-cmake.git) registered for path 'src/cmake/qt-android-cmake'
Submodule 'tests/src/vendor/catch' (https://github.com/catchorg/Catch2.git) registered for path 'src/tests/src/vendor/catch'
Cloning into '/content/imgbrd-grabber/src/cmake/cotire'...
Cloning into '/content/imgbrd-grabber/src/cmake/qt-android-cmake'...
Cloning into '/content/imgbrd-grabber/src/tests/src/vendor/catch'...
Submodule path 'src/cmake/cotire': checked out '391bf6b7609e14f5976bd5247b68d63cbf8d4d12'
Submodule path 'src/cmake/qt-android-cmake': checked out '5a62962dbe35e955374688461784ddb7f757a377'
Submodule path 'src/tests/src/vendor/catch': checked out 'f0dc4d9be078d21ccabcb0798f03c332a153f84f'
E: Unable to correct problems, you have held broken packages.

System information

maxiy01 commented 3 years ago

Here's what I'm done so far: I tried to fo find a reason by using bash verbose mode: sh -x build.sh It gave me this output:

build.sh output ``` + [[ == root ]] build.sh: 3: build.sh: [[: not found + type sudo + permission=sudo + git submodule update --init --recursive Submodule 'cmake/cotire' (https://github.com/sakra/cotire.git) registered for path 'src/cmake/cotire' Submodule 'cmake/qt-android-cmake' (https://github.com/LaurentGomila/qt-android-cmake.git) registered for path 'src/cmake/qt-android-cmake' Submodule 'tests/src/vendor/catch' (https://github.com/catchorg/Catch2.git) registered for path 'src/tests/src/vendor/catch' Cloning into '/content/imgbrd-grabber/src/cmake/cotire'... Cloning into '/content/imgbrd-grabber/src/cmake/qt-android-cmake'... Cloning into '/content/imgbrd-grabber/src/tests/src/vendor/catch'... Submodule path 'src/cmake/cotire': checked out '391bf6b7609e14f5976bd5247b68d63cbf8d4d12' Submodule path 'src/cmake/qt-android-cmake': checked out '5a62962dbe35e955374688461784ddb7f757a377' Submodule path 'src/tests/src/vendor/catch': checked out 'f0dc4d9be078d21ccabcb0798f03c332a153f84f' + declare -i no_pm=1 installed=0 build.sh: 16: build.sh: declare: not found + type pacman + type apt-get + no_pm=0 + sudo apt-get install -qq qtbase5-dev qtscript5-dev qtmultimedia5-dev qtdeclarative5-dev qttools5-dev qttools5-dev-tools debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 68.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Selecting previously unselected package libdaemon0:amd64. (Reading database ... 160983 files and directories currently installed.) Preparing to unpack .../00-libdaemon0_0.14-6_amd64.deb ... Unpacking libdaemon0:amd64 (0.14-6) ... Selecting previously unselected package libqt5script5:amd64. Preparing to unpack .../01-libqt5script5_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking libqt5script5:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libqt5scripttools5:amd64. Preparing to unpack .../02-libqt5scripttools5_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking libqt5scripttools5:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../03-libcap2-bin_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2-bin (1:2.25-1.2) ... Selecting previously unselected package libgstreamer1.0-0:amd64. Preparing to unpack .../04-libgstreamer1.0-0_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package liborc-0.4-0:amd64. Preparing to unpack .../05-liborc-0.4-0_1%3a0.4.28-1_amd64.deb ... Unpacking liborc-0.4-0:amd64 (1:0.4.28-1) ... Selecting previously unselected package libgstreamer-plugins-base1.0-0:amd64. Preparing to unpack .../06-libgstreamer-plugins-base1.0-0_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package libhyphen0:amd64. Preparing to unpack .../07-libhyphen0_2.8.8-5_amd64.deb ... Unpacking libhyphen0:amd64 (2.8.8-5) ... Selecting previously unselected package libqt5positioning5:amd64. Preparing to unpack .../08-libqt5positioning5_5.9.5+dfsg-0ubuntu2_amd64.deb ... Unpacking libqt5positioning5:amd64 (5.9.5+dfsg-0ubuntu2) ... Selecting previously unselected package libqt5qml5:amd64. Preparing to unpack .../09-libqt5qml5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5qml5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quick5:amd64. Preparing to unpack .../10-libqt5quick5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quick5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5sensors5:amd64. Preparing to unpack .../11-libqt5sensors5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5sensors5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5webchannel5:amd64. Preparing to unpack .../12-libqt5webchannel5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5webchannel5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../13-libbrotli1_1.0.3-1ubuntu1.3_amd64.deb ... Unpacking libbrotli1:amd64 (1.0.3-1ubuntu1.3) ... Selecting previously unselected package libwoff1:amd64. Preparing to unpack .../14-libwoff1_1.0.2-1build0.1_amd64.deb ... Unpacking libwoff1:amd64 (1.0.2-1build0.1) ... Selecting previously unselected package libqt5webkit5:amd64. Preparing to unpack .../15-libqt5webkit5_5.212.0~alpha2-7ubuntu1_amd64.deb ... Unpacking libqt5webkit5:amd64 (5.212.0~alpha2-7ubuntu1) ... Selecting previously unselected package qtscript5-dev:amd64. Preparing to unpack .../16-qtscript5-dev_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking qtscript5-dev:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libpam-cap:amd64. Preparing to unpack .../17-libpam-cap_1%3a2.25-1.2_amd64.deb ... Unpacking libpam-cap:amd64 (1:2.25-1.2) ... Selecting previously unselected package libisc169:amd64. Preparing to unpack .../18-libisc169_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libgeoip1:amd64. Preparing to unpack .../19-libgeoip1_1.6.12-1_amd64.deb ... Unpacking libgeoip1:amd64 (1.6.12-1) ... Selecting previously unselected package libdns1100:amd64. Preparing to unpack .../20-libdns1100_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libisccc160:amd64. Preparing to unpack .../21-libisccc160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libisccfg160:amd64. Preparing to unpack .../22-libisccfg160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libbind9-160:amd64. Preparing to unpack .../23-libbind9-160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package liblwres160:amd64. Preparing to unpack .../24-liblwres160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package bind9-host. Preparing to unpack .../25-bind9-host_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking bind9-host (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package geoip-database. Preparing to unpack .../26-geoip-database_20180315-1_all.deb ... Unpacking geoip-database (20180315-1) ... Selecting previously unselected package libavahi-core7:amd64. Preparing to unpack .../27-libavahi-core7_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ... Selecting previously unselected package avahi-daemon. Preparing to unpack .../28-avahi-daemon_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking avahi-daemon (0.7-3.1ubuntu1.2) ... Selecting previously unselected package libavahi-glib1:amd64. Preparing to unpack .../29-libavahi-glib1_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking libavahi-glib1:amd64 (0.7-3.1ubuntu1.2) ... Selecting previously unselected package libgeoclue-2-0:amd64. Preparing to unpack .../30-libgeoclue-2-0_2.4.7-1ubuntu1_amd64.deb ... Unpacking libgeoclue-2-0:amd64 (2.4.7-1ubuntu1) ... Selecting previously unselected package libmm-glib0:amd64. Preparing to unpack .../31-libmm-glib0_1.10.0-1~ubuntu18.04.2_amd64.deb ... Unpacking libmm-glib0:amd64 (1.10.0-1~ubuntu18.04.2) ... Selecting previously unselected package geoclue-2.0. Preparing to unpack .../32-geoclue-2.0_2.4.7-1ubuntu1_amd64.deb ... Unpacking geoclue-2.0 (2.4.7-1ubuntu1) ... Selecting previously unselected package libcdparanoia0:amd64. Preparing to unpack .../33-libcdparanoia0_3.10.2+debian-13_amd64.deb ... Unpacking libcdparanoia0:amd64 (3.10.2+debian-13) ... Selecting previously unselected package libvisual-0.4-0:amd64. Preparing to unpack .../34-libvisual-0.4-0_0.4.0-11_amd64.deb ... Unpacking libvisual-0.4-0:amd64 (0.4.0-11) ... Selecting previously unselected package gstreamer1.0-plugins-base:amd64. Preparing to unpack .../35-gstreamer1.0-plugins-base_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package iio-sensor-proxy. Preparing to unpack .../36-iio-sensor-proxy_2.4-2_amd64.deb ... Unpacking iio-sensor-proxy (2.4-2) ... Selecting previously unselected package libgl1-mesa-glx:amd64. Preparing to unpack .../37-libgl1-mesa-glx_20.0.8-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ... Selecting previously unselected package libmbim-glib4:amd64. Preparing to unpack .../38-libmbim-glib4_1.18.0-1~ubuntu18.04.1_amd64.deb ... Unpacking libmbim-glib4:amd64 (1.18.0-1~ubuntu18.04.1) ... Selecting previously unselected package libmbim-proxy. Preparing to unpack .../39-libmbim-proxy_1.18.0-1~ubuntu18.04.1_amd64.deb ... Unpacking libmbim-proxy (1.18.0-1~ubuntu18.04.1) ... Selecting previously unselected package libnl-genl-3-200:amd64. Preparing to unpack .../40-libnl-genl-3-200_3.2.29-0ubuntu3_amd64.deb ... Unpacking libnl-genl-3-200:amd64 (3.2.29-0ubuntu3) ... Selecting previously unselected package libnss-mdns:amd64. Preparing to unpack .../41-libnss-mdns_0.10-8ubuntu1_amd64.deb ... Unpacking libnss-mdns:amd64 (0.10-8ubuntu1) ... Selecting previously unselected package libpulse-mainloop-glib0:amd64. Preparing to unpack .../42-libpulse-mainloop-glib0_1%3a11.1-1ubuntu7.11_amd64.deb ... Unpacking libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ... Selecting previously unselected package libpulse-dev:amd64. Preparing to unpack .../43-libpulse-dev_1%3a11.1-1ubuntu7.11_amd64.deb ... Unpacking libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ... Selecting previously unselected package libqt5multimedia5:amd64. Preparing to unpack .../44-libqt5multimedia5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimedia5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5opengl5:amd64. Preparing to unpack .../45-libqt5opengl5_5.9.5+dfsg-0ubuntu2.5_amd64.deb ... Unpacking libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Selecting previously unselected package libqt5multimediawidgets5:amd64. Preparing to unpack .../46-libqt5multimediawidgets5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimediawidgets5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqgsttools-p1:amd64. Preparing to unpack .../47-libqgsttools-p1_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqgsttools-p1:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqmi-glib5:amd64. Preparing to unpack .../48-libqmi-glib5_1.22.0-1.2~ubuntu18.04.1_amd64.deb ... Unpacking libqmi-glib5:amd64 (1.22.0-1.2~ubuntu18.04.1) ... Selecting previously unselected package libqmi-proxy. Preparing to unpack .../49-libqmi-proxy_1.22.0-1.2~ubuntu18.04.1_amd64.deb ... Unpacking libqmi-proxy (1.22.0-1.2~ubuntu18.04.1) ... Selecting previously unselected package libqt5designer5:amd64. Preparing to unpack .../50-libqt5designer5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5designer5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5designercomponents5:amd64. Preparing to unpack .../51-libqt5designercomponents5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5designercomponents5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5help5:amd64. Preparing to unpack .../52-libqt5help5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5help5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5multimediaquick-p5:amd64. Preparing to unpack .../53-libqt5multimediaquick-p5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimediaquick-p5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5quickparticles5:amd64. Preparing to unpack .../54-libqt5quickparticles5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quickparticles5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quicktest5:amd64. Preparing to unpack .../55-libqt5quicktest5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quicktest5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quickwidgets5:amd64. Preparing to unpack .../56-libqt5quickwidgets5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quickwidgets5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5sql5-sqlite:amd64. Preparing to unpack .../57-libqt5sql5-sqlite_5.9.5+dfsg-0ubuntu2.5_amd64.deb ... Unpacking libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Selecting previously unselected package modemmanager. Preparing to unpack .../58-modemmanager_1.10.0-1~ubuntu18.04.2_amd64.deb ... Unpacking modemmanager (1.10.0-1~ubuntu18.04.2) ... Selecting previously unselected package qt5-assistant. Preparing to unpack .../59-qt5-assistant_5.9.5-0ubuntu1_amd64.deb ... Unpacking qt5-assistant (5.9.5-0ubuntu1) ... Selecting previously unselected package qt5-qmltooling-plugins:amd64. Preparing to unpack .../60-qt5-qmltooling-plugins_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking qt5-qmltooling-plugins:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package qtdeclarative5-dev:amd64. Preparing to unpack .../61-qtdeclarative5-dev_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking qtdeclarative5-dev:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package qtmultimedia5-dev:amd64. Preparing to unpack .../62-qtmultimedia5-dev_5.9.5-0ubuntu1_amd64.deb ... Unpacking qtmultimedia5-dev:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package qttools5-dev-tools. Preparing to unpack .../63-qttools5-dev-tools_5.9.5-0ubuntu1_amd64.deb ... Unpacking qttools5-dev-tools (5.9.5-0ubuntu1) ... Selecting previously unselected package qttools5-dev:amd64. Preparing to unpack .../64-qttools5-dev_5.9.5-0ubuntu1_amd64.deb ... Unpacking qttools5-dev:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package wpasupplicant. Preparing to unpack .../65-wpasupplicant_2%3a2.6-15ubuntu2.8_amd64.deb ... Unpacking wpasupplicant (2:2.6-15ubuntu2.8) ... Selecting previously unselected package usb-modeswitch-data. Preparing to unpack .../66-usb-modeswitch-data_20170806-2_all.deb ... Unpacking usb-modeswitch-data (20170806-2) ... Selecting previously unselected package usb-modeswitch. Preparing to unpack .../67-usb-modeswitch_2.5.2+repack0-2ubuntu1_amd64.deb ... Unpacking usb-modeswitch (2.5.2+repack0-2ubuntu1) ... Setting up libqt5qml5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libbrotli1:amd64 (1.0.3-1ubuntu1.3) ... Setting up libqt5quick5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libqt5script5:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libqt5sensors5:amd64 (5.9.5-0ubuntu1) ... Setting up libdaemon0:amd64 (0.14-6) ... Setting up libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libqt5quickwidgets5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libmbim-glib4:amd64 (1.18.0-1~ubuntu18.04.1) ... Setting up libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ... Setting up libpam-cap:amd64 (1:2.25-1.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ... Setting up iio-sensor-proxy (2.4-2) ... Setting up libwoff1:amd64 (1.0.2-1build0.1) ... Setting up geoip-database (20180315-1) ... Setting up libcap2-bin (1:2.25-1.2) ... Setting up libnl-genl-3-200:amd64 (3.2.29-0ubuntu3) ... Setting up libgeoip1:amd64 (1.6.12-1) ... Setting up libcdparanoia0:amd64 (3.10.2+debian-13) ... Setting up libqt5help5:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Setting up libmbim-proxy (1.18.0-1~ubuntu18.04.1) ... Setting up libqt5multimedia5:amd64 (5.9.5-0ubuntu1) ... Setting up usb-modeswitch-data (20170806-2) ... Setting up libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Setting up libqt5quickparticles5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libhyphen0:amd64 (2.8.8-5) ... Setting up usb-modeswitch (2.5.2+repack0-2ubuntu1) ... Setting up libqt5quicktest5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libqt5scripttools5:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up libmm-glib0:amd64 (1.10.0-1~ubuntu18.04.2) ... Setting up libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ... Setting up libqt5positioning5:amd64 (5.9.5+dfsg-0ubuntu2) ... Setting up libqt5multimediaquick-p5:amd64 (5.9.5-0ubuntu1) ... Setting up libvisual-0.4-0:amd64 (0.4.0-11) ... Setting up qtscript5-dev:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up liborc-0.4-0:amd64 (1:0.4.28-1) ... Setting up libavahi-glib1:amd64 (0.7-3.1ubuntu1.2) ... Setting up libqt5webchannel5:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5designer5:amd64 (5.9.5-0ubuntu1) ... Setting up libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up qt5-qmltooling-plugins:amd64 (5.9.5-0ubuntu1.1) ... Setting up libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ... Setting up libqt5multimediawidgets5:amd64 (5.9.5-0ubuntu1) ... Setting up libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setcap worked! gst-ptp-helper is not suid! Setting up libqt5designercomponents5:amd64 (5.9.5-0ubuntu1) ... Setting up wpasupplicant (2:2.6-15ubuntu2.8) ... Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service → /lib/systemd/system/wpa_supplicant.service. Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service → /lib/systemd/system/wpa_supplicant.service. Setting up libqmi-glib5:amd64 (1.22.0-1.2~ubuntu18.04.1) ... Setting up libqmi-proxy (1.22.0-1.2~ubuntu18.04.1) ... Setting up qtdeclarative5-dev:amd64 (5.9.5-0ubuntu1.1) ... Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setting up gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setting up libqgsttools-p1:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5webkit5:amd64 (5.212.0~alpha2-7ubuntu1) ... Setting up modemmanager (1.10.0-1~ubuntu18.04.2) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service → /lib/systemd/system/ModemManager.service. Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service → /lib/systemd/system/ModemManager.service. Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up qtmultimedia5-dev:amd64 (5.9.5-0ubuntu1) ... Setting up qt5-assistant (5.9.5-0ubuntu1) ... Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up avahi-daemon (0.7-3.1ubuntu1.2) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of force-reload. Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service → /lib/systemd/system/avahi-daemon.service. Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service → /lib/systemd/system/avahi-daemon.service. Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket → /lib/systemd/system/avahi-daemon.socket. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up qttools5-dev-tools (5.9.5-0ubuntu1) ... Setting up libnss-mdns:amd64 (0.10-8ubuntu1) ... First installation detected... Checking NSS setup... Setting up qttools5-dev:amd64 (5.9.5-0ubuntu1) ... Setting up libgeoclue-2-0:amd64 (2.4.7-1ubuntu1) ... Setting up geoclue-2.0 (2.4.7-1ubuntu1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... /sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link Processing triggers for systemd (237-3ubuntu10.45) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for dbus (1.12.2-1ubuntu1.2) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for mime-support (3.60ubuntu1) ... + sudo apt-get install -qq g++ cmake libssl-dev nodejs npm E: Unable to correct problems, you have held broken packages. + installed build.sh: 37: build.sh: installed: not found + type emerge + no_pm build.sh: 40: build.sh: no_pm: not found + !installed build.sh: 44: build.sh: !installed: not found + 0 build.sh: 47: build.sh: 0: not found + ./scripts/build.sh gui translations /content/imgbrd-grabber/build /content/imgbrd-grabber -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring for version '7.5.1' -- Configuring for platform 'x86' (x86_64) -- Compiling with SSL support -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1") -- OpenSSL version: 1.1.1 -- OpenSSL include dir: /usr/include -- OpenSSL libraries: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Configuring done -- Generating done -- Build files have been written to: /content/imgbrd-grabber/build Scanning dependencies of target sites_modules Scanning dependencies of target lib_autogen [ 1%] Installing npm packages... [ 1%] Automatic MOC and UIC for target lib npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! [ 1%] Built target lib_autogen Scanning dependencies of target lib [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/analytics.cpp.o [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-const-field.cpp.o [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-field.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-hash-field.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/field-auth.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/http-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/http-basic-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/oauth2-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/url-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/cli.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/cli-command.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/download-images-cli-command.cpp.o /content/imgbrd-grabber/src/lib/src/cli/cli.cpp: In function ‘int parseAndRunCliArgs(QCoreApplication*, Profile*, bool, QMap&, QStringList&)’: /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:160:83: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ auto sites = profile->getFilteredSites(parser.value(sourceOption).split(" ", Qt::SkipEmptyParts)); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:162:21: error: unable to deduce ‘auto&&’ from ‘sites’ for (auto& site : sites) { ^~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:183:68: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList tags = parser.value(tagsOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:184:86: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList postFiltering = parser.value(postFilteringOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:190:68: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList tags = parser.value(tagsOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:191:86: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList postFiltering = parser.value(postFilteringOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:205:68: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList tags = parser.value(tagsOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:206:86: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList postFiltering = parser.value(postFilteringOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:219:68: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList tags = parser.value(tagsOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ /content/imgbrd-grabber/src/lib/src/cli/cli.cpp:220:86: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ const QStringList postFiltering = parser.value(postFilteringOption).split(" ", Qt::SkipEmptyParts); ^~~~~~~~~~~~~~ lib/CMakeFiles/lib.dir/build.make:192: recipe for target 'lib/CMakeFiles/lib.dir/src/cli/cli.cpp.o' failed make[3]: *** [lib/CMakeFiles/lib.dir/src/cli/cli.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:124: recipe for target 'lib/CMakeFiles/lib.dir/all' failed make[2]: *** [lib/CMakeFiles/lib.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.2.1 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.2.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) added 535 packages from 436 contributors and audited 536 packages in 24.055s 24 packages are looking for funding run `npm fund` for details found 18 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details [ 6%] Built target sites_modules CMakeFiles/Makefile2:226: recipe for target 'gui/CMakeFiles/gui.dir/rule' failed make[1]: *** [gui/CMakeFiles/gui.dir/rule] Error 2 Makefile:214: recipe for target 'gui' failed make: *** [gui] Error 2 /content/imgbrd-grabber + exit 21 ```

I see there 3 errors:

  1. build.sh: 3: build.sh: [[: not found, build.sh: 16: build.sh: declare: not found and so on. These can be fixed by running /usr/bin/env bash -x build.sh or just/bin/bash -x build.shinstead ofsh -x build.sh`
  2. E: Unable to correct problems, you have held broken packages.. I found that this is problem with installing npm. I fixed this by changing this line in build.sh:
    $permission apt-get install -qq "g++" "cmake" "libssl-dev" "nodejs" "npm" && installed=1

    into these:

    curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - || continue
    $permission apt-get install -y nodejs || continue
    $permission npm install -g npm@latest && installed=1
  3. ...error: ‘SkipEmptyParts’ is not a member of ‘Qt’. For this i found soultion here: Change all Qt::SkipEmptyParts to QString::SplitBehavior::SkipEmptyParts. I've done this, and now my output looks like this:

    build.sh output v2 ``` + [[ '' == \r\o\o\t ]] + type sudo + permission='sudo ' + git submodule update --init --recursive Submodule 'cmake/cotire' (https://github.com/sakra/cotire.git) registered for path 'src/cmake/cotire' Submodule 'cmake/qt-android-cmake' (https://github.com/LaurentGomila/qt-android-cmake.git) registered for path 'src/cmake/qt-android-cmake' Submodule 'tests/src/vendor/catch' (https://github.com/catchorg/Catch2.git) registered for path 'src/tests/src/vendor/catch' Cloning into '/content/imgbrd-grabber/src/cmake/cotire'... Cloning into '/content/imgbrd-grabber/src/cmake/qt-android-cmake'... Cloning into '/content/imgbrd-grabber/src/tests/src/vendor/catch'... Submodule path 'src/cmake/cotire': checked out '391bf6b7609e14f5976bd5247b68d63cbf8d4d12' Submodule path 'src/cmake/qt-android-cmake': checked out '5a62962dbe35e955374688461784ddb7f757a377' Submodule path 'src/tests/src/vendor/catch': checked out 'f0dc4d9be078d21ccabcb0798f03c332a153f84f' + declare -i no_pm=1 installed=0 + for pm in pacman apt-get emerge + type pacman + for pm in pacman apt-get emerge + type apt-get + no_pm=0 + case "$pm" in + sudo apt-get install -qq qtbase5-dev qtscript5-dev qtmultimedia5-dev qtdeclarative5-dev qttools5-dev qttools5-dev-tools debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 68.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Selecting previously unselected package libdaemon0:amd64. (Reading database ... 160983 files and directories currently installed.) Preparing to unpack .../00-libdaemon0_0.14-6_amd64.deb ... Unpacking libdaemon0:amd64 (0.14-6) ... Selecting previously unselected package libqt5script5:amd64. Preparing to unpack .../01-libqt5script5_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking libqt5script5:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libqt5scripttools5:amd64. Preparing to unpack .../02-libqt5scripttools5_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking libqt5scripttools5:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libcap2-bin. Preparing to unpack .../03-libcap2-bin_1%3a2.25-1.2_amd64.deb ... Unpacking libcap2-bin (1:2.25-1.2) ... Selecting previously unselected package libgstreamer1.0-0:amd64. Preparing to unpack .../04-libgstreamer1.0-0_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package liborc-0.4-0:amd64. Preparing to unpack .../05-liborc-0.4-0_1%3a0.4.28-1_amd64.deb ... Unpacking liborc-0.4-0:amd64 (1:0.4.28-1) ... Selecting previously unselected package libgstreamer-plugins-base1.0-0:amd64. Preparing to unpack .../06-libgstreamer-plugins-base1.0-0_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package libhyphen0:amd64. Preparing to unpack .../07-libhyphen0_2.8.8-5_amd64.deb ... Unpacking libhyphen0:amd64 (2.8.8-5) ... Selecting previously unselected package libqt5positioning5:amd64. Preparing to unpack .../08-libqt5positioning5_5.9.5+dfsg-0ubuntu2_amd64.deb ... Unpacking libqt5positioning5:amd64 (5.9.5+dfsg-0ubuntu2) ... Selecting previously unselected package libqt5qml5:amd64. Preparing to unpack .../09-libqt5qml5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5qml5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quick5:amd64. Preparing to unpack .../10-libqt5quick5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quick5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5sensors5:amd64. Preparing to unpack .../11-libqt5sensors5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5sensors5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5webchannel5:amd64. Preparing to unpack .../12-libqt5webchannel5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5webchannel5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libbrotli1:amd64. Preparing to unpack .../13-libbrotli1_1.0.3-1ubuntu1.3_amd64.deb ... Unpacking libbrotli1:amd64 (1.0.3-1ubuntu1.3) ... Selecting previously unselected package libwoff1:amd64. Preparing to unpack .../14-libwoff1_1.0.2-1build0.1_amd64.deb ... Unpacking libwoff1:amd64 (1.0.2-1build0.1) ... Selecting previously unselected package libqt5webkit5:amd64. Preparing to unpack .../15-libqt5webkit5_5.212.0~alpha2-7ubuntu1_amd64.deb ... Unpacking libqt5webkit5:amd64 (5.212.0~alpha2-7ubuntu1) ... Selecting previously unselected package qtscript5-dev:amd64. Preparing to unpack .../16-qtscript5-dev_5.9.5+dfsg-0ubuntu1_amd64.deb ... Unpacking qtscript5-dev:amd64 (5.9.5+dfsg-0ubuntu1) ... Selecting previously unselected package libpam-cap:amd64. Preparing to unpack .../17-libpam-cap_1%3a2.25-1.2_amd64.deb ... Unpacking libpam-cap:amd64 (1:2.25-1.2) ... Selecting previously unselected package libisc169:amd64. Preparing to unpack .../18-libisc169_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libgeoip1:amd64. Preparing to unpack .../19-libgeoip1_1.6.12-1_amd64.deb ... Unpacking libgeoip1:amd64 (1.6.12-1) ... Selecting previously unselected package libdns1100:amd64. Preparing to unpack .../20-libdns1100_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libisccc160:amd64. Preparing to unpack .../21-libisccc160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libisccfg160:amd64. Preparing to unpack .../22-libisccfg160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package libbind9-160:amd64. Preparing to unpack .../23-libbind9-160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package liblwres160:amd64. Preparing to unpack .../24-liblwres160_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package bind9-host. Preparing to unpack .../25-bind9-host_1%3a9.11.3+dfsg-1ubuntu1.14_amd64.deb ... Unpacking bind9-host (1:9.11.3+dfsg-1ubuntu1.14) ... Selecting previously unselected package geoip-database. Preparing to unpack .../26-geoip-database_20180315-1_all.deb ... Unpacking geoip-database (20180315-1) ... Selecting previously unselected package libavahi-core7:amd64. Preparing to unpack .../27-libavahi-core7_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ... Selecting previously unselected package avahi-daemon. Preparing to unpack .../28-avahi-daemon_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking avahi-daemon (0.7-3.1ubuntu1.2) ... Selecting previously unselected package libavahi-glib1:amd64. Preparing to unpack .../29-libavahi-glib1_0.7-3.1ubuntu1.2_amd64.deb ... Unpacking libavahi-glib1:amd64 (0.7-3.1ubuntu1.2) ... Selecting previously unselected package libgeoclue-2-0:amd64. Preparing to unpack .../30-libgeoclue-2-0_2.4.7-1ubuntu1_amd64.deb ... Unpacking libgeoclue-2-0:amd64 (2.4.7-1ubuntu1) ... Selecting previously unselected package libmm-glib0:amd64. Preparing to unpack .../31-libmm-glib0_1.10.0-1~ubuntu18.04.2_amd64.deb ... Unpacking libmm-glib0:amd64 (1.10.0-1~ubuntu18.04.2) ... Selecting previously unselected package geoclue-2.0. Preparing to unpack .../32-geoclue-2.0_2.4.7-1ubuntu1_amd64.deb ... Unpacking geoclue-2.0 (2.4.7-1ubuntu1) ... Selecting previously unselected package libcdparanoia0:amd64. Preparing to unpack .../33-libcdparanoia0_3.10.2+debian-13_amd64.deb ... Unpacking libcdparanoia0:amd64 (3.10.2+debian-13) ... Selecting previously unselected package libvisual-0.4-0:amd64. Preparing to unpack .../34-libvisual-0.4-0_0.4.0-11_amd64.deb ... Unpacking libvisual-0.4-0:amd64 (0.4.0-11) ... Selecting previously unselected package gstreamer1.0-plugins-base:amd64. Preparing to unpack .../35-gstreamer1.0-plugins-base_1.14.5-0ubuntu1~18.04.1_amd64.deb ... Unpacking gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.1) ... Selecting previously unselected package iio-sensor-proxy. Preparing to unpack .../36-iio-sensor-proxy_2.4-2_amd64.deb ... Unpacking iio-sensor-proxy (2.4-2) ... Selecting previously unselected package libgl1-mesa-glx:amd64. Preparing to unpack .../37-libgl1-mesa-glx_20.0.8-0ubuntu1~18.04.1_amd64.deb ... Unpacking libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ... Selecting previously unselected package libmbim-glib4:amd64. Preparing to unpack .../38-libmbim-glib4_1.18.0-1~ubuntu18.04.1_amd64.deb ... Unpacking libmbim-glib4:amd64 (1.18.0-1~ubuntu18.04.1) ... Selecting previously unselected package libmbim-proxy. Preparing to unpack .../39-libmbim-proxy_1.18.0-1~ubuntu18.04.1_amd64.deb ... Unpacking libmbim-proxy (1.18.0-1~ubuntu18.04.1) ... Selecting previously unselected package libnl-genl-3-200:amd64. Preparing to unpack .../40-libnl-genl-3-200_3.2.29-0ubuntu3_amd64.deb ... Unpacking libnl-genl-3-200:amd64 (3.2.29-0ubuntu3) ... Selecting previously unselected package libnss-mdns:amd64. Preparing to unpack .../41-libnss-mdns_0.10-8ubuntu1_amd64.deb ... Unpacking libnss-mdns:amd64 (0.10-8ubuntu1) ... Selecting previously unselected package libpulse-mainloop-glib0:amd64. Preparing to unpack .../42-libpulse-mainloop-glib0_1%3a11.1-1ubuntu7.11_amd64.deb ... Unpacking libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ... Selecting previously unselected package libpulse-dev:amd64. Preparing to unpack .../43-libpulse-dev_1%3a11.1-1ubuntu7.11_amd64.deb ... Unpacking libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ... Selecting previously unselected package libqt5multimedia5:amd64. Preparing to unpack .../44-libqt5multimedia5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimedia5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5opengl5:amd64. Preparing to unpack .../45-libqt5opengl5_5.9.5+dfsg-0ubuntu2.5_amd64.deb ... Unpacking libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Selecting previously unselected package libqt5multimediawidgets5:amd64. Preparing to unpack .../46-libqt5multimediawidgets5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimediawidgets5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqgsttools-p1:amd64. Preparing to unpack .../47-libqgsttools-p1_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqgsttools-p1:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqmi-glib5:amd64. Preparing to unpack .../48-libqmi-glib5_1.22.0-1.2~ubuntu18.04.1_amd64.deb ... Unpacking libqmi-glib5:amd64 (1.22.0-1.2~ubuntu18.04.1) ... Selecting previously unselected package libqmi-proxy. Preparing to unpack .../49-libqmi-proxy_1.22.0-1.2~ubuntu18.04.1_amd64.deb ... Unpacking libqmi-proxy (1.22.0-1.2~ubuntu18.04.1) ... Selecting previously unselected package libqt5designer5:amd64. Preparing to unpack .../50-libqt5designer5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5designer5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5designercomponents5:amd64. Preparing to unpack .../51-libqt5designercomponents5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5designercomponents5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5help5:amd64. Preparing to unpack .../52-libqt5help5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5help5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5multimediaquick-p5:amd64. Preparing to unpack .../53-libqt5multimediaquick-p5_5.9.5-0ubuntu1_amd64.deb ... Unpacking libqt5multimediaquick-p5:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package libqt5quickparticles5:amd64. Preparing to unpack .../54-libqt5quickparticles5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quickparticles5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quicktest5:amd64. Preparing to unpack .../55-libqt5quicktest5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quicktest5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5quickwidgets5:amd64. Preparing to unpack .../56-libqt5quickwidgets5_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking libqt5quickwidgets5:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package libqt5sql5-sqlite:amd64. Preparing to unpack .../57-libqt5sql5-sqlite_5.9.5+dfsg-0ubuntu2.5_amd64.deb ... Unpacking libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Selecting previously unselected package modemmanager. Preparing to unpack .../58-modemmanager_1.10.0-1~ubuntu18.04.2_amd64.deb ... Unpacking modemmanager (1.10.0-1~ubuntu18.04.2) ... Selecting previously unselected package qt5-assistant. Preparing to unpack .../59-qt5-assistant_5.9.5-0ubuntu1_amd64.deb ... Unpacking qt5-assistant (5.9.5-0ubuntu1) ... Selecting previously unselected package qt5-qmltooling-plugins:amd64. Preparing to unpack .../60-qt5-qmltooling-plugins_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking qt5-qmltooling-plugins:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package qtdeclarative5-dev:amd64. Preparing to unpack .../61-qtdeclarative5-dev_5.9.5-0ubuntu1.1_amd64.deb ... Unpacking qtdeclarative5-dev:amd64 (5.9.5-0ubuntu1.1) ... Selecting previously unselected package qtmultimedia5-dev:amd64. Preparing to unpack .../62-qtmultimedia5-dev_5.9.5-0ubuntu1_amd64.deb ... Unpacking qtmultimedia5-dev:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package qttools5-dev-tools. Preparing to unpack .../63-qttools5-dev-tools_5.9.5-0ubuntu1_amd64.deb ... Unpacking qttools5-dev-tools (5.9.5-0ubuntu1) ... Selecting previously unselected package qttools5-dev:amd64. Preparing to unpack .../64-qttools5-dev_5.9.5-0ubuntu1_amd64.deb ... Unpacking qttools5-dev:amd64 (5.9.5-0ubuntu1) ... Selecting previously unselected package wpasupplicant. Preparing to unpack .../65-wpasupplicant_2%3a2.6-15ubuntu2.8_amd64.deb ... Unpacking wpasupplicant (2:2.6-15ubuntu2.8) ... Selecting previously unselected package usb-modeswitch-data. Preparing to unpack .../66-usb-modeswitch-data_20170806-2_all.deb ... Unpacking usb-modeswitch-data (20170806-2) ... Selecting previously unselected package usb-modeswitch. Preparing to unpack .../67-usb-modeswitch_2.5.2+repack0-2ubuntu1_amd64.deb ... Unpacking usb-modeswitch (2.5.2+repack0-2ubuntu1) ... Setting up libqt5qml5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libbrotli1:amd64 (1.0.3-1ubuntu1.3) ... Setting up libqt5quick5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libqt5script5:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libqt5sensors5:amd64 (5.9.5-0ubuntu1) ... Setting up libdaemon0:amd64 (0.14-6) ... Setting up libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libqt5quickwidgets5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libmbim-glib4:amd64 (1.18.0-1~ubuntu18.04.1) ... Setting up libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ... Setting up libpam-cap:amd64 (1:2.25-1.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ... Setting up iio-sensor-proxy (2.4-2) ... Setting up libwoff1:amd64 (1.0.2-1build0.1) ... Setting up geoip-database (20180315-1) ... Setting up libcap2-bin (1:2.25-1.2) ... Setting up libnl-genl-3-200:amd64 (3.2.29-0ubuntu3) ... Setting up libgeoip1:amd64 (1.6.12-1) ... Setting up libcdparanoia0:amd64 (3.10.2+debian-13) ... Setting up libqt5help5:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5opengl5:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Setting up libmbim-proxy (1.18.0-1~ubuntu18.04.1) ... Setting up libqt5multimedia5:amd64 (5.9.5-0ubuntu1) ... Setting up usb-modeswitch-data (20170806-2) ... Setting up libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.5) ... Setting up libqt5quickparticles5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libhyphen0:amd64 (2.8.8-5) ... Setting up usb-modeswitch (2.5.2+repack0-2ubuntu1) ... Setting up libqt5quicktest5:amd64 (5.9.5-0ubuntu1.1) ... Setting up libqt5scripttools5:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up libmm-glib0:amd64 (1.10.0-1~ubuntu18.04.2) ... Setting up libgl1-mesa-glx:amd64 (20.0.8-0ubuntu1~18.04.1) ... Setting up libqt5positioning5:amd64 (5.9.5+dfsg-0ubuntu2) ... Setting up libqt5multimediaquick-p5:amd64 (5.9.5-0ubuntu1) ... Setting up libvisual-0.4-0:amd64 (0.4.0-11) ... Setting up qtscript5-dev:amd64 (5.9.5+dfsg-0ubuntu1) ... Setting up liborc-0.4-0:amd64 (1:0.4.28-1) ... Setting up libavahi-glib1:amd64 (0.7-3.1ubuntu1.2) ... Setting up libqt5webchannel5:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5designer5:amd64 (5.9.5-0ubuntu1) ... Setting up libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up qt5-qmltooling-plugins:amd64 (5.9.5-0ubuntu1.1) ... Setting up libavahi-core7:amd64 (0.7-3.1ubuntu1.2) ... Setting up libqt5multimediawidgets5:amd64 (5.9.5-0ubuntu1) ... Setting up libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setcap worked! gst-ptp-helper is not suid! Setting up libqt5designercomponents5:amd64 (5.9.5-0ubuntu1) ... Setting up wpasupplicant (2:2.6-15ubuntu2.8) ... Created symlink /etc/systemd/system/dbus-fi.w1.wpa_supplicant1.service → /lib/systemd/system/wpa_supplicant.service. Created symlink /etc/systemd/system/multi-user.target.wants/wpa_supplicant.service → /lib/systemd/system/wpa_supplicant.service. Setting up libqmi-glib5:amd64 (1.22.0-1.2~ubuntu18.04.1) ... Setting up libqmi-proxy (1.22.0-1.2~ubuntu18.04.1) ... Setting up qtdeclarative5-dev:amd64 (5.9.5-0ubuntu1.1) ... Setting up libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setting up gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.1) ... Setting up libqgsttools-p1:amd64 (5.9.5-0ubuntu1) ... Setting up libqt5webkit5:amd64 (5.212.0~alpha2-7ubuntu1) ... Setting up modemmanager (1.10.0-1~ubuntu18.04.2) ... Created symlink /etc/systemd/system/dbus-org.freedesktop.ModemManager1.service → /lib/systemd/system/ModemManager.service. Created symlink /etc/systemd/system/multi-user.target.wants/ModemManager.service → /lib/systemd/system/ModemManager.service. Setting up libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up qtmultimedia5-dev:amd64 (5.9.5-0ubuntu1) ... Setting up qt5-assistant (5.9.5-0ubuntu1) ... Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.14) ... Setting up avahi-daemon (0.7-3.1ubuntu1.2) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of force-reload. Created symlink /etc/systemd/system/dbus-org.freedesktop.Avahi.service → /lib/systemd/system/avahi-daemon.service. Created symlink /etc/systemd/system/multi-user.target.wants/avahi-daemon.service → /lib/systemd/system/avahi-daemon.service. Created symlink /etc/systemd/system/sockets.target.wants/avahi-daemon.socket → /lib/systemd/system/avahi-daemon.socket. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up qttools5-dev-tools (5.9.5-0ubuntu1) ... Setting up libnss-mdns:amd64 (0.10-8ubuntu1) ... First installation detected... Checking NSS setup... Setting up qttools5-dev:amd64 (5.9.5-0ubuntu1) ... Setting up libgeoclue-2-0:amd64 (2.4.7-1ubuntu1) ... Setting up geoclue-2.0 (2.4.7-1ubuntu1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... /sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link Processing triggers for systemd (237-3ubuntu10.45) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for dbus (1.12.2-1ubuntu1.2) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for mime-support (3.60ubuntu1) ... + sudo apt-get install -qq g++ cmake libssl-dev nodejs debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 3.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Selecting previously unselected package nodejs-doc. (Reading database ... 162484 files and directories currently installed.) Preparing to unpack .../nodejs-doc_8.10.0~dfsg-2ubuntu0.4_all.deb ... Unpacking nodejs-doc (8.10.0~dfsg-2ubuntu0.4) ... Selecting previously unselected package libc-ares2:amd64. Preparing to unpack .../libc-ares2_1.14.0-1_amd64.deb ... Unpacking libc-ares2:amd64 (1.14.0-1) ... Selecting previously unselected package nodejs. Preparing to unpack .../nodejs_8.10.0~dfsg-2ubuntu0.4_amd64.deb ... Unpacking nodejs (8.10.0~dfsg-2ubuntu0.4) ... Setting up nodejs-doc (8.10.0~dfsg-2ubuntu0.4) ... Setting up libc-ares2:amd64 (1.14.0-1) ... Setting up nodejs (8.10.0~dfsg-2ubuntu0.4) ... update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1.2) ... /sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link + curl -sL https://deb.nodesource.com/setup_12.x + sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update Hit:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease Ign:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease Hit:4 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease Ign:6 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease Hit:7 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release Hit:8 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release Hit:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:10 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease Hit:11 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:12 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease Hit:14 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Reading package lists... Done ## Confirming "bionic" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/bionic/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bionic main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_12.x bionic main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease Get:3 https://deb.nodesource.com/node_12.x bionic InRelease [4,584 B] Ign:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease Hit:5 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease Hit:6 http://archive.ubuntu.com/ubuntu bionic InRelease Ign:7 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease Hit:8 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Release Hit:9 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release Hit:10 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Get:11 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages [766 B] Hit:12 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease Hit:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:14 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease Hit:16 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease Fetched 5,350 B in 1s (4,618 B/s) Reading package lists... Done ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn + sudo apt-get install -y nodejs Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libc-ares2 nodejs-doc Use 'sudo apt autoremove' to remove them. The following packages will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 50 not upgraded. Need to get 18.2 MB of archives. After this operation, 75.1 MB of additional disk space will be used. Get:1 https://deb.nodesource.com/node_12.x bionic/main amd64 nodejs amd64 12.22.1-1nodesource1 [18.2 MB] Fetched 18.2 MB in 0s (63.3 MB/s) debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 1.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: (Reading database ... 162613 files and directories currently installed.) Preparing to unpack .../nodejs_12.22.1-1nodesource1_amd64.deb ... Unpacking nodejs (12.22.1-1nodesource1) over (8.10.0~dfsg-2ubuntu0.4) ... Setting up nodejs (12.22.1-1nodesource1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... + sudo npm install -g npm@latest /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js + npm@7.10.0 added 58 packages from 23 contributors, removed 241 packages and updated 194 packages in 7.324s + installed=1 + (( installed )) + break + (( no_pm )) + (( !installed )) + (( 0 )) + ./scripts/build.sh gui translations /content/imgbrd-grabber/build /content/imgbrd-grabber -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring for version '7.5.1' -- Configuring for platform 'x86' (x86_64) -- Compiling with SSL support -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1") -- OpenSSL version: 1.1.1 -- OpenSSL include dir: /usr/include -- OpenSSL libraries: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Configuring done -- Generating done -- Build files have been written to: /content/imgbrd-grabber/build Scanning dependencies of target sites_modules Scanning dependencies of target lib_autogen [ 1%] Installing npm packages... [ 1%] Automatic MOC and UIC for target lib [ 1%] Built target lib_autogen Scanning dependencies of target lib [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-const-field.cpp.o [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/analytics.cpp.o [ 1%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-field.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth-hash-field.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/auth.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/field-auth.cpp.o [ 3%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/http-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/http-basic-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/oauth2-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/auth/url-auth.cpp.o [ 4%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/cli.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/cli-command.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/download-images-cli-command.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/get-details-cli-command.cpp.o [ 6%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/get-images-cli-command.cpp.o [ 8%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/get-page-count-cli-command.cpp.o [ 8%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/get-tags-cli-command.cpp.o [ 8%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/get-page-tags-cli-command.cpp.o [ 9%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/load-tag-database-cli-command.cpp.o [ 9%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/search-cli-command.cpp.o [ 9%] Building CXX object lib/CMakeFiles/lib.dir/src/cli/commands/search-images-cli-command.cpp.o [ 9%] Building CXX object lib/CMakeFiles/lib.dir/src/commands/commands.cpp.o [ 11%] Building CXX object lib/CMakeFiles/lib.dir/src/commands/sql-worker.cpp.o [ 11%] Building CXX object lib/CMakeFiles/lib.dir/src/concurrent-multi-queue.cpp.o added 535 packages, and audited 536 packages in 28s 1 high severity vulnerability To address all issues, run: npm audit fix Run `npm audit` for details. [ 11%] Built target sites_modules [ 11%] Building CXX object lib/CMakeFiles/lib.dir/src/custom-network-access-manager.cpp.o /content/imgbrd-grabber/src/lib/src/concurrent-multi-queue.cpp: In member function ‘void ConcurrentMultiQueue::append(int, QVariant)’: /content/imgbrd-grabber/src/lib/src/concurrent-multi-queue.cpp:29:22: error: ‘class QAtomicInt’ has no member named ‘loadRelaxed’ if (m_activeWorkers.loadRelaxed() < m_globalConcurrency) { ^~~~~~~~~~~ [ 11%] Building CXX object lib/CMakeFiles/lib.dir/src/danbooru-downloader-importer.cpp.o lib/CMakeFiles/lib.dir/build.make:361: recipe for target 'lib/CMakeFiles/lib.dir/src/concurrent-multi-queue.cpp.o' failed make[3]: *** [lib/CMakeFiles/lib.dir/src/concurrent-multi-queue.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Scanning dependencies of target sites [ 11%] Transpiling TypeScript sources into JavaScript... > build > tsc -p tsconfig.json CMakeFiles/Makefile2:124: recipe for target 'lib/CMakeFiles/lib.dir/all' failed make[2]: *** [lib/CMakeFiles/lib.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 11%] Built target sites CMakeFiles/Makefile2:226: recipe for target 'gui/CMakeFiles/gui.dir/rule' failed make[1]: *** [gui/CMakeFiles/gui.dir/rule] Error 2 Makefile:214: recipe for target 'gui' failed make: *** [gui] Error 2 /content/imgbrd-grabber + exit 21 ```

    You can test everything there.

maxiy01 commented 3 years ago

Tested it on my local machine (OS: Debian 10 buster). Build fails with same errors.

maxiy01 commented 3 years ago

I got it. According to QT documentation, loadRelaxed() function was introduced in Qt 5.14, but default version installed through apt is 5.9.5.

Bionus commented 3 years ago

As you guessed, your Qt packages are likely too old. I recommend using the beineri repository for Qt packages on Linux (here for bionic):

sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-bionic
sudo apt-get update
sudo apt install qt515base qt515multimedia qt515script qt515tools qt515translations
source /opt/qt515/bin/qt515-env.sh

I'll update the documentation to add this information.

maxiy01 commented 3 years ago

Thanks for your answer and sorry for late response. I managed to build grabber using QT 5.15.