[Bug 197906] graphics/vips fails to build when USE_GCC=yes implies GCC 4.9
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 22 01:54:21 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197906
Bug ID: 197906
Summary: graphics/vips fails to build when USE_GCC=yes implies
GCC 4.9
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: danilo at FreeBSD.org
Reporter: gerald at FreeBSD.org
CC: mandree at FreeBSD.org
Blocks: 196712
Assignee: danilo at FreeBSD.org
Flags: maintainer-feedback?(danilo at FreeBSD.org)
This is related to PR 196712 and blocks updating the default version of
GCC from 4.8 to 4.9.
I believe what is happening here is that OpenEXR uses GCC on older
versions of FreeBSD and when linking with the OpenEXR libraries we
then fail to pull in the proper NEWER GCC run-time libraries.
This can be fixed by building (or at least linking) with the same
compiler that OpenEXR is built with. See OpenEXR/Makefile for how
this is done there.
http://package18.nyi.freebsd.org/data/93i386-default-PR196712/2015-01-18_16h49m19s/logs/errors/vips-7.42.1.log
-lhdf5 -lz -L/usr/local/lib -lexif -lm
libtool: link: cc -std=gnu99 -O2 -pipe -fno-strict-aliasing -o .libs/introspect
introspect.o -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include/orc-0.4 -I/usr/local/include/libxml2
-I/usr/local/include/libpng16 -I/usr/local/include/libgsf-1
-I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0
-I/usr/local/include/freetype2 -I/usr/local/include/OpenEXR
-I/usr/local/include/GraphicsMagick -I/usr/local/include -Wl,--export-dynamic
-pthread -pthread -L/usr/local/lib -lgirepository-1.0 ./.libs/libvips.so
-lGraphicsMagick -lpng16 -ltiff -ljpeg -lgmodule-2.0 -lpangoft2-1.0 -lpango-1.0
-lfontconfig -lfreetype -lgsf-1 -lgobject-2.0 -lglib-2.0 -lintl -lxml2 -lfftw3
-lorc-0.4 /usr/local/lib/liblcms2.so -lIlmImf -lImath-2_2 -lIexMath-2_2 -lHalf
-lIex-2_2 -lIlmThread-2_2 -lcfitsio -lwebp -lmatio -lhdf5 -lz -lexif -lm
-pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/lib/libIlmImf.so: undefined reference to
`std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
Makefile:708: recipe for target 'introspect' failed
gmake[3]: *** [introspect] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/graphics/vips/work/vips-7.42.1/libvips'
Makefile:826: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/graphics/vips/work/vips-7.42.1/libvips'
Makefile:626: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/vips/work/vips-7.42.1'
Makefile:530: recipe for target 'all' failed
gmake: *** [all] Error 2
*** [do-build] Error code 1
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer danilo at FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list