Summary: | x11/zenity: 3.16.3 build failure | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | vladimir.chukharev | ||||
Component: | Individual Port(s) | Assignee: | VK <vlad-fbsd> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | jcfyecrayz, vlad-fbsd | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
vladimir.chukharev
2015-08-20 15:37:53 UTC
Linking with c++ instead of cc works around the problem. Adding MAKE_ARGS+=CCLD=g++48 got it to build here (tested on 9.3/stable, 32bit) - webkit-gtk3 was built with g++48. Confirmed, the suggested "MAKE_ARGS+= CCLD=g++48" (after LDFLAGS) fixes build on my AMD64 9.3-stable too. Do not know how to transform this hack to an acceptable solution. Thanks for the report. Is this still an issue? zenity meanwhile upgraded to 3.18. Sorry, I cannot check, I do not have 9.* system anymore. On 10.* it's not a problem, but I think, it was not even at time of the report. From my point of view, this bug can be closed. Thanks. If the problem appears for newer versions, please reopen or file another report. I don't see any problem building on 9-stable now. Notably, libjavascriptcoregtk-4.0.so references /usr/local/lib/libstdc++.so.6 in ldd(1) output now and objdump on that library shows RPATH /usr/local/lib/gcc49:/usr/local/lib. If you force the issue and link with base r9.x libstdc++ (which doesn't have condition_variable) by setting, for example, LD_LIBRARY_PATH=/usr/lib before running zenity, you still get: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.14 required by /usr/local/lib/libwebkit2gtk-4.0.so.37 not found But the way webkit-gtk3 is built now, it points to the right (not base) libstdc++ on 9.x, so the problem in the default building scenario is indeed gone. It was never really a problem with zenity itself, but how webkit-gtk3 used to be built. The CCLD suggestion back then was just a workaround for linking the pure-C zenity. |