Bug 200477

Summary: graphics/vigra: produces broken library after hdf5 update
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Works As Intended    
Severity: Affects Many People CC: amdmi3, dim, rhurlin, sunpoet
Priority: --- Flags: bugzilla: maintainer-feedback? (fluffy)
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-26 23:36:57 UTC
% cat 1.cc
int main() { return 0; }
% c++ 1.cc -L /usr/local/lib -lvigraimpex
/usr/local/lib/libvigraimpex.so: undefined reference to `std::__1::basic_ios<char, std::__1::char_traits<char> >::widen(char) const'
c++: error: linker command failed with exit code 1 (use -v to see invocation)

This breaks at least graphics/lprof-devel:

http://beefy3.nyi.freebsd.org/data/head-i386-default/p387393_s283537/logs/lprof-devel-20080514_12.log
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-26 23:39:38 UTC
Also, it may not use conditional compiler:*c++11*, as dependent ports must use the same C++ compiler.
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2015-05-27 14:11:10 UTC
(In reply to Dmitry Marakasov from comment #0)

Another break is with math/saga, also on HEAD[1][2]. There, it does not find the searched symbol by configure script (autotools) anymore:

checking for VIGRA_RGBE_ReadPixels_Raw in -lvigraimpex... no



[1] http://beefy4.nyi.freebsd.org/data/head-amd64-default/p387393_s283537/logs/saga-2.1.4.log

[2] http://beefy3.nyi.freebsd.org/data/head-i386-default/p387393_s283537/logs/saga-2.1.4.log
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-28 11:30:14 UTC
Fix: this happens after hdf5 update.
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-28 11:44:09 UTC
Um, and it only happens on HEAD
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2015-05-28 11:44:56 UTC
CC dim as well: this may be libc++ issue.
Comment 6 John Marino freebsd_committer freebsd_triage 2015-09-24 08:19:07 UTC
Throw PR back on heap -- port's maintainership has been reset (nobody is maintainer currently)
Comment 7 Dimitry Andric freebsd_committer freebsd_triage 2015-09-24 09:11:27 UTC
Looks like this has been fixed in the mean time.  The graphics/vigra port builds fine for me, and linking something to libvigraimpex works OK:

$ cat 1.cc
int main() { return 0; }
$ c++ 1.cc -L /usr/local/lib -lvigraimpex
<success>
Comment 8 Dmitry Marakasov freebsd_committer freebsd_triage 2015-09-25 15:16:43 UTC
Confirmed.