From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/4 RFC] xorg: fix installation paths (branch yem/xorg)
Date: Mon, 2 Nov 2015 18:33:57 +0100 [thread overview]
Message-ID: <20151102173357.GA3935@free.fr> (raw)
In-Reply-To: <20151102181902.33e379e9@gmx.net>
Peter?, Gustavo, Thomas, All,
Peter K. and Thomas: we urgently need input from you on the topic...
On 2015-11-02 18:19 +0100, Peter Seiderer spake thusly:
> On Mon, 2 Nov 2015 07:38:17 -0300, Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:
> > On 01/11/15 20:36, Peter Seiderer wrote:
> > >> The new pkconf bumped in d7f6d320 introduced a change in behaviour: all
> > >> path variables returned by pkgconf are now prefixed with the sysroot
> > >> directory.
> > >>
> > >
> > > ...this commit breaks some other packages too, see [1] for libv4l example.
> > >
> > > This commit removed a patch named '0002-fix-double-sysroot.patch', I think
> > > this patch should somehow be forward ported to the new pkconf packet...
> > >
> > > Regards,
> > > Peter
> >
> > Hi Peter.
> > That's wrong, double-sysroot is natively removed by the newer versions
> > of pkgconf, if you have this:
> >
> > ./usr/lib/pkgconfig/libxslt.pc:Libs: -L${libdir} -lxslt -lxml2
> > -L/home/gustavoz/b/midx11/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib
> > -lz -lm -ldl -lm
> >
> > And do this:
> >
> > $ ./pkg-config --libs libxslt
> > -L/home/gustavoz/b/midx11/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib
> > -lxslt -lz -ldl -lm -lxml2
> >
> > The output is as expected.
> >
>
> But not correct for Qt, eg. for 'moc' while building lib4l, see eg. [1]:
>
> Build statistics for 2015-11-01
> ===============================
> [...]
> mips64el | libv4l-1.8.1 | NOK | http://autobuild.buildroot.net/results/4ecf6d074a608a58d56e3567727028c0ca8dbe2b/
> powerpc | libv4l-1.8.1 | NOK | http://autobuild.buildroot.net/results/d5198d50c2df194138aaf72a1b90bd8d2e272ea1/
> [...]
>
> Both fail with a wrong path for moc (not double sysroot but one time sysroot is one to much):
>
> /bin/bash: /home/buildroot/buildroot-test/scripts/instance-1/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/home/buildroot/buildroot-test/scripts/instance-1/output/host/usr/bin/moc: No such file or directory
> /bin/sh: /home/buildroot/build/instance-0/output/host/usr/powerpc-buildroot-linux-uclibc/sysroot/home/buildroot/build/instance-0/output/host/usr/bin/moc: No such file or directory
> Makefile:1154: recipe for target 'moc_qv4l2.cpp' failed
Indeed, the build is utterly broken *today* for the whole Xorg stack, as
well as any package using Qt.
We must find a solution ASAP, since we'r enearing -rc1 (already two days
late., BTW).
The simplest solution in my opinion is to:
- revert d7f6d320
- add a post-staging-install action to remove comments from .pc files
(to at least fix the nettle problem.
Yet, we'd still have the sdkdir and mapdir issue for the Xorg and
fontutil stuff, but my series addresses the issue.
Peter K., Thoms, we need your input on this.
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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-11-02 17:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-01 23:00 [Buildroot] [PATCH 0/4 RFC] xorg: fix installation paths (branch yem/xorg) Yann E. MORIN
2015-11-01 23:00 ` [Buildroot] [PATCH 1/4 RFC] package/x11r7: introduce X11-global configure options Yann E. MORIN
2015-11-01 23:00 ` [Buildroot] [PATCH 2/4 RFC] package/x11r7/*: fixup all install paths Yann E. MORIN
2015-11-01 23:00 ` [Buildroot] [PATCH 3/4 RFC] core/pkg-generic: allow step hooks to fail a step Yann E. MORIN
2015-11-01 23:00 ` [Buildroot] [PATCH 4/4 RFC] core/pkg-generic: check proper package installation Yann E. MORIN
2015-11-01 23:36 ` [Buildroot] [PATCH 0/4 RFC] xorg: fix installation paths (branch yem/xorg) Peter Seiderer
2015-11-02 10:38 ` Gustavo Zacarias
2015-11-02 17:19 ` Peter Seiderer
2015-11-02 17:33 ` Yann E. MORIN [this message]
2015-11-02 18:04 ` Gustavo Zacarias
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=20151102173357.GA3935@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox