[Buildroot] Analysis of build results for 2016-08-09

Arnout Vandecappelle arnout at mind.be
Sun Aug 14 00:17:06 UTC 2016


On 14-08-16 00:14, Yann E. MORIN wrote:
> Vivien, All,
> 
> On 2016-08-13 23:55 +0200, Yann E. MORIN spake thusly:
>> On 2016-08-13 17:14 -0400, Vivien Didelot spake thusly:
>>> Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
>>>
>>>>>     mips64el |                    lldpd-0.9.4 | NOK | http://autobuild.buildroot.net/results/c8a6001f437701ecc75f6c9252935645bda8a8c8/
> [--SNIP--]
>>> And this works. What am I doing wrong the reproduce the issue?
>>
>> I was not able to reproduce it either, and all build failures occur on
>> Peter's machine:
>>     http://autobuild.buildroot.org/?reason=lldpd-0.9.4
>>
>> However, the libevent issue is nto the real issue. The config.log hints
>> at a much earlier issue:
> 
> And just because I don;t know how to read... Therer *is* an error...
> 
>>     [--SNIP--]
>>     configure:22887: checking for library containing res_init
>>     configure:22913: /home/peko/autobuild/instance-2/output/host/usr/bin/mips64el-linux-gcc -std=gnu99 -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -isystem /usr/include/bsd -DLIBBSD_OVERLAY   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c  -L/home/peko/autobuild/instance-2/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/lib -lbsd   >&5
>                                                                                                                                                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
> On the line above     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->     ----->    this is libssd being stupid...
> 
> We must fix it, obviously. Yet, that does not eventually prevent the
> configure to finish for me.

 Seems to me that it's because libbsd-overlay uses -isystem instead of -I, so it
doesn't get munged with the sysroot by pkgconf. Either pkgconf should learn to
deal with -isystem, or ... we have to hack libbsd-overlay.pc manually.

 BTW, lldpd should of course also encode this optional dependency on libbsd.

 Regards,
 Arnout



-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list