From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: Andrea Galbusera <gizero@gmail.com>
Cc: Mathias Rudnik <rudnik.mathias@googlemail.com>,
Yocto Project <yocto@yoctoproject.org>
Subject: Re: Error do_compile libepoxy
Date: Mon, 22 Jan 2018 15:08:04 +0200 [thread overview]
Message-ID: <842fae0b-8d4d-2ffd-dbb7-bcd960973400@linux.intel.com> (raw)
In-Reply-To: <CAC+thW1JpGq4p+OhWg-mtxBHwacULiJCvWY7jtxHV5vFkXFDvw@mail.gmail.com>
On 01/19/2018 06:36 PM, Andrea Galbusera wrote:
>> This is where I think the configuration is not quite right. Instead of
>> virtual/libx11, it should say virtual/libgl. And if that dependency cannot
>> be satisfied, then the x11 option should be altogether disabled in the
>> distro/local config (in poky mesa provides virtual/libgl). At least that's
>> how it's configured in many other recipes throughout oe-core.
>
> Can you point to any in particular so I can have a look at the pattern?
Basically anything that mentions 'virtual/libgl' - you can grep the
oe-core layer for it.
>> b) changing the dependency in that option to virtual/libgl and see what kind
>> of error you get, if any. I guess this is the right fix after all.
>
> Nope, below change has no effect. The error is the same as in the
> original post (missing symbols from X11/Xlib.h)
Before producing any patches, I'd really like you to establish the
difference between working and failing build in a systematic way - we've
all been doing 'shotgun debugging based on guessing' up to now to be
honest. Here's how:
1. Do not make any changes to libepoxy recipe, use it as it is now in
oe-core.
2. Build libepoxy with a default plain-poky config, it should succeed.
Copy the working directory of libepoxy somewhere safe for later comparison.
3. Build libepoxy with raspberry config that makes it fail.
4. Carefully compare the working directory of libepoxy with the one that
you saved. What are the differences? How do the configure and compile
steps differ (particularly the output of meson at do_configure stage,
ninja build files, and compiler flags)? How do the sysroots differ,
particularly in what gets installed to /usr/include? It would be great
to establish the specific root cause of the failure vs success and work
out a fix from there.
Alex
next prev parent reply other threads:[~2018-01-22 13:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 12:46 Error do_compile libepoxy Mathias Rudnik
2018-01-17 12:53 ` Burton, Ross
2018-01-17 12:58 ` Andrea Galbusera
2018-01-18 8:58 ` Andrea Galbusera
2018-01-18 9:05 ` Alexander Kanavin
2018-01-18 10:00 ` Martin Jansa
2018-01-18 10:57 ` Alexander Kanavin
2018-01-18 13:13 ` Max Krummenacher
2018-01-18 13:41 ` Andrea Galbusera
2018-01-18 13:49 ` Alexander Kanavin
2018-01-19 3:29 ` Andre McCurdy
2018-01-19 7:45 ` Alexander Kanavin
2018-01-19 10:45 ` Andrea Galbusera
2018-01-19 12:32 ` Alexander Kanavin
2018-01-19 16:36 ` Andrea Galbusera
2018-01-22 13:08 ` Alexander Kanavin [this message]
2018-01-20 9:29 ` Anuj Mittal
2018-01-20 17:07 ` Andrea Galbusera
2018-01-21 15:23 ` Anuj Mittal
2018-01-22 9:12 ` Andrea Galbusera
2018-01-22 13:59 ` Trevor Woerner
2018-01-18 14:08 ` Trevor Woerner
2018-01-18 15:05 ` Michael Gloff
2018-01-18 20:48 ` Trevor Woerner
2018-01-19 1:35 ` Michael Gloff
2018-01-18 9:09 ` Burton, Ross
-- strict thread matches above, loose matches on Subject: below --
2018-01-12 13:39 Mathias Rudnik
2018-01-11 19:18 Mathias Rudnik
2018-01-14 20:05 ` Trevor Woerner
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=842fae0b-8d4d-2ffd-dbb7-bcd960973400@linux.intel.com \
--to=alexander.kanavin@linux.intel.com \
--cc=gizero@gmail.com \
--cc=rudnik.mathias@googlemail.com \
--cc=yocto@yoctoproject.org \
/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.