Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build broke when pulling from qml rpi #13

Open
guysoft opened this issue Feb 26, 2023 · 1 comment
Open

Build broke when pulling from qml rpi #13

guysoft opened this issue Feb 26, 2023 · 1 comment

Comments

@guysoft
Copy link
Owner

guysoft commented Feb 26, 2023

e -I/home/runner/work/pi-imager/pi-imager/src/. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -ffile-prefix-map=/home/runner/work/pi-imager/pi-imager=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -MD -MT CMakeFiles/rpi-imager.dir/cli.cpp.o -MF CMakeFiles/rpi-imager.dir/cli.cpp.o.d -o CMakeFiles/rpi-imager.dir/cli.cpp.o -c /home/runner/work/pi-imager/pi-imager/src/cli.cpp
[ 83%] Building CXX object CMakeFiles/rpi-imager.dir/dependencies/mountutils/src/linux/functions.cpp.o
/usr/bin/c++ -DCHECK_VERSION_DEFAULT=true -DHAVE_GNUTLS -DIMAGER_VERSION_CSV=1,7,4,0 -DIMAGER_VERSION_STR=\"1.7.4-unofficial\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DTELEMETRY_ENABLED_DEFAULT=true -I/home/runner/work/pi-imager/pi-imager/obj-x86_64-linux-gnu -I/home/runner/work/pi-imager/pi-imager/src -I/home/runner/work/pi-imager/pi-imager/obj-x86_64-linux-gnu/rpi-imager_autogen/include -I/home/runner/work/pi-imager/pi-imager/src/. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtQmlModels -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -g -O2 -ffile-prefix-map=/home/runner/work/pi-imager/pi-imager=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -MD -MT CMakeFiles/rpi-imager.dir/dependencies/mountutils/src/linux/functions.cpp.o -MF CMakeFiles/rpi-imager.dir/dependencies/mountutils/src/linux/functions.cpp.o.d -o CMakeFiles/rpi-imager.dir/dependencies/mountutils/src/linux/functions.cpp.o -c /home/runner/work/pi-imager/pi-imager/src/dependencies/mountutils/src/linux/functions.cpp
/home/runner/work/pi-imager/pi-imager/src/cli.cpp: In member function ‘int Cli::main()’:
/home/runner/work/pi-imager/pi-imager/src/cli.cpp:95:29: error: ‘QByteArray::operator QNoImplicitBoolCast() const’ is private within this context
   95 |         _imageWriter->setSrc(args[0], 0, 0, parser.value(sha256Option).toLatin1(), false, "", "", initFormat);
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from /home/runner/work/pi-imager/pi-imager/src/cli.h:4,
                 from /home/runner/work/pi-imager/pi-imager/src/cli.cpp:6:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:469:5: note: declared private here
  469 |     operator QNoImplicitBoolCast() const;
      |     ^~~~~~~~
/home/runner/work/pi-imager/pi-imager/src/cli.cpp:108:33: error: ‘QByteArray::operator QNoImplicitBoolCast() const’ is private within this context
  108 |             _imageWriter->setSrc(QUrl::fromLocalFile(args[0]), fi.size(), 0, parser.value(sha256Option).toLatin1(), false, "", "", initFormat);
      |             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from /home/runner/work/pi-imager/pi-imager/src/cli.h:4,
                 from /home/runner/work/pi-imager/pi-imager/src/cli.cpp:6:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:469:5: note: declared private here
  469 |     operator QNoImplicitBoolCast() const;
      |     ^~~~~~~~
make[3]: *** [CMakeFiles/rpi-imager.dir/build.make:441: CMakeFiles/rpi-imager.dir/cli.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/runner/work/pi-imager/pi-imager/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:87: CMakeFiles/rpi-imager.dir/all] Error 2
make[2]: Leaving directory '/home/runner/work/pi-imager/pi-imager/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/home/runner/work/pi-imager/pi-imager/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
Error: Process completed with exit code 29.
@guysoft
Copy link
Owner Author

guysoft commented Oct 27, 2023

If anyone uses this and wants to help maintaining, this is low on my todo list ATM. So please nudge me if you want this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant