All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Issue building cairo
Date: Mon, 20 Oct 2014 18:04:46 -0600	[thread overview]
Message-ID: <5445A31E.10904@mlbassoc.com> (raw)

I was chasing a bug building cairo on my i.MX6Q target and
noticed that the PACKAGECONFIG flags don't seem to be set
correctly.  My DISTRO_FLAGS contains 'x11', but they don't
seem to be reflected in PACKAGECONFIG as I would expect from
the recipe.

Here's what I get:
   % bitbake -e cairo >out
   % grep ^PACKAGECONFIG out
   PACKAGECONFIG="      egl glesv2 egl glesv2"
   % grep ^DISTRO_FEATURES out | grep x11
   DISTRO_FEATURES_DEFAULT="alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11"
   DISTRO_FEATURES="alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd 
libc-cxx-tests libc-catgets libc-charsets libc-crypt                 libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse 
          libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code                                     libc-memusage libc-nis libc-nsswitch libc-rcmd 
libc-rtld-debug libc-spawn libc-streams libc-sunrpc                             libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc 
                     libc-posix-wchar-io largefile opengl ptest multiarch wayland pulseaudio sysvinit"

Looking at the cairo recipe (meta/recipes-graphics/cairo/cairo.inc)
   PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
            ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"

So it seems to me that PACKAGECONFIG should contain 'x11', or
am I confused?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


             reply	other threads:[~2014-10-21  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-21  0:04 Gary Thomas [this message]
2014-10-21 11:40 ` Issue building cairo Daiane Angolini
2014-10-21 11:46   ` Gary Thomas
2014-10-21 11:49     ` Daiane Angolini
2014-10-21 12:02       ` Gary Thomas

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=5445A31E.10904@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=meta-freescale@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.