pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54084: graphics/cinepaint build fails



The following reply was made to PR pkg/54084; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%netbsd.org@localhost
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--
 


Home | Main Index | Thread Index | Old Index