All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Perez de Castro <aperez@igalia.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Your build results for 2018-03-25
Date: Tue, 27 Mar 2018 20:11:59 +0100	[thread overview]
Message-ID: <20180327201159.GD20140@momiji> (raw)
In-Reply-To: <20180326060025.8B6EC20729@mail.bootlin.com>

Hi,

On Mon, 26 Mar 2018 08:00:25 +0200 (CEST), Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> Build failures related to your packages:
> 
>          arm |                   brotli-1.0.3 | http://autobuild.buildroot.net/results/74d20ff38766466623cc4a9eb18afcda831bc20b
>          arm |                   brotli-1.0.3 | http://autobuild.buildroot.net/results/f1c4b5aeb12af7b7a3e8ae01c219004ecd9befd6

For those two build failures the issue is that ?BR2_SHARED_LIBS? is unset, so
Buildroot passes ?-DBUILD_SHARED_LIBS=OFF? to CMake in order to compile only
static libraries. Unfortunately, the brotli CMake files do not respect the
?BUILD_SHARED_LIBS? variable and always build both static+shared libraries.
I have a PR sent upstream, which is being discussed and I'll send soon for
inclusion in Buildroot:

   https://github.com/google/brotli/pull/655

Also, I have discovered that the woff2 package won't build after patching
brotli, for a different reason: It includes a couple of ?FindBrotlidec.cmake?
and ?FindBrotlienc.cmake? files which assume that pkg-config returns a single
library name; but a static build of brotli will have both e.g. libbrotlienc
and libbrotlicommon, so the latter never gets passed to the linker resulting
in missing symbols. I am also working on a patch for this.

If it gets too hairy, I might consider making the brotli package depend on
?BR2_SHARED_LIBS? until a fix is available.

Cheers,


--
 Adri?n ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180327/e7b8372c/attachment.asc>

           reply	other threads:[~2018-03-27 19:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20180326060025.8B6EC20729@mail.bootlin.com>]

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=20180327201159.GD20140@momiji \
    --to=aperez@igalia.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.