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: 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
 


Home | Main Index | Thread Index | Old Index