All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] Analysis of build results for 2016-08-09
Date: Sun, 14 Aug 2016 02:37:08 +0200	[thread overview]
Message-ID: <20160814003708.GF5734@free.fr> (raw)
In-Reply-To: <8c55e415-cdc4-96ab-f264-a23f728c0442@mind.be>

Arnout, All,

On 2016-08-14 02:17 +0200, Arnout Vandecappelle spake thusly:
> 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@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.

Exactly. Except that libbsd-overlay really wants to get before
/usr/include because it wants to provide overrides for standard headers.
Beark... :-(

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

We discussed with lldpd's author on IRC, and after his explanations it
looks better to simply disable use of libbsd in lldpd: it is only ever
used for a few functions that anyway have replacement in lldpd, and the
setproctitle() (which does what its names means).

setproctitle has not replacement, but is not a mandatory requirement, so
it can be disabled, which happens when libbsd is not enabled.

So, I'm doing a patch to just disable use of libbsd by lldpd.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2016-08-14  0:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-10  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2016-08-09 Thomas Petazzoni
2016-08-10 14:14 ` [Buildroot] Analysis of build " Thomas Petazzoni
2016-08-10 19:36   ` Waldemar Brodkorb
2016-08-10 20:30     ` Thomas Petazzoni
2016-08-10 22:21   ` Alistair Francis
2016-08-11 20:00     ` Yann E. MORIN
2016-08-11 20:23       ` Thomas Petazzoni
2016-08-12 22:33         ` Alistair Francis
2016-08-12  9:31   ` Jörg Krause
2016-08-17  2:27     ` Matthew Weber
2016-08-17  9:20       ` Yann E. MORIN
2016-08-13 21:14   ` Vivien Didelot
2016-08-13 21:55     ` Yann E. MORIN
2016-08-13 22:14       ` Yann E. MORIN
2016-08-14  0:17         ` Arnout Vandecappelle
2016-08-14  0:37           ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160814003708.GF5734@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.