Does not build #7

Closed
opened 2024-04-28 14:37:31 +00:00 by blacklightpy · 2 comments

OS: Void Linux GNU/Linux
Libc: musl

~/D/qbolt> make
mkdir -p build/linux
go build -ldflags='-s -w' -gcflags='-trimpath=/home/jyothish/Downloads/qbolt' -asmflags='-trimpath=/home/jyothish/Downloads/qbolt' -buildmode=c-archive -o build/linux/qbolt.a
go: downloading go.etcd.io/bbolt v1.3.5
cd build/linux && qmake ../../qbolt/qbolt.pro && make
Info: creating stash file /home/jyothish/Downloads/qbolt/build/linux/.qmake.stash
make[1]: Entering directory '/home/jyothish/Downloads/qbolt/build/linux'
/usr/lib/qt5/bin/uic ../../qbolt/mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt5/bin/uic ../../qbolt/itemwindow.ui -o ui_itemwindow.h
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o main.o ../../qbolt/main.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o mainwindow.o ../../qbolt/mainwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o interop.o ../../qbolt/interop.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o boltdb.o ../../qbolt/boltdb.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o itemwindow.o ../../qbolt/itemwindow.cpp
/usr/lib/qt5/bin/rcc -name resources ../../qbolt/resources.qrc -o qrc_resources.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o qrc_resources.o qrc_resources.cpp
g++ -pipe -O2 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/jyothish/Downloads/qbolt/build/linux/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/jyothish/Downloads/qbolt/qbolt -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/13.2.0 -I/usr/include/c++/13.2.0/x86_64-linux-musl -I/usr/include/c++/13.2.0/backward -I/usr/local/include -I/usr/include -I/usr/lib64/gcc/x86_64-linux-musl/13.2.0/include ../../qbolt/mainwindow.h -o moc_mainwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp
/usr/lib/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/jyothish/Downloads/qbolt/build/linux/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/jyothish/Downloads/qbolt/qbolt -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/13.2.0 -I/usr/include/c++/13.2.0/x86_64-linux-musl -I/usr/include/c++/13.2.0/backward -I/usr/local/include -I/usr/include -I/usr/lib64/gcc/x86_64-linux-musl/13.2.0/include ../../qbolt/itemwindow.h -o moc_itemwindow.cpp
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_itemwindow.o moc_itemwindow.cpp
g++ -Wl,-O1 -Wl,-rpath,/usr/lib -o qbolt main.o mainwindow.o interop.o boltdb.o itemwindow.o qrc_resources.o moc_mainwindow.o moc_itemwindow.o   /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread  /home/jyothish/Downloads/qbolt/qbolt/../build/linux/qbolt.a -lpthread
make[1]: Leaving directory '/home/jyothish/Downloads/qbolt/build/linux'
mkdir -p build/win32
CC=/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc CGO_ENABLED=1 GOARCH=386 GOOS=windows \
	go build -ldflags='-s -w' -gcflags='-trimpath=/home/jyothish/Downloads/qbolt' -asmflags='-trimpath=/home/jyothish/Downloads/qbolt' -buildmode=c-archive -o build/win32/qbolt.a
# runtime/cgo
cgo: C compiler "/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc" not found: exec: "/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc": stat /usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc: no such file or directory
make: *** [Makefile:35: build/win32/qbolt.a] Error 1
OS: Void Linux GNU/Linux Libc: musl ``` ~/D/qbolt> make mkdir -p build/linux go build -ldflags='-s -w' -gcflags='-trimpath=/home/jyothish/Downloads/qbolt' -asmflags='-trimpath=/home/jyothish/Downloads/qbolt' -buildmode=c-archive -o build/linux/qbolt.a go: downloading go.etcd.io/bbolt v1.3.5 cd build/linux && qmake ../../qbolt/qbolt.pro && make Info: creating stash file /home/jyothish/Downloads/qbolt/build/linux/.qmake.stash make[1]: Entering directory '/home/jyothish/Downloads/qbolt/build/linux' /usr/lib/qt5/bin/uic ../../qbolt/mainwindow.ui -o ui_mainwindow.h /usr/lib/qt5/bin/uic ../../qbolt/itemwindow.ui -o ui_itemwindow.h g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o main.o ../../qbolt/main.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o mainwindow.o ../../qbolt/mainwindow.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o interop.o ../../qbolt/interop.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o boltdb.o ../../qbolt/boltdb.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o itemwindow.o ../../qbolt/itemwindow.cpp /usr/lib/qt5/bin/rcc -name resources ../../qbolt/resources.qrc -o qrc_resources.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o qrc_resources.o qrc_resources.cpp g++ -pipe -O2 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/qt5/mkspecs/features/data/dummy.cpp /usr/lib/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/jyothish/Downloads/qbolt/build/linux/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/jyothish/Downloads/qbolt/qbolt -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/13.2.0 -I/usr/include/c++/13.2.0/x86_64-linux-musl -I/usr/include/c++/13.2.0/backward -I/usr/local/include -I/usr/include -I/usr/lib64/gcc/x86_64-linux-musl/13.2.0/include ../../qbolt/mainwindow.h -o moc_mainwindow.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_mainwindow.o moc_mainwindow.cpp /usr/lib/qt5/bin/moc -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /home/jyothish/Downloads/qbolt/build/linux/moc_predefs.h -I/usr/lib/qt5/mkspecs/linux-g++ -I/home/jyothish/Downloads/qbolt/qbolt -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/include/c++/13.2.0 -I/usr/include/c++/13.2.0/x86_64-linux-musl -I/usr/include/c++/13.2.0/backward -I/usr/local/include -I/usr/include -I/usr/lib64/gcc/x86_64-linux-musl/13.2.0/include ../../qbolt/itemwindow.h -o moc_itemwindow.cpp g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../qbolt -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/lib/qt5/mkspecs/linux-g++ -o moc_itemwindow.o moc_itemwindow.cpp g++ -Wl,-O1 -Wl,-rpath,/usr/lib -o qbolt main.o mainwindow.o interop.o boltdb.o itemwindow.o qrc_resources.o moc_mainwindow.o moc_itemwindow.o /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread /home/jyothish/Downloads/qbolt/qbolt/../build/linux/qbolt.a -lpthread make[1]: Leaving directory '/home/jyothish/Downloads/qbolt/build/linux' mkdir -p build/win32 CC=/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc CGO_ENABLED=1 GOARCH=386 GOOS=windows \ go build -ldflags='-s -w' -gcflags='-trimpath=/home/jyothish/Downloads/qbolt' -asmflags='-trimpath=/home/jyothish/Downloads/qbolt' -buildmode=c-archive -o build/win32/qbolt.a # runtime/cgo cgo: C compiler "/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc" not found: exec: "/usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc": stat /usr/lib/mxe/usr/bin/i686-w64-mingw32.static-gcc: no such file or directory make: *** [Makefile:35: build/win32/qbolt.a] Error 1 ```
Author

Nvm, that was only the win32 build. I edited the Makefile to bypass it.

Nvm, that was only the win32 build. I edited the Makefile to bypass it.
Owner

Glad you figured it out - you can also build a single Makefile target by running make build/linux/qbolt.

Glad you figured it out - you can also build a single Makefile target by running `make build/linux/qbolt`.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: code.ivysaur.me/qbolt#7
No description provided.