svn commit: r384894 - head/lang/gcc5-aux

Tijl Coosemans tijl at FreeBSD.org
Tue Apr 28 15:36:58 UTC 2015


On Tue, 28 Apr 2015 17:21:24 +0200 John Marino <freebsd.contact at marino.st> wrote:
> On 4/28/2015 17:12, Tijl Coosemans wrote:
>> On Tue, 28 Apr 2015 16:59:59 +0200 John Marino <freebsd.contact at marino.st> wrote:
>> 
>> The problem is that it links with libiconv now because it ignores
>> CPPFLAGS (which includes -DLIBICONV_PLUG).  You can check with
>> "pkg query %B gcc5-aux" on FreeBSD 10.
> 
> I didn't revert the entire commit, it's passing CPPFLAGS now.
> Unless you are talking about overriding configure with those
> *_configargs settings?

Yes, the CPPFLAGS you left only affects the first configure script and
that script doesn't pass CPPFLAGS/LIBS to the Makefile it creates.  That
Makefile then runs multiple other configure scripts during build phase.
The only way I found to pass CPPFLAGS/LIBS to these other configure
scripts was *_configargs.

> From your answer, I infer it wasn't linking with libiconv before your
> commit?

It was when libiconv happened to be installed, but with my commit
libiconv is always installed as a build dependency on FreeBSD 10
(because the iconv.h header on FreeBSD 10 is broken).

>> Can you provide a poudriere build log on Dragonfly that shows the
>> error about libintl? 
> 
> sure, I still have it:
> http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/20150426_074600/logs/errors/gcc5-aux-20150422.log

Hmm, can you do a build with only 1 make job?


More information about the svn-ports-head mailing list