rpi-ramdisk
rpi-ramdisk copied to clipboard
Make stopped working after building qt
I used Docker to build ramdisk. From what I understand: after building qt, make stopped with following error:
make[2]: Leaving directory '/rpi-ramdisk/packages/qt'
make[1]: Leaving directory '/rpi-ramdisk/packages'
Makefile:6: recipe for target 'packages' failed
make: *** [packages] Error 2
The actual error is before that. Please post more of the output.
Is that enough?
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests... Checking for gold linker... no Checking for machine tuple... yes Checking for valid makespec... yes Checking for target architecture... arm Checking for host architecture... x86_64 Checking for C++14 support... yes Checking for C++1z support... no Checking for pkg-config... yes Checking for D-Bus >= 1.2... yes Checking for new dtags support... yes Checking for D-Bus >= 1.2 (host)... yes Checking for udev... yes Checking for mremap()... yes Checking for NEON instructions... yes Checking for POSIX fallocate()... yes Checking for precompiled header support... yes Checking for symbol visibility support... yes Checking for -Bsymbolic-functions support... no Checking for STL compatibility... yes Checking for zlib... yes Checking for clock_gettime()... yes Checking for POSIX monotonic clock... yes Checking for dlopen()... yes Checking for eventfd... yes Checking for GLib... yes Checking for POSIX iconv... yes Checking for ICU... yes Checking for inotify... yes Checking for SysV IPC... yes Checking for 64 bit atomics... yes Checking for ppoll()... yes Checking for slog2... no Checking for DoubleConversion... no Checking for PCRE... no Checking for O_CLOEXEC... yes Checking for working std::atomic for function pointers... yes Checking for getaddrinfo()... yes Checking for getifaddrs()... yes Checking for IPv6 ifname... yes Checking for OpenSSL Headers... yes Checking for DB2 (IBM)... no Checking for InterBase... no Checking for MySQL... no Checking for OCI (Oracle)... no Checking for ODBC... no Checking for PostgreSQL... no Checking for SQLite (version 2)... no Checking for TDS (Sybase)... yes Checking for OpenGL ES 2.0... yes Checking for EGL... yes Checking for XCB Xlib... no Checking for Broadcom EGL (Raspberry Pi)... yes Checking for EGLDevice... no Checking for Mali EGL... no Checking for Mali 2 EGL... no Checking for i.Mx6 EGL... no Checking for evdev... yes Checking for FreeType... yes Checking for Fontconfig... yes Checking for Mir client libraries... no Checking for mtdev... yes Checking for OpenGL ES 3.0... no Checking for default QPA platform... eglfs Checking for HarfBuzz... no Checking for libjpeg... yes Checking for libpng... yes Checking for tslib... yes Checking for xkbcommon... no Checking for XLib... no Checking for CUPS... no Done running configuration tests.
Configure summary:
Building on: linux-g++ (x86_64, CPU features: mmx sse sse2) Building for: devices/linux-rasp-pi2-g++ (arm, CPU features: neon) Configuration: cross_compile enable_new_dtags largefile neon precompile_header shared rpath accessibility release c++11 c++14 concurrent dbus mremap reduce_exports stl no-widgets Build options: Mode ................................... release Building shared libraries .............. yes Using C++ standard ..................... C++14 Using gold linker ...................... no Using new DTAGS ........................ yes Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: NEON ................................. yes Build parts ............................ libs Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... yes Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. no Qt Xml ................................. yes Support enabled for: Accessibility .......................... yes Using pkg-config ....................... yes QML debugging .......................... yes udev ................................... yes Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... yes iconv .................................. no ICU .................................... yes Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE ...................... no Qt Network: getaddrinfo() .......................... yes getifaddrs() ........................... yes IPv6 ifname ............................ yes libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no SCTP ................................... no Use system proxies ..................... yes Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... yes Qt Gui: FreeType ............................... yes Using system FreeType ................ yes HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. yes Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... yes PNG .................................. yes Using system libpng ................ yes OpenGL: EGL .................................. yes Desktop OpenGL ....................... no OpenGL ES 2.0 ........................ yes OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... no mtdev .................................. yes tslib .................................. yes xkbcommon-evdev ........................ no QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... yes EGL on X11 ........................... no LinuxFB ................................ no Mir client ............................. no Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows Qt PrintSupport: CUPS ................................... no
Note: Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
Note: PKG_CONFIG_LIBDIR automatically set to /rpi-ramdisk/packages/sysroot//usr/lib/pkgconfig:/rpi-ramdisk/packages/sysroot//usr/share/pkgconfig:/rpi-ramdisk/packages/sysroot//usr/lib/arm-linux-gnueabihf/pkgconfig
Note: PKG_CONFIG_SYSROOT_DIR automatically set to /rpi-ramdisk/packages/sysroot/
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into '/rpi-ramdisk/packages/qt/root/opt/qt'.
Prior to reconfiguration, make sure you remove any leftovers from the previous build.
make -C qtbase > /dev/null Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -minimal -module QtCore -module QtXml -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtZlib -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -minimal -module QtDBus -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtCore -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase In file included from ../../include/QtCore/qstring.h:1:0, from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:44, from ../../include/QtCore/qcoreapplication.h:1, from global/qt_pch.h:62: ../../include/QtCore/../../src/corelib/tools/qstring.h: In member function 'bool QUrlPrivate::setHost(const QString&, int, int, QUrl::ParsingMode)': ../../include/QtCore/../../src/corelib/tools/qstring.h:1014:7: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] { if (i >= s.d->size) s.resize(i + 1, QLatin1Char(' ')); else s.detach(); ^ In file included from global/qt_pch.h:56:0: global/qglobal.h: In static member function 'static QUrl QUrl::fromLocalFile(const QString&)': global/qglobal.h:535:86: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^ kernel/qobjectdefs.h:0: Note: No relevant classes found. No output generated. Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtNetwork -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtXml -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtConcurrent -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtSql -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtDBus -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase In file included from ../../include/QtCore/qstring.h:1:0, from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:44, from ../../include/QtCore/qcoreapplication.h:1, from ../corelib/global/qt_pch.h:62: ../../include/QtCore/../../src/corelib/tools/qstring.h: In member function 'virtual QString QSqlDriver::sqlStatement(QSqlDriver::StatementType, const QString&, const QSqlRecord&, bool) const': ../../include/QtCore/../../src/corelib/tools/qstring.h:1014:7: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] { if (i >= s.d->size) s.resize(i + 1, QLatin1Char(' ')); else s.detach(); ^ Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtGui -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase access/qnetworkaccessdebugpipebackend_p.h:0: Note: No relevant classes found. No output generated. ssl/qsslsocket_openssl_p.h:0: Note: No relevant classes found. No output generated. In file included from ../../include/QtCore/qglobal.h:1:0, from ../../include/QtGui/../../src/gui/kernel/qtguiglobal.h:43, from ../../include/QtGui/qtguiglobal.h:1, from kernel/qt_gui_pch.h:50: ../../include/QtCore/../../src/corelib/global/qglobal.h: In function 'void setWidthAttribute(QTextLength*, const QString&)': ../../include/QtCore/../../src/corelib/global/qglobal.h:535:86: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] Q_DECL_CONSTEXPR inline const T &qMin(const T &a, const T &b) { return (a < b) ? a : b; } ^ Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtPlatformHeaders -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtOpenGLExtensions -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtTest -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtServiceSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtFontDatabaseSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtEventDispatcherSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtDeviceDiscoverySupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtFbSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtThemeSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtPlatformCompositorSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtEglSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtAccessibilitySupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtInputSupport -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qtbase/bin/syncqt.pl -module QtEglFSDeviceIntegration -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtbase /rpi-ramdisk/packages/qt/qtbase make -C qtbase install > /dev/null cd qtxmlpatterns && ../qt-host/bin/qmake > /dev/null
Running configuration tests... Done running configuration tests.
Configure summary:
QtXmlPatterns: XML schema support ..................... yes
Qt is now configured for building. Just run 'make'. Once everything is built, Qt is installed. You should NOT run 'make install'. Note that this build cannot be deployed to other machines or devices.
Prior to reconfiguration, make sure you remove any leftovers from the previous build.
make -C qtxmlpatterns > /dev/null Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtXmlPatterns -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtxmlpatterns /rpi-ramdisk/packages/qt/qtxmlpatterns ^[OPmake -C qtxmlpatterns install > /dev/null cd qtdeclarative && ../qt-host/bin/qmake > /dev/null
Running configuration tests... Checking for Direct3D 12... no Done running configuration tests.
Configure summary:
Qt QML: QML interpreter ........................ yes QML network support .................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Quick Designer ............. yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes ShaderEffect item ...................... yes Sprite item ............................ yes
Qt is now configured for building. Just run 'make'. Once everything is built, Qt is installed. You should NOT run 'make install'. Note that this build cannot be deployed to other machines or devices.
Prior to reconfiguration, make sure you remove any leftovers from the previous build.
make -C qtdeclarative > /dev/null Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQml -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuick -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative
/rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuickTest -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuickParticles -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtPacketProtocol -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -minimal -module QtQml -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQmlDebug -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative make -C qtdeclarative install > /dev/null Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQml -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuick -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuickTest -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQuickParticles -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtPacketProtocol -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative Project MESSAGE: perl -w /rpi-ramdisk/packages/qt/qt-host/bin/syncqt.pl -module QtQmlDebug -version 5.8.1 -outdir /rpi-ramdisk/packages/qt/qtdeclarative /rpi-ramdisk/packages/qt/qtdeclarative mkdir -p /rpi-ramdisk/packages/qt/root/etc/ld.so.conf.d echo /opt/qt/lib > /rpi-ramdisk/packages/qt/root/etc/ld.so.conf.d/opt-qt.conf tar -C /rpi-ramdisk/packages/qt/root --exclude=./opt/qt/doc --exclude=./opt/qt/include -czf qt.tar.gz . make[2]: Leaving directory '/rpi-ramdisk/packages/qt' make[1]: Leaving directory '/rpi-ramdisk/packages' Makefile:6: recipe for target 'packages' failed make: *** [packages] Error 2
The actual failure was during gstreamer gobject introspection build. This probably means qemu isn't working properly inside your container. I have seen that happen before on some platforms but I don't know why it happens.
If it would be helpful, I have Arch on host machine