[Bug 245946] [PATCH] www/qt5-webengine: devel/double-conversion missing in LIB_DEPENDS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 2 19:23:20 BST 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245946

--- Comment #3 from Andy Mender <andymenderunix at gmail.com> ---
> - Do you get the build errors with a non-poudriere build environment?

Yes, indeed. I build and install new ports via "make install clean" in the port
dir and run regular updates via portmaster to have full control over the build
process.

> - If so, have you already tried to remove the previous version of qt5-webengine with "pkg delete -f" before building the new version?

This I have not tried, but the first time I built it, it was a completely fresh
install of both qt5-webegine and otter-browser.

> In fact, www/qt5-webengine uses some header files that can also be found in devel/double-conversion.
> But it should rather use its own header files of the bundled copy of ICU, that are supplied via the tarball and can be found at the following locations: 
> - "src/3rdparty/chromium/third_party/icu/source/i18n/"
> - "src/3rdparty/chromium/base/third_party/double_conversion/double-conversion" 

Yes, this is what I suspected as well, since the devel/double-conversion port
was extracted from the Chromium source code.

> Also I don't see "libdouble-conversion.so" listed as a (missing) dependency when examining the shared libraries of www/qt5-webengine (= 5.14.2):
> for i in `pkg info -l qt5-webengine | grep -e '\.so$'`; do readelf -d $i | grep conversion; done

This I can't explain. I should've posted this earlier, but here is the end of
the build log:
> c++ -B/usr/local/bin -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/tmp/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: warning: libdouble-conversion.so.3, needed by /usr/local/lib/qt5/libQt5Core.so, not found (try using -rpath or -rpath-link)
> /usr/local/bin/ld: .obj/main.o: in function `main':
> main.cpp:(.text+0xb4): undefined reference to `QtWebEngineCore::processMain(int, char const**)'
> /usr/local/bin/ld: /usr/local/lib/qt5/libQt5Core.so: undefined reference to `double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*)'
> /usr/local/bin/ld: /usr/local/lib/qt5/libQt5Core.so: undefined reference to `double_conversion::StringToDoubleConverter::StringToDouble(char const*, int, int*) const'
> c++: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [../../libexec/QtWebEngineProcess] Error code 1

The same error occurs even with qt5-webengine 5.14.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the kde-freebsd mailing list