pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51766: Enabling cwrappers breaks builds on FreeBSD 11
On Wed, Jan 04, 2017 at 05:30:01PM +0000, rodent%NetBSD.org@localhost wrote:
> The following reply was made to PR pkg/51766; it has been noted by GNATS.
>
> From: rodent%NetBSD.org@localhost
> To: Joerg Sonnenberger <joerg%bec.de@localhost>
> Cc: gnats-bugs%NetBSD.org@localhost, joerg%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
> pkgsrc-bugs%netbsd.org@localhost
> Subject: Re: pkg/51766: Enabling cwrappers breaks builds on FreeBSD 11
> Date: Wed, 4 Jan 2017 12:26:19 -0500
>
> On Wed, Jan 04, 2017 at 05:12:03PM +0100, Joerg Sonnenberger wrote:
> > On Wed, Jan 04, 2017 at 03:25:01PM +0000, diro%nixsyspaus.org@localhost wrote:
> > > Attached. Bootstrap was ran using this mk.conf file like:
> > >
> > > ./bootstrap --mk-fragment=/usr/pkg/etc/mk.conf --pkgdbdir=/var/db/pkg
> > >
> > > The mk.conf and mk.conf.example generated by bootstrap have ABI, CC, CXX, CPP,
> > > CLANGBASE, and other variables set as well, which aren't present in the
> > > attached file. However, with USE_CWRAPPERS=no it doesn't make a difference,
> > > because the build works with that variable set.
> >
> > So does it work with the default mk.conf generated by bootstrap?
>
> Yes, it does. However, why does the previously attached mk.conf work with
> USE_CWRAPPERS=no yet fail when it's removed. Does the cwrappers package
> require all those variables to be set in mk.conf for it to work at all?
It is stricter about how it calls the compiler. CLANGBASE is likely the
culprit, without it the detection of clang can silently fail and result
in PKG_CC and friends being set to false. Just because something works
by accident doesn't mean it is correct.
Joerg
Home |
Main Index |
Thread Index |
Old Index