NetBSD Problem Report #54084

From www@netbsd.org  Wed Mar 27 21:39:58 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 218FC7A174
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 27 Mar 2019 21:39:58 +0000 (UTC)
Message-Id: <20190327213956.05D877A1C3@mollari.NetBSD.org>
Date: Wed, 27 Mar 2019 21:39:55 +0000 (UTC)
From: jdbaker@consolidated.net
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: graphics/cinepaint build fails
X-Send-Pr-Version: www-1.0

>Number:         54084
>Category:       pkg
>Synopsis:       graphics/cinepaint build fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 27 21:40:00 +0000 2019
>Last-Modified:  Tue Apr 09 14:35:01 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.0_STABLE
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 8.0_STABLE NetBSD 8.0_STABLE (PLEX760) #87: Fri Mar 15 23:10:58 CDT 2019  sysop@plex760.technoskunk.fur:/r0/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64

>Description:
Although "graphics/cinepaint" was updated to v1.0.4 (thanks, ryoon!),
it does not build:

[...]
Making all in blur
gmake[2]: Entering directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/plug-ins/blur'
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/python3.6 -Wall  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o blur blur.o ../../lib/libcinepaint.la -L/usr/pkg/lib  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib  -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -L/usr/X11R7/lib -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -Wl,-rpath,/usr/X11R7/lib -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -Wl,-R/usr/pkg/lib -lfreetype  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/l
 ib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib ../../libhalf/cinepaint_half.lo -L/usr/pkg/lib -lIlmImf -Wl,-R/usr/pkg/lib -lImath -lHalf -lIex -lIexMath -lIlmThread  -lc 
libtool: link: gcc -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/include -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/include/libdrm -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/include/freetype2 -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/glib/glib-2.0 -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/glib/gio-unix-2.0 -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/glib-2.0/include -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/python3.6 -Wall -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/X11R7/lib -o .libs/blur blur.o -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/X11R7/lib -Wl,-rpath -Wl,/usr/X11R7/lib -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/X11R7/lib ../../libhalf/.libs/cinepaint_half.o -Wl,-rpath -Wl,/usr/pkg/lib  -L/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/libhalf/.libs -L/tmp/pkgsrc/graphics
 /cinepaint/work/.buildlink/lib -L/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/lib -L../../lib/.libs -lcinepaint -lcinepaintHalf -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lpixman-1 -lxcb-shm -lxcb -lxcb-render -lXrender -lX11 -lXext -lrt -lgdk_pixbuf-2.0 -lpng16 -lgio-2.0 -lgmodule-2.0 -lpangoft2-1.0 -lharfbuzz -lexpat -luuid -lbz2 -lpango-1.0 -lgthread-2.0 -lfribidi -lm -lgobject-2.0 -lffi -lglib-2.0 -lpcre -lintl -lfontconfig -lfreetype -lIlmImf -lz -lpthread -lImath -lHalf -lIexMath -lIlmThread -lIex -lc -pthread  -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib
