Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2015-09-06
Date: Mon, 7 Sep 2015 10:53:13 +0100	[thread overview]
Message-ID: <55ED5E89.7050002@imgtec.com> (raw)
In-Reply-To: <20150907094852.GG2213@tarshish>

Dear Baruch Siach,

On 09/07/2015 10:48 AM, Baruch Siach wrote:
> Hi Vincent,
> 
> On Mon, Sep 07, 2015 at 10:30:22AM +0100, Vicente Olivert Riera wrote:
>> On 09/07/2015 07:30 AM, Thomas Petazzoni wrote:
>>> Build statistics for 2015-09-06
>>> ===============================
>>
>>>     mips64el | xdriver_xf86-video-r128-6.1... | NOK | http://autobuild.buildroot.net/results/0c469ad4f94c2834cae0e615395a82bc3d2d0946/
>>
>> I have investigated that and I have found the problem.
>>
>> The package xproto_glproto installs the needed headers to $(STAGING_DIR):
>>
>> [snip]
>> make[2]: Entering directory `/br/output/build/xproto_glproto-1.4.17'
>> make[2]: Nothing to be done for `install-exec-am'.
>>  /bin/mkdir -p
>> '/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/GL'
>>  /bin/mkdir -p
>> '/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/GL/internal'
>>  /bin/mkdir -p
>> '/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig'
>>  /usr/bin/install -c -m 644 glcore.h
>> '/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/GL/internal'
>>  /usr/bin/install -c -m 644 glxint.h glxmd.h glxproto.h glxtokens.h
>> '/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/GL'
>>  /usr/bin/install -c -m 644 glproto.pc
>> '/home/ldap/vriera/git-clones/br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig'
>> make[2]: Leaving directory `/br/output/build/xproto_glproto-1.4.17'
>> [snip]
>>
>> But later, the package mesa3d deletes that directory at the end of its
>> 'install_to_staging' phase:
>>
>> [snip]
>> make[1]: Leaving directory `/br/output/build/mesa3d-10.6.6'
>> rm -f
>> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/dri.pc
>> rm -f
>> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/lib/pkgconfig/gl.pc
>> rm -rf
>> /br/output/host/usr/mips64el-buildroot-linux-gnu/sysroot/usr/include/GL/
>>>>> mesa3d 10.6.6 Fixing libtool files
>>>>> mesa3d 10.6.6 Installing to target
>> [snip]
>>
>> And then the package xdriver_xf86-video-r128 can't find the headers that
>> it needs:
>>
>> [snip]
>> r128_dri.c:61:26: fatal error: GL/glxtokens.h: No such file or directory
>>  #include "GL/glxtokens.h"
>> [snip]
>>
>> I'm not sure how to fix this, though. Ideas welcome.
> 
> Maybe make mesa3d an optional dependency of xproto_glproto? The would ensure 
> that xproto_glproto builds after mesa3d.

That was my first thought, but I don't know if it's correct depending on
mesa3d when it's not a real dependency. And also, there could be more
packages installing stuff info $(STAGING_DIR)/usr/include/GL/ so they
would be affected by the same issue. I'm not sure if this is something
that needs to be fixed in the mesa3d package or in the others.

Regards,

Vincent.

> 
> baruch
> 

  reply	other threads:[~2015-09-07  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2015-09-06 Thomas Petazzoni
2015-09-07  9:30 ` Vicente Olivert Riera
2015-09-07  9:48   ` Baruch Siach
2015-09-07  9:53     ` Vicente Olivert Riera [this message]
2015-09-07 13:09 ` Christophe Vu-Brugier

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=55ED5E89.7050002@imgtec.com \
    --to=vincent.riera@imgtec.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox