$ cd ~/builds/qt5-base-headless/ $ makechrootpkg -cnur /opt/chroot -D /etc/pacman.d/local [sudo] password for sts: ==> Synchronizing chroot copy [/opt/chroot/root] -> [sts]...done :: Synchronizing package databases... core is up to date extra is up to date community 4.8 MiB 21.7M/s 00:00 [#####################################] 100% custom is up to date :: Starting full system upgrade... there is nothing to do ==> Making package: qt5-base-headless 5.12.2-1 (Fr 12 Apr 2019 18:57:51 CEST) ==> Retrieving sources... -> Found qtbase-everywhere-src-5.12.2.tar.xz ==> Validating source files with sha256sums... qtbase-everywhere-src-5.12.2.tar.xz ... Passed ==> Making package: qt5-base-headless 5.12.2-1 (Fri 12 Apr 2019 06:57:52 PM CEST) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (2) double-conversion-3.1.4-1 libproxy-0.4.15-8 Total Installed Size: 0.46 MiB :: Proceed with installation? [Y/n] (2/2) checking keys in keyring [#####################################] 100% (2/2) checking package integrity [#####################################] 100% (2/2) loading package files [#####################################] 100% (2/2) checking for file conflicts [#####################################] 100% (2/2) checking available disk space [#####################################] 100% :: Processing package changes... (1/2) installing libproxy [#####################################] 100% Optional dependencies for libproxy networkmanager: NetworkManager configuration module perl: Perl bindings [installed] python2: Python 2.x bindings python: Python 3.x bindings glib2: gsettings configuration module [installed] webkit2gtk: PAC proxy support (Webkit2gtk engine) (2/2) installing double-conversion [#####################################] 100% :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (5) libaio-0.3.111-2 lzo-2.10-2 mariadb-libs-10.3.14-1 postgresql-libs-11.2-3 unixodbc-2.3.7-2 Total Installed Size: 28.33 MiB :: Proceed with installation? [Y/n] (5/5) checking keys in keyring [#####################################] 100% (5/5) checking package integrity [#####################################] 100% (5/5) loading package files [#####################################] 100% (5/5) checking for file conflicts [#####################################] 100% (5/5) checking available disk space [#####################################] 100% :: Processing package changes... (1/5) installing libaio [#####################################] 100% (2/5) installing lzo [#####################################] 100% (3/5) installing mariadb-libs [#####################################] 100% (4/5) installing unixodbc [#####################################] 100% (5/5) installing postgresql-libs [#####################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found qtbase-everywhere-src-5.12.2.tar.xz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting qtbase-everywhere-src-5.12.2.tar.xz with bsdtar ==> Starting prepare()... ==> Starting build()... Creating qmake... g++ -c -o main.o -std=c++11 -ffunction-sections -fdata-sections -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/library -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/unix -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/win32 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/mac -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2/QtCore -I../src/corelib/global -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.12.2\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=12 -DQT_VERSION_PATCH=2 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/main.cpp g++ -c -o meta.o -std=c++11 -ffunction-sections -fdata-sections -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/library -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/unix -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/win32 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/mac -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2/QtCore -I../src/corelib/global -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.12.2\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=12 -DQT_VERSION_PATCH=2 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/meta.cpp g++ -c -o option.o -std=c++11 -ffunction-sections -fdata-sections -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/library -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/unix -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/win32 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/generators/mac -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2 -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/include/QtCore/5.12.2/QtCore -I../src/corelib/global -I/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.12.2\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=12 -DQT_VERSION_PATCH=2 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/qmake/option.cpp [… lots of output removed …] make[2]: Leaving directory '/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/src/plugins' make[1]: Leaving directory '/build/qt5-base-headless/src/qtbase-everywhere-src-5.12.2/src' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> WARNING: Package contains reference to $srcdir usr/bin/qmake ==> Creating package "qt5-base-headless"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: qt5-base-headless 5.12.2-1 (Fri 12 Apr 2019 07:08:04 PM CEST) ==> Installing package qt5-base-headless with pacman -U... loading packages... resolving dependencies... looking for conflicting packages... Packages (1) qt5-base-headless-5.12.2-1 Total Installed Size: 26.72 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [#####################################] 100% (1/1) checking package integrity [#####################################] 100% (1/1) loading package files [#####################################] 100% (1/1) checking for file conflicts [#####################################] 100% (1/1) checking available disk space [#####################################] 100% :: Processing package changes... (1/1) installing qt5-base-headless [#####################################] 100% Optional dependencies for qt5-base-headless postgresql-libs: PostgreSQL driver [installed] mariadb-libs: MariaDB driver [installed] unixodbc: ODBC driver [installed] freetds: MS SQL driver python: build scripts for Apple platforms dbus: DBus module [installed] :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... resolving dependencies... looking for conflicting packages... Packages (7) elfutils-0.176-1 libnsl-1.2.0-1 licenses-20181104-1 pyalpm-0.8.5-2 python-3.7.3-1 python-pyelftools-0.25-1 namcap-3.2.8-3 Total Installed Size: 150.13 MiB :: Proceed with installation? [Y/n] (7/7) checking keys in keyring [#####################################] 100% (7/7) checking package integrity [#####################################] 100% (7/7) loading package files [#####################################] 100% (7/7) checking for file conflicts [#####################################] 100% (7/7) checking available disk space [#####################################] 100% :: Processing package changes... (1/7) installing libnsl [#####################################] 100% (2/7) installing python [#####################################] 100% Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter (3/7) installing pyalpm [#####################################] 100% (4/7) installing licenses [#####################################] 100% (5/7) installing elfutils [#####################################] 100% (6/7) installing python-pyelftools [#####################################] 100% (7/7) installing namcap [#####################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... Checking PKGBUILD Checking qt5-base-headless-5.12.2-1-x86_64.pkg.tar.xz qt5-base-headless W: ELF file ('usr/bin/qmake') lacks FULL RELRO, check LDFLAGS. qt5-base-headless W: Unused shared library '/usr/lib/libz.so.1' by file ('usr/bin/moc') qt5-base-headless W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/moc') qt5-base-headless W: Unused shared library '/usr/lib/libgcc_s.so.1' by file ('usr/bin/moc') qt5-base-headless W: Unused shared library '/usr/lib/libm.so.6' by file ('usr/bin/rcc') qt5-base-headless W: Unused shared library '/usr/lib/libgcc_s.so.1' by file ('usr/bin/rcc') qt5-base-headless W: Dependency systemd-libs detected but optional (libraries ['usr/lib/libsystemd.so.0'] needed in files ['usr/lib/libQt5Core.so.5.12.2']) qt5-base-headless W: Dependency dbus detected but optional (libraries ['usr/lib/libdbus-1.so.3'] needed in files ['usr/lib/libQt5DBus.so.5.12.2']) qt5-base-headless W: Dependency python detected but optional (programs ['python'] needed in scripts ['usr/lib/qt/mkspecs/features/uikit/devices.py']) qt5-base-headless W: Dependency postgresql-libs detected but optional (libraries ['usr/lib/libpq.so.5'] needed in files ['usr/lib/qt/plugins/sqldrivers/libqsqlpsql.so']) qt5-base-headless W: Dependency unixodbc detected but optional (libraries ['usr/lib/libodbc.so.2'] needed in files ['usr/lib/qt/plugins/sqldrivers/libqsqlodbc.so']) qt5-base-headless W: Dependency mariadb-libs detected but optional (libraries ['usr/lib/libmariadb.so.3'] needed in files ['usr/lib/qt/plugins/sqldrivers/libqsqlmysql.so']) $ tar -xf /etc/pacman.d/local/custom.db.tar.xz qt5-base-headless-5.12.2-1/desc $ mv qt5-base-headless-5.12.2-1/desc desc.0 $ sudo cp qt5-base-headless-5.12.2-1-x86_64.pkg.tar.xz /etc/pacman.d/local [sudo] password for sts: $ sudo repo-add /etc/pacman.d/local/custom.db.tar.xz qt5-base-headless-5.12.2-1-x86_64.pkg.tar.xz ==> Extracting database to a temporary location... ==> Extracting database to a temporary location... ==> Adding package 'qt5-base-headless-5.12.2-1-x86_64.pkg.tar.xz' ==> WARNING: An entry for 'qt5-base-headless-5.12.2-1' already existed -> Computing checksums... -> Removing existing entry 'qt5-base-headless-5.12.2-1'... -> Creating 'desc' db entry... -> Creating 'files' db entry... ==> Creating updated database file '/etc/pacman.d/local/custom.db.tar.xz' $ tar -xf /etc/pacman.d/local/custom.db.tar.xz qt5-base-headless-5.12.2-1/desc $ mv qt5-base-headless-5.12.2-1/desc desc.1 $ cd ../quassel-core-small/ $ makechrootpkg -cnur /opt/chroot -D /etc/pacman.d/local ==> Synchronizing chroot copy [/opt/chroot/root] -> [sts]...done :: Synchronizing package databases... core is up to date extra is up to date community 4.8 MiB 20.6M/s 00:00 [#####################################] 100% custom 9.7 KiB 0.00B/s 00:00 [#####################################] 100% :: Starting full system upgrade... there is nothing to do ==> Making package: quassel-core-small 0.13.1-2 (Fr 12 Apr 2019 19:15:46 CEST) ==> Retrieving sources... -> Found quassel-0.13.1.tar.bz2 -> Found quassel.service -> Found quassel.sysusers -> Found quassel.tmpfiles -> Found quassel.conf ==> Validating source files with sha256sums... quassel-0.13.1.tar.bz2 ... Passed quassel.service ... Passed quassel.sysusers ... Passed quassel.tmpfiles ... Passed quassel.conf ... Passed ==> Making package: quassel-core-small 0.13.1-2 (Fri 12 Apr 2019 07:15:48 PM CEST) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (7) double-conversion-3.1.4-1 libproxy-0.4.15-8 nspr-4.21-1 nss-3.43-1 qca-2.2.0-1 qt5-base-headless-5.12.2-1 qt5-script-5.12.2-1 Total Installed Size: 39.68 MiB :: Proceed with installation? [Y/n] (7/7) checking keys in keyring [#####################################] 100% (7/7) checking package integrity [#####################################] 100% :: File /var/cache/pacman/pkg/qt5-base-headless-5.12.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (checksum)). Do you want to delete it? [Y/n] error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. ==> ERROR: 'pacman' failed to install missing dependencies. ==> ERROR: Build failed, check /opt/chroot/sts/build $ makechrootpkg -cnur /opt/chroot -D /etc/pacman.d/local [sudo] password for sts: ==> Synchronizing chroot copy [/opt/chroot/root] -> [sts]...done :: Synchronizing package databases... core is up to date extra 1667.2 KiB 16.3M/s 00:00 [#####################################] 100% community 4.8 MiB 22.3M/s 00:00 [#####################################] 100% custom 9.7 KiB 0.00B/s 00:00 [#####################################] 100% :: Starting full system upgrade... there is nothing to do ==> Making package: quassel-core-small 0.13.1-2 (Fr 12 Apr 2019 20:16:49 CEST) ==> Retrieving sources... -> Found quassel-0.13.1.tar.bz2 -> Found quassel.service -> Found quassel.sysusers -> Found quassel.tmpfiles -> Found quassel.conf ==> Validating source files with sha256sums... quassel-0.13.1.tar.bz2 ... Passed quassel.service ... Passed quassel.sysusers ... Passed quassel.tmpfiles ... Passed quassel.conf ... Passed ==> Making package: quassel-core-small 0.13.1-2 (Fri 12 Apr 2019 08:16:50 PM CEST) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (7) double-conversion-3.1.4-1 libproxy-0.4.15-8 nspr-4.21-1 nss-3.43-1 qca-2.2.0-1 qt5-base-headless-5.12.2-1 qt5-script-5.12.2-1 Total Download Size: 5.82 MiB Total Installed Size: 39.68 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... qt5-base-headless-5.12.2-1-x86_64 5.8 MiB 831M/s 00:00 [#####################################] 100% (7/7) checking keys in keyring [#####################################] 100% (7/7) checking package integrity [#####################################] 100% (7/7) loading package files [#####################################] 100% (7/7) checking for file conflicts [#####################################] 100% (7/7) checking available disk space [#####################################] 100% :: Processing package changes... (1/7) installing libproxy [#####################################] 100% Optional dependencies for libproxy networkmanager: NetworkManager configuration module perl: Perl bindings [installed] python2: Python 2.x bindings python: Python 3.x bindings glib2: gsettings configuration module [installed] webkit2gtk: PAC proxy support (Webkit2gtk engine) (2/7) installing double-conversion [#####################################] 100% (3/7) installing qt5-base-headless [#####################################] 100% Optional dependencies for qt5-base-headless postgresql-libs: PostgreSQL driver mariadb-libs: MariaDB driver unixodbc: ODBC driver freetds: MS SQL driver python: build scripts for Apple platforms dbus: DBus module [installed] (4/7) installing nspr [#####################################] 100% (5/7) installing nss [#####################################] 100% (6/7) installing qca [#####################################] 100% Optional dependencies for qca pkcs11-helper: PKCS-11 plugin botan: botan plugin (7/7) installing qt5-script [#####################################] 100% :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (10) hicolor-icon-theme-0.17-1 jsoncpp-1.8.4-2 libnsl-1.2.0-1 libuv-1.27.0-1 rhash-1.3.8-1 shared-mime-info-1.12-1 cmake-3.14.2-1 extra-cmake-modules-5.56.0-1 ninja-1.9.0-1 qt5-tools-5.12.2-3 Total Download Size: 5.79 MiB Total Installed Size: 57.15 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... cmake-3.14.2-1-x86_64 5.8 MiB 19.8M/s 00:00 [#####################################] 100% (10/10) checking keys in keyring [#####################################] 100% (10/10) checking package integrity [#####################################] 100% (10/10) loading package files [#####################################] 100% (10/10) checking for file conflicts [#####################################] 100% (10/10) checking available disk space [#####################################] 100% :: Processing package changes... ( 1/10) installing hicolor-icon-theme [#####################################] 100% ( 2/10) installing qt5-tools [#####################################] 100% Optional dependencies for qt5-tools clang: for qdoc qt5-webkit: for Qt Assistant ( 3/10) installing shared-mime-info [#####################################] 100% ( 4/10) installing jsoncpp [#####################################] 100% Optional dependencies for jsoncpp jsoncpp-doc: documentation ( 5/10) installing libnsl [#####################################] 100% ( 6/10) installing libuv [#####################################] 100% ( 7/10) installing rhash [#####################################] 100% ( 8/10) installing cmake [#####################################] 100% Optional dependencies for cmake qt5-base: cmake-gui [installed] libxkbcommon-x11: cmake-gui ( 9/10) installing extra-cmake-modules [#####################################] 100% (10/10) installing ninja [#####################################] 100% :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the MIME type database... ==> Retrieving sources... -> Found quassel-0.13.1.tar.bz2 -> Found quassel.service -> Found quassel.sysusers -> Found quassel.tmpfiles -> Found quassel.conf ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting quassel-0.13.1.tar.bz2 with bsdtar ==> Starting prepare()... ==> Starting build()... -- Building Quassel 0.13.1... -- Using CMake 3.14.2 [… sucess on second try …]