ld: warning: libfontconfig.so.1, needed by /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfontconfig.so.2
ld: warning: libfreetype.so.6, needed by /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfreetype.so.18
ld: warning: libstdc++.so.7, needed by /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so, not found (try using -rpath or -rpath-link)
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_free_exception@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_guard_acquire@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `VTT for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmThread.so: undefined reference to `std::thread::_State::~_State()@GLIBCXX_3.4.22'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_end_catch@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::close()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::istream::read(char*, long)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ios_base::~ios_base()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_begin_catch@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream::tellp()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream::operator<<(int)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__throw_system_error(int)@GLIBCXX_3.4.11'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_allocate_exception@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libHalf.so: undefined reference to `std::istream& std::istream::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_guard_abort@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::istream::tellg()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_rethrow@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::locale::~locale()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libHalf.so: undefined reference to `std::ostream& std::ostream::_M_insert<double>(double)@GLIBCXX_3.4.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmThread.so: undefined reference to `typeinfo for std::thread::_State@GLIBCXX_3.4.22'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_call_unexpected@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmThread.so: undefined reference to `std::thread::join()@GLIBCXX_3.4.11'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmThread.so: undefined reference to `std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)())@GLIBCXX_3.4.22'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream& std::ostream::_M_insert<long>(long)@GLIBCXX_3.4.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `VTT for std::basic_ifstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmThread.so: undefined reference to `std::terminate()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream::write(char const*, long)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__basic_file<char>::~__basic_file()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream::seekp(std::fpos<__mbstate_t>)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `typeinfo for int@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator delete[](void*, unsigned long)@CXXABI_1.3.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIex.so: undefined reference to `std::exception::~exception()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__dynamic_cast@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::locale::locale()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::basic_filebuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::basic_ofstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_throw@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIex.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::ios_base::ios_base()@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `__cxa_guard_release@CXXABI_1.3'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `vtable for std::basic_ifstream<char, std::char_traits<char> >@GLIBCXX_3.4'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const@GLIBCXX_3.4.21'
/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/libIlmImf.so: undefined reference to `std::istream::seekg(std::fpos<__mbstate_t>)@GLIBCXX_3.4'
gmake[2]: *** [Makefile:384: blur] Error 1
gmake[2]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/plug-ins/blur'
gmake[1]: *** [Makefile:408: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/plug-ins'
gmake: *** [Makefile:662: all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/graphics/cinepaint
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/graphics/cinepaint

>How-To-Repeat:
Attempt to build graphics/cinepaint.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Wed, 27 Mar 2019 21:42:54 +0000
Responsible-Changed-Why:
Adam, can you please give it a look?
(over to MAINTAINER)


From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Sun, 31 Mar 2019 09:33:36 -0500 (CDT)

 Also fails on amd64-current (8.99.36), but differently.  Possibly related
 to libstdc++ version bump not long ago.  A number of other packages fail
 to build with similar fallout.  Will come back to it after rebuilding
 other packages that record a requirement of "libstdc++.so.8*" (having
 moved said libs aside so only libstdc++.so.9* are found).

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Tue, 2 Apr 2019 07:16:52 -0500 (CDT)

 After dealing with the fallout from the "libstdc++.so" major version bump,
 "cinepaint-1.0.4" builds without problems on amd64-current (8.99.36).

 Thus, the problem seems only to affect netbsd-8.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Tue, 2 Apr 2019 15:56:17 -0500 (CDT)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.

 --0-934030970-1554238577=:1708
 Content-Type: TEXT/PLAIN; charset=US-ASCII
 Content-Transfer-Encoding: QUOTED-PRINTABLE

 On Tue, 2 Apr 2019, John D. Baker wrote:

 > After dealing with the fallout from the "libstdc++.so" major version bump=
 ,
 > "cinepaint-1.0.4" builds without problems on amd64-current (8.99.36).
 >=20
 > Thus, the problem seems only to affect netbsd-8.

 The problem on netbsd-8 is similar, yet different.  I found vestiges of
 "/usr/lib/libstdc++.so.7*" lying around.  I removed them and rebuilt
 all packages for which 'ldd' showed a binary/library to have a dependency
 on "libstdc++.so.7".

 After doing so, pkg/54083 seemed resolved (gegl no-longer segfaulted
 and the build of "gimp" succeeded).

 The build of "cinepaint" still fails, but differently than originally
 reported:

 [...]
 Making all in openexr
 gmake[2]: Entering directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint=
 -1.0-4/plug-ins/openexr'
 /bin/sh ../../libtool --tag=3DCXX   --mode=3Dlink c++   -O2 -D_FORTIFY_SOUR=
 CE=3D2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/=
 include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib/glib-=
 2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I=
 /usr/pkg/include/python3.6  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -W=
 l,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o openexr chroma_icc.o =
 openexr.o ../../lib/libcinepaint.la -L/usr/pkg/lib  -L/usr/pkg/lib -Wl,-R/u=
 sr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib =
 -L/usr/pkg/lib  -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0=
  -L/usr/X11R7/lib -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite=
  -lXdamage -lXfixes -lX11 -Wl,-rpath,/usr/X11R7/lib -lXext -latk-1.0 -lcair=
 o -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgli=
 b-2.0 -lintl -lfontconfig -Wl,-R/usr/pkg/lib -lfreetype  -L/usr/pkg/lib -Wl=
 ,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7=
 /lib -L/usr/pkg/lib -lIlmImf -Wl,-R/usr/pkg/lib -lImath -lHalf -lIex -lIexM=
 ath -lIlmThread  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -llcms -lc=20
 libtool: link: c++ -O2 -D_FORTIFY_SOURCE=3D2 -I/tmp/pkgsrc/graphics/cinepai=
 nt/work/.buildlink/include -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-build=
 link/include -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/include/l=
 ibdrm -I/tmp/pkgsrc/graphics/cinepaint/work/.x11-buildlink/include/freetype=
 2 -I/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/glib/glib-2.0 -I=
 /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/include/glib/gio-unix-2.0 -I=
 /tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib/glib-2.0/include -I/tmp/=
 pkgsrc/graphics/cinepaint/work/.buildlink/include/python3.6 -Wl,-rpath -Wl,=
 /usr/pkg/lib -Wl,-rpath -Wl,/usr/X11R7/lib -o .libs/openexr chroma_icc.o op=
 enexr.o -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/X11R7/lib -Wl,-rpat=
 h -Wl,/usr/X11R7/lib -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/li=
 b -Wl,-rpath -Wl,/usr/X11R7/lib -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-rpath -Wl,=
 /usr/pkg/lib  -L/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-1.0-4/libhalf=
 /.libs -L/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib -L/tmp/pkgsrc/g=
 raphics/cinepaint/work/.x11-buildlink/lib -L../../lib/.libs -lcinepaint -lc=
 inepaintHalf -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi -=
 lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lpixma=
 n-1 -lxcb-shm -lxcb -lxcb-render -lXrender -lX11 -lXext -lrt -lgdk_pixbuf-2=
 =2E0 -lpng16 -lgio-2.0 -lgmodule-2.0 -lpangoft2-1.0 -lharfbuzz -lexpat -luu=
 id -lbz2 -lpango-1.0 -lgthread-2.0 -lfribidi -lgobject-2.0 -lffi -lglib-2.0=
  -lpcre -lintl -lfontconfig -lfreetype -lIlmImf -lz -lpthread -lImath -lHal=
 f -lIexMath -lIlmThread -lIex -llcms -lm -lc -pthread -Wl,-rpath,/usr/pkg/l=
 ib -Wl,-rpath,/tmp/pkgsrc/graphics/cinepaint/work/.buildlink/lib
 ld: warning: libfontconfig.so.1, needed by /tmp/pkgsrc/graphics/cinepaint/w=
 ork/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfontconfig.so=
 =2E2
 ld: warning: libfreetype.so.6, needed by /tmp/pkgsrc/graphics/cinepaint/wor=
 k/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfreetype.so.18
 ld: warning: libstdc++.so.7, needed by /tmp/pkgsrc/graphics/cinepaint/work/=
 =2Ebuildlink/lib/libIlmImf.so, may conflict with libstdc++.so.8
 openexr.o: In function `load_image':
 openexr.cxx:(.text+0x1e09): undefined reference to `Iex_2_3::BaseExc::BaseE=
 xc(std::basic_stringstream<char, std::char_traits<char>, std::allocator<cha=
 r> >&)'
 openexr.cxx:(.text+0x1fec): undefined reference to `Iex_2_3::BaseExc::BaseE=
 xc(std::basic_stringstream<char, std::char_traits<char>, std::allocator<cha=
 r> >&)'
 openexr.o: In function `Imf_2_3::TypedAttribute<std::string>::typeName() co=
 nst':
 openexr.cxx:(.text._ZNK7Imf_2_314TypedAttributeISsE8typeNameEv[_ZNK7Imf_2_3=
 14TypedAttributeISsE8typeNameEv]+0x1): undefined reference to `Imf_2_3::Typ=
 edAttribute<std::string>::staticTypeName()'
 openexr.o:(.rodata._ZTVN7Imf_2_314TypedAttributeISsEE[_ZTVN7Imf_2_314TypedA=
 ttributeISsEE]+0x30): undefined reference to `Imf_2_3::TypedAttribute<std::=
 string>::writeValueTo(Imf_2_3::OStream&, int) const'
 openexr.o:(.rodata._ZTVN7Imf_2_314TypedAttributeISsEE[_ZTVN7Imf_2_314TypedA=
 ttributeISsEE]+0x38): undefined reference to `Imf_2_3::TypedAttribute<std::=
 string>::readValueFrom(Imf_2_3::IStream&, int, int)'
 gmake[2]: *** [Makefile:401: openexr] Error 1
 gmake[2]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-=
 1.0-4/plug-ins/openexr'
 gmake[1]: *** [Makefile:408: all-recursive] Error 1
 gmake[1]: Leaving directory '/tmp/pkgsrc/graphics/cinepaint/work/cinepaint-=
 1.0-4/plug-ins'
 gmake: *** [Makefile:662: all-recursive] Error 1
 *** Error code 2

 Stop.
 make[1]: stopped in /x/pkgsrc/graphics/cinepaint
 *** Error code 1

 Stop.
 make: stopped in /x/pkgsrc/graphics/cinepaint



 The issue seems to be related to the fact that "ilmbase" and "openexr"
 require "gcc6" to build on netbsd-8.  They are linked with
 "/usr/pkg/gcc6/lib/./libstdc++.so.7".

 How to sort this out?

 --=20
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 --0-934030970-1554238577=:1708--

