Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2024 19:47:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278279] www/qt5-webengine: Undefined symbol and build error
Message-ID:  <bug-278279-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278279

            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/co=
re_api.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=3Dcc -B/usr/local/=
bin'
'QMAKE_CXX=3Dc++ -B/usr/local/bin' 'QMAKE_LINK_C=3Dcc -B/usr/local/bin'
'QMAKE_LINK_C_SHLIB=3Dcc -B/usr/local/bin' 'QMAKE_LINK=3Dc++ -B/usr/local/b=
in'
'QMAKE_LINK_SHLIB=3Dc++ -B/usr/local/bin' 'QMAKE_CFLAGS=3D-O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=3D-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS=3D
-Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LI=
BS=3D
QMAKE_CFLAGS_DEBUG=3D QMAKE_CFLAGS_RELEASE=3D QMAKE_CXXFLAGS_DEBUG=3D
QMAKE_CXXFLAGS_RELEASE=3D PREFIX=3D/usr/local CONFIG+=3Drelease 'CONFIG-=3D=
debug
separate_debug_info' QT_CONFIG+=3Drelease 'QT_CONFIG-=3Ddebug separate_debu=
g_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_m=
odule.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=3Dcc -B/usr/local/=
bin'
'QMAKE_CXX=3Dc++ -B/usr/local/bin' 'QMAKE_LINK_C=3Dcc -B/usr/local/bin'
'QMAKE_LINK_C_SHLIB=3Dcc -B/usr/local/bin' 'QMAKE_LINK=3Dc++ -B/usr/local/b=
in'
'QMAKE_LINK_SHLIB=3Dc++ -B/usr/local/bin' 'QMAKE_CFLAGS=3D-O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=3D-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS=3D
-Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LI=
BS=3D
QMAKE_CFLAGS_DEBUG=3D QMAKE_CFLAGS_RELEASE=3D QMAKE_CXXFLAGS_DEBUG=3D
QMAKE_CXXFLAGS_RELEASE=3D PREFIX=3D/usr/local CONFIG+=3Drelease 'CONFIG-=3D=
debug
separate_debug_info' QT_CONFIG+=3Drelease 'QT_CONFIG-=3Ddebug separate_debu=
g_info'
) && /usr/bin/make -f Makefile.core_module
cd process/ && ( test -e Makefile || /usr/local/lib/qt5/bin/qmake -o Makefi=
le
/usr/ports/www/qt5-webengine/work/kde-qtwebengine-5.15.16p9/src/process/pro=
cess.pro
-spec /usr/local/lib/qt5/mkspecs/freebsd-clang 'QMAKE_CC=3Dcc -B/usr/local/=
bin'
'QMAKE_CXX=3Dc++ -B/usr/local/bin' 'QMAKE_LINK_C=3Dcc -B/usr/local/bin'
'QMAKE_LINK_C_SHLIB=3Dcc -B/usr/local/bin' 'QMAKE_LINK=3Dc++ -B/usr/local/b=
in'
'QMAKE_LINK_SHLIB=3Dc++ -B/usr/local/bin' 'QMAKE_CFLAGS=3D-O2 -pipe=20
-fstack-protector-strong -fno-strict-aliasing ' 'QMAKE_CXXFLAGS=3D-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing  ' 'QMAKE_LFLAGS=3D
-Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong ' QMAKE_LI=
BS=3D
QMAKE_CFLAGS_DEBUG=3D QMAKE_CFLAGS_RELEASE=3D QMAKE_CXXFLAGS_DEBUG=3D
QMAKE_CXXFLAGS_RELEASE=3D PREFIX=3D/usr/local CONFIG+=3Drelease 'CONFIG-=3D=
debug
separate_debug_info' QT_CONFIG+=3Drelease 'QT_CONFIG-=3Ddebug separate_debu=
g_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/l=
ib
/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*, unsign=
ed
long*)'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** 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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278279-7788>