All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/uboot-tools: version.h collision
Date: Fri, 27 Jul 2018 16:00:18 +0200	[thread overview]
Message-ID: <20180727160018.50824219@windsurf> (raw)
In-Reply-To: <CANQCQpZW+maukTjSf5ZP_LcpzDyiKZ=6Cws2ak_PbPDBa48XfQ@mail.gmail.com>

Hello,

On Fri, 27 Jul 2018 08:46:37 -0500, Matthew Weber wrote:

> > This issue has already been fixed. It was btrfs-progs that was
> > installing a version.h header directly in usr/include. It has been
> > fixed by:
> >
> >   https://git.buildroot.org/buildroot/commit/package/btrfs-progs?id=83b40e1ea2e3ce046d7db442b01c3bfe52886ce8
> >
> > I agree it is nice to fix it properly upstream so that the presence of
> > a header with a conflicting name doesn't confuse U-Boot, but I don't
> > think it's worth having this patch in Buildroot since the problem no
> > longer occurs.
> 
> Figured out why I though it was still an error, 2018.05.x doesn't have
> that btrfs patch and occasionally fails.

I notified Peter about this, and he said he backported it to 2018.05:

  http://lists.busybox.net/pipermail/buildroot/2018-July/226228.html

And indeed:

  https://git.buildroot.org/buildroot/commit/?h=2018.05.x&id=2bc7184ba3b86149e473a266c185352418120abd

So it should already be fixed in 2018.05.

If you look at
http://autobuild.buildroot.net/?reason=uboot-tools-2018.03, the
PLAIN_VERSION issue stopped on July 19. The more recent issue on July
27 is different, it is:

/home/peko/autobuild/instance-0/output/host/lib/gcc/arm-buildroot-linux-musleabihf/6.4.0/libgcc.a(_dvmd_lnx.o): In function `__aeabi_idiv0':
/home/peko/autobuild/instance-0/output/build/host-gcc-final-6.4.0/build/arm-buildroot-linux-musleabihf/libgcc/../../../libgcc/config/arm/lib1funcs.S:1354: undefined reference to `raise'
collect2: error: ld returned 1 exit status

This is due to -static missing while linking, in a purely static musl
configuration. So that's obviously not related to version.h/btrfs-progs.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-07-27 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-27  3:50 [Buildroot] [PATCH] package/uboot-tools: version.h collision Matt Weber
2018-07-27  7:03 ` Thomas Petazzoni
2018-07-27 13:46   ` Matthew Weber
2018-07-27 14:00     ` Thomas Petazzoni [this message]
2018-07-27 14:14       ` Matthew Weber

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=20180727160018.50824219@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --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.