From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: =?UTF-8?Q?Adam_Ciarci=C5=84ski?= <adam@netbsd.org>, gnats-admin@netbsd.org, 
	pkgsrc-bugs@netbsd.org, jdbaker@consolidated.net
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Thu, 4 Apr 2019 08:39:13 +0200

 >  The issue seems to be related to the fact that "ilmbase" and "openexr"
 >  require "gcc6" to build on netbsd-8.  They are linked with
 >  "/usr/pkg/gcc6/lib/./libstdc++.so.7".
 >
 >  How to sort this out?

 I think the only way to sort this out is to choose a C++ compiler
 upfront (IIRC GCC_REQD=6 in mk.conf) and rebuild all the things that
 need C++.
 -- 
 Benny

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Thu, 4 Apr 2019 07:04:19 -0500 (CDT)

 On Thu, 4 Apr 2019, Benny Siegert wrote:

 > >  The issue seems to be related to the fact that "ilmbase" and "openexr"
 > >  require "gcc6" to build on netbsd-8.  They are linked with
 > >  "/usr/pkg/gcc6/lib/./libstdc++.so.7".
 > >
 > >  How to sort this out?
 > 
 > I think the only way to sort this out is to choose a C++ compiler
 > upfront (IIRC GCC_REQD=6 in mk.conf) and rebuild all the things that
 > need C++.

 I added:

 .if "${PKGPATH}" == "graphics/cinepaint"
 GCC_REQD+=6
 .endif

 to my "/etc/mk.conf".  The build of "cinepaint" then succeeded.

 I expect trouble in that they require a library from "lang/gcc6" yet
 have no hard dependency on it, so binary packages installed on other
 hosts will be broken at runtime unless the "gcc6-6.5.0nb2" package
 is explicitly installed.  Same for "openexr", "ilmbase", and "gegl".

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@consolidated.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54084: graphics/cinepaint build fails
Date: Tue, 9 Apr 2019 09:31:35 -0500 (CDT)

 On Thu, 4 Apr 2019, John D. Baker wrote:

 > I expect trouble in that they require a library from "lang/gcc6" yet
 > have no hard dependency on it, so binary packages installed on other
 > hosts will be broken at runtime unless the "gcc6-6.5.0nb2" package
 > is explicitly installed.  Same for "openexr", "ilmbase", and "gegl".

 My understanding is that in such a case, the above packages should be
 made to depend on "lang/gcc6-libs" so that the necessary library package
 is installed as a dependency on hosts updating via binary package.

 Any later GCC should work too, but how does one indicate that a package
 "gccX-libs" for any suitable "gccX" should be used instead of the one
 that corresponds to the minimum required?

 (The whole GCC_REQD framework still only looks at the compiler version
 in the host's base system and doesn't consider any that have already
 been installed through pkgsrc.)

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.