Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2011 12:43:58 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-current@FreeBSD.org, Stefan Esser <se@freebsd.org>, miwi@FreeBSD.org
Subject:   Re: Extend search range of FreeBSD-10 libtools/configure fixup (was: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build)
Message-ID:  <CAGFTUwPqBgA7xHGS39kEGbWLKPpYQh8UmBzueAzDNCAUSdUyUw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> Am 07.12.2011 09:32, schrieb Dimitry Andric:
> > That said, you are most likely running into an issue with the fix for
> > FreeBSD 10-CURRENT in bsd.port.mk, causing the lto-plugin stage
> > configure script to fail.
> >
> > This is because the gcc ports unpack their source code into
> > ${WRKDIR}/gcc-${VERSIONSTRING}, and then override WRKSRC to
> > ${WRKDIR}/build.  Since bsd.port.mk only applies the run-autotools-fixup
> > to ${WRKSRC}, the gcc source itself is not properly fixed up.
> >
> > You can try the attached patch, which fixes this (and fixes it for all
> > other ports that override WKRSRC).
>
> I had solved a similar problem for BDB a few weeks back and made the
> same modification (start searching in WRKDIR instead of in WRKSRC).
>
> This leads to (minimally) higher run time for the fixup, but it should
> make a number of ports currently broken on FBSD10 automagically build
> again ...
>
> And the pattern for libtool/configure type files should sufficiently
> prevent patching of files not touched by the current invocation of "find".
>
> SO I'd vote to get that patch into SVN ...

We've had a patch to do this, and make a few other related changes,
for about a month now.  I'm not sure why it hasn't gone into
bsd.port.mk yet -- perhaps Martin had some other work to do -- but I
think that it will appear soon.

b.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwPqBgA7xHGS39kEGbWLKPpYQh8UmBzueAzDNCAUSdUyUw>