[Bug 278279] www/qt5-webengine: Undefined symbol and build error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Apr 2024 19:47:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278279 Bug ID: 278279 Summary: www/qt5-webengine: Undefined symbol and build error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org On a current 15.0-CURRENT, I got the following error when I try to start a program that has www/qt5-webengine as a dependency (i.e. astro/stellarium, devel/RStudio): ld-elf.so.1: /usr/local/lib/qt5/libQt5WebEngineCore.so.5: Undefined symbol "_ZN6snappy11RawCompressEPKcmPcPm" Next, I rebuilt all dependencies of www/qt5-webengine, which was successful. When I then rebuild www/qt5-webengine itself, I get the following error: cd api/ && ( test -e Makefile.core_api || /usr/local/lib/qt5/bin/qmake -o Makefile.core_api /usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.16p9/src/core/api/core_api.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS= -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.core_api ( test -e Makefile.core_module || /usr/local/lib/qt5/bin/qmake -o Makefile.core_module /usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.16p9/src/core/core_module.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS= -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile.core_module cd process/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o Makefile /usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.16p9/src/process/process.pro -spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=cc -B/usr/local/bin' 'QMAKE_CXX=c++ -B/usr/local/bin' 'QMAKE_LINK_C=cc -B/usr/local/bin' 'QMAKE_LINK_C_SHLIB=cc -B/usr/local/bin' 'QMAKE_LINK=c++ -B/usr/local/bin' 'QMAKE_LINK_SHLIB=c++ -B/usr/local/bin' 'QMAKE_CFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_LFLAGS= -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LIBS= QMAKE_CFLAGS_DEBUG= QMAKE_CFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_CXXFLAGS_RELEASE= PREFIX=/usr/local CONFIG+=release 'CONFIG-=debug separate_debug_info' QT_CONFIG+=release 'QT_CONFIG-=debug separate_debug_info' ) && /usr/bin/make -f Makefile c++ -B/usr/local/bin -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong -pthread -Wl,-rpath,/usr/local/lib/qt5 -Wl,-rpath-link,/usr/local/lib/qt5 -o ../../libexec/QtWebEngineProcess .obj/main.o -L/usr/ports/www/qt5-webengine/work/.build/lib -L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Core.so -lGL /usr/local/lib/qt5/libQt5WebEngineCore.so /usr/local/lib/qt5/libQt5Quick.so /usr/local/lib/qt5/libQt5QmlModels.so /usr/local/lib/qt5/libQt5WebChannel.so /usr/local/lib/qt5/libQt5Qml.so /usr/local/lib/qt5/libQt5Network.so /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Positioning.so /usr/local/lib/qt5/libQt5Core.so /usr/local/bin/ld: /usr/local/lib/qt5/libQt5WebEngineCore.so: undefined reference to `snappy::RawCompress(char const*, unsigned long, char*, unsigned long*)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /usr/ports/www/qt5-webengine/work/.build/src/process *** Error code 1 Seems, there is a problem now with newest update of archivers/snappy? -- You are receiving this mail because: You are the assignee for the bug.