Skip to contentSkip to conversation

Build failure on recent yocto download

DISCUSSION Tim Bird 4 participants 13 messages Aug 4, 2011

lore
Share & tools
lore

Tim Bird

author
#0 lore raw

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

I am using 'MACHINE ?= qemuarm' and doing 'bitbake poky-image-sato'

bitbake error messages follow below.

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me. Is there another way to get this code? If I do a git-clone on a remote machine and copy it over to my development host, where do I put it? (Why did the first http-based fetch fail, anyway?) Any help would be appreciated.

Assuming the second error (a cairo build problem with a mutex) is not a cascade from the first, does anyone have any idea what I should do with this? Possible the failure with libpseudo.so is the start of the problem, but if so, how do I investigate and resolve that?

Thanks for any help.
-- Tim

$ bitbake poky-image-sato
Loading cache: 100% |###########################################################################################################################| ETA:  00:00:00
Loaded 957 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################| Time: 00:00:00
Parsing of 783 .bb files complete (749 cached, 34 parsed). 991 targets, 34 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION = "1.11.0"
METADATA_BRANCH = "<unknown>"
METADATA_REVISION = "<unknown>"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky"
DISTRO_VERSION    = "1.0"
TARGET_FPU        = "soft"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1305 of 4708 (ID: 562, /a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-kernel/linux/linux-yocto_git.bb, do_fetch)
NOTE: Running task 1356 of 4708 (ID: 3657, /a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-graphics/cairo/cairo_1.10.2.bb, do_compile)
NOTE: package linux-yocto-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+233213a1e09eae3de7047ff406b156608788ec17-r16: task do_fetch: Started
ERROR: Function 'Fetcher failure for URL: 'git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/arm-versatile-926ejs,meta;name=machine,meta'. Unable to fetch URL
git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/arm-versatile-926ejs,meta;name=machine,meta from any source.' failed
ERROR: Logfile of failure stored in:
/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/qemuarm-poky-linux-gnueabi/linux-yocto-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+233213a1e09eae3de7047ff406b156608788ec17-r16/temp/log.do_fetch.16756 Log data follows:

| NOTE: fetch http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
| git.pokylinux.org[0: 140.211.169.125]: errno=Connection refused
|  fatal: unable to connect a socket (Connection refused)
|  Cloning into bare repository /a/home/tbird/work/yocto/poky-5.0-build/downloads/git2/git.pokylinux.org.linux-yocto-2.6.37...
| ERROR: Function 'Fetcher failure for URL: 'git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/arm-versatile-926ejs,meta;name=machine,meta'. Unable to fetch

URL git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=yocto/standard/arm-versatile-926ejs,meta;name=machine,meta from any source.' failed |
NOTE: package linux-yocto-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+233213a1e09eae3de7047ff406b156608788ec17-r16: task do_fetch: Failed
NOTE: package cairo-1.10.2-r0: task do_compile: Started
ERROR: Function 'do_compile' failed (see /a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/temp/log.do_compile.16757 for further information)
ERROR: Logfile of failure stored in: /a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/temp/log.do_compile.16757 Log data follows:

| NOTE: make -j 6
| make  all-recursive
| make[1]: Entering directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2'
| Making all in src
| make[2]: Entering directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2/src'
| make  all-am
| make[3]: Entering directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2/src'
|   CC     cairo-analysis-surface.lo
|   CC     cairo-arc.lo
|   CC     cairo-array.lo
|   CC     cairo-atomic.lo
|   CC     cairo-base64-stream.lo
|   CC     cairo-base85-stream.lo
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-arc.c:37:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-arc.c:37:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-base64-stream.c:39:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-base64-stream.c:39:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-base64-stream.c:39:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-base64-stream.c:39:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-arc.c:37:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| make[3]: *** [cairo-arc.lo] Error 1
| make[3]: *** Waiting for unfinished jobs....
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-base64-stream.c:39:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-atomic.c:34:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-atomic.c:34:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-atomic.c:34:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-atomic.c:34:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-base85-stream.c:37:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-base85-stream.c:37:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-base85-stream.c:37:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-base85-stream.c:37:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-analysis-surface.c:37:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-analysis-surface.c:37:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-analysis-surface.c:37:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-analysis-surface.c:37:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-array.c:38:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found.  Cairo will not work with multiple threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation
and compile cairo without thread-safety support."
| In file included from cairo-mutex-type-private.h:45:0,
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|                  from cairo-array.c:38:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_impl_t'
| In file included from cairo-scaled-font-private.h:45:0,
|                  from cairoint.h:380,
|                  from cairo-array.c:38:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:139:3: error: #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK not defined"
| cairo-mutex-type-private.h:151:3: error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cairo_recursive_mutex_t'
| In file included from cairoint.h:380:0,
|                  from cairo-array.c:38:
| cairo-scaled-font-private.h:108:5: error: expected specifier-qualifier-list before 'cairo_mutex_t'
| make[3]: *** [cairo-base64-stream.lo] Error 1
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-atomic.c:34:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-base85-stream.c:37:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-analysis-surface.c:37:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| make[3]: *** [cairo-atomic.lo] Error 1
| In file included from cairo-mutex-private.h:62:0,
|                  from cairoint.h:2519,
|                  from cairo-array.c:38:
| cairo-mutex-list-private.h:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_pattern_solid_surface_cache_lock'
| cairo-mutex-list-private.h:41:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_image_solid_cache_mutex'
| cairo-mutex-list-private.h:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_error_mutex'
| cairo-mutex-list-private.h:44:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_toy_font_face_mutex'
| cairo-mutex-list-private.h:45:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_intern_string_mutex'
| cairo-mutex-list-private.h:46:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_map_mutex'
| cairo-mutex-list-private.h:47:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_glyph_page_cache_mutex'
| cairo-mutex-list-private.h:48:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_scaled_font_error_mutex'
| cairo-mutex-list-private.h:51:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_ft_unscaled_font_map_mutex'
| cairo-mutex-list-private.h:55:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_cairo_xlib_display_mutex'
| make[3]: *** [cairo-base85-stream.lo] Error 1
| make[3]: *** [cairo-analysis-surface.lo] Error 1
| make[3]: *** [cairo-array.lo] Error 1
| make[3]: Leaving directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2/src'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/cairo-1.10.2'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see /a/home/tbird/work/yocto/poky-5.0-build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/temp/log.do_compile.16757 for further information)

NOTE: package cairo-1.10.2-r0: task do_compile: Failed
ERROR: Task 562 (/a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-kernel/linux/linux-yocto_git.bb, do_fetch) failed with exit code '1'
ERROR: Task 3657 (/a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-graphics/cairo/cairo_1.10.2.bb, do_compile) failed with exit code '1'
ERROR: '/a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-kernel/linux/linux-yocto_git.bb' failed
ERROR: '/a/home/tbird/work/yocto/poky-bernard-5.0/meta/recipes-graphics/cairo/cairo_1.10.2.bb' failed

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment
=============================

author
#1 lore raw
Quoted 7 lines · Tim Bird

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

Silly me. poky-bernard-5.0.tar.bz2
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment
=============================

#2 lore raw
Quoted 11 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Tim Bird
Sent: Wednesday, August 03, 2011 5:11 PM
To: [email protected]
Subject: Re: [yocto] Build failure on recent yocto download

Quoted 2 lines · Tim Bird

Hi all,

Quoted 7 lines
Quoted 5 lines

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

Silly me. poky-bernard-5.0.tar.bz2
-- Tim

Hey Tim - couple of things -

The current release is http://autobuilder.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2 - so I would hope you might try 5.0.1 instead of 5.0.

The other thing is that we could use a little more detail on what distro & version you are trying this on and what problem you had... Thanks. :-)

Quoted 10 lines

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment
=============================

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#3 lore raw
Quoted 2 lines · David C

The current release is http://autobuilder.yoctoproject.org/downloads/poky/poky-bernard-5.0.1.tar.bz2 - so I would hope you might try 5.0.1 instead of 5.0.

OK - I'll see if I have time to try again.

I was following the instructions at:
http://www.yoctoproject.org/docs/yocto-quick-start/yocto-project-qs.html
You might want to update that, or add instructions there for checking for the latest version.

Quoted 1 line

The other thing is that we could use a little more detail on what distro& version you are trying this on and what problem you had... Thanks. :-)

I'm guessing you missed my first message. But I should have added my distro.
It is Fedora 12 (which is old, I know, but I've prepared it for Yocto use previously). Anyway, I think Joshua's response should resolve the issue. Thanks! :-)
-- Tim

#4 lore raw
In reply to Tim Bird
Quoted 10 lines · Tim Bird

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

I am using 'MACHINE ?= qemuarm' and doing 'bitbake poky-image-sato'

Quoted 8 lines

bitbake error messages follow below.

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me. Is there another way to get this code? If I do a git-clone on a remote machine and copy it over to my development host, where do I put it? (Why did the first http-based fetch fail, anyway?) Any help would be appreciated.

We seem to be missing the kernel tarball on our sources mirror... Let me try and chase that.

Regards,
Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre
#5 lore raw
Quoted 20 lines · Joshua Lock
Quoted 10 lines · Tim Bird

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

I am using 'MACHINE ?= qemuarm' and doing 'bitbake poky-image-sato'

Quoted 8 lines

bitbake error messages follow below.

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me. Is there another way to get this code? If I do a git-clone on a remote machine and copy it over to my development host, where do I put it? (Why did the first http-based fetch fail, anyway?) Any help would be appreciated.

Quoted 2 lines

We seem to be missing the kernel tarball on our sources mirror... Let me try and chase that.

Chased and caught:

joshual@scimitar:~/mess/31

$ wget
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
--2011-08-03 17:50:18--
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
Resolving autobuilder.yoctoproject.org... 140.211.169.118
Connecting to autobuilder.yoctoproject.org|140.211.169.118|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 449232265 (428M) [application/x-gzip]
Saving to: `git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz.1'

Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre
author
#6 lore raw
Quoted 25 lines · Joshua Lock
Quoted 13 lines · Joshua Lock
Quoted 12 lines · Tim Bird

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

I am using 'MACHINE ?= qemuarm' and doing 'bitbake poky-image-sato'

bitbake error messages follow below.

Quoted 8 lines
Quoted 6 lines

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me. Is there another way to get this code? If I do a git-clone on a remote machine and copy it over to my development host, where do I put it? (Why did the first http-based fetch fail, anyway?) Any help would be appreciated.

We seem to be missing the kernel tarball on our sources mirror... Let me try and chase that.

Chased and caught:

joshual@scimitar:~/mess/31

Quoted 10 lines
$ wget
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
--2011-08-03 17:50:18--
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
Resolving autobuilder.yoctoproject.org... 140.211.169.118
Connecting to autobuilder.yoctoproject.org|140.211.169.118|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 449232265 (428M) [application/x-gzip]
Saving to: `git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz.1'

Thanks very much. I'll give it another try.

I've visited the "behind a proxy" help page before. I guess I should have checked that for an update before asking.
-- Tim

#7 lore raw
Quoted 36 lines · Tim Bird
Quoted 25 lines · Joshua Lock
Quoted 13 lines · Joshua Lock
Quoted 12 lines · Tim Bird

Hi all,

I'm not sure where to report this, but I tried again to build Yocto, without success.

I downloaded poky-bernard-4.0.tar.bz2, and followed instructions for installing it.

I am using 'MACHINE ?= qemuarm' and doing 'bitbake poky-image-sato'

bitbake error messages follow below.

Quoted 8 lines
Quoted 6 lines

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me. Is there another way to get this code? If I do a git-clone on a remote machine and copy it over to my development host, where do I put it? (Why did the first http-based fetch fail, anyway?) Any help would be appreciated.

We seem to be missing the kernel tarball on our sources mirror... Let me try and chase that.

Chased and caught:

joshual@scimitar:~/mess/31

Quoted 10 lines
$ wget
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
--2011-08-03 17:50:18--
http://autobuilder.yoctoproject.org/sources/git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz
Resolving autobuilder.yoctoproject.org... 140.211.169.118
Connecting to autobuilder.yoctoproject.org|140.211.169.118|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 449232265 (428M) [application/x-gzip]
Saving to: `git2_git.pokylinux.org.linux-yocto-2.6.37.tar.gz.1'
Quoted 5 lines

Thanks very much. I'll give it another try.

I've visited the "behind a proxy" help page before. I guess I should have checked that for an update before asking.
-- Tim

We don't mind people asking :-)

Let us know how you get on!

Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre
#8 lore raw
In reply to Tim Bird

Tim,

Quoted 3 lines · Tim Bird

The first error is a failure to fetch the kernel, and a follow-on failure to do a git-clone on the kernel. I'm behind a firewall and this is a perennial problem for me.

We have a Spartan page on the project wiki trying to collect the required setup information for users on controlled networks.

Perhaps it can help you get further?

https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

Regards,
Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre
#9 lore raw
In reply to Tim Bird
Quoted 53 lines · Tim Bird
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
| implementation found.  Cairo will not work with multiple
| threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
| limitation

and compile cairo without thread-safety support."

| In file included from cairo-mutex-type-private.h:45:0,
|
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_recursive_mutex_impl_t' In file
| included from cairo-scaled-font-private.h:45:0,
|
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK
| not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK
| not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error
| "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check
| cairo-mutex-impl-private.h." cairo-mutex-type-private.h:139:3: error:
| #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error
| "CAIRO_MUTEX_IMPL_UNLOCK not defined" cairo-mutex-type-private.h:151:3:
| error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_recursive_mutex_t' In file included
| from cairoint.h:380:0,
|
|                  from cairo-arc.c:37:
| cairo-scaled-font-private.h:108:5: error: expected
| specifier-qualifier-list before 'cairo_mutex_t' In file included from
| cairo-mutex-type-private.h:45:0,
|
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-base64-stream.c:39:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
| implementation found.  Cairo will not work with multiple
| threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
| limitation
Quoted 1 line

and compile cairo without thread-safety support."

hmmm this error means you dont have libc headers installed properly. Seems something is broken in your environment. Its probably using some tools from your build system which are not quite in line with what configure wanted Can you post the config.log of cairo somewhere ?

Signature · 1 line
Khem Raj
author
#10 lore raw
Quoted 56 lines · Khem Raj
Quoted 53 lines · Tim Bird
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
| implementation found.  Cairo will not work with multiple
| threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
| limitation

and compile cairo without thread-safety support."

| In file included from cairo-mutex-type-private.h:45:0,
|
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_recursive_mutex_impl_t' In file
| included from cairo-scaled-font-private.h:45:0,
|
|                  from cairoint.h:380,
|
|                  from cairo-arc.c:37:
| cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK
| not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK
| not defined.  Check cairo-mutex-impl-private.h."
| cairo-mutex-type-private.h:55:3: error: #error
| "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check
| cairo-mutex-impl-private.h." cairo-mutex-type-private.h:139:3: error:
| #error "CAIRO_MUTEX_IMPL_LOCK not defined"
| cairo-mutex-type-private.h:142:3: error: #error
| "CAIRO_MUTEX_IMPL_UNLOCK not defined" cairo-mutex-type-private.h:151:3:
| error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
| cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_mutex_t'
| cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm'
| or '__attribute__' before 'cairo_recursive_mutex_t' In file included
| from cairoint.h:380:0,
|
|                  from cairo-arc.c:37:
| cairo-scaled-font-private.h:108:5: error: expected
| specifier-qualifier-list before 'cairo_mutex_t' In file included from
| cairo-mutex-type-private.h:45:0,
|
|                  from cairo-scaled-font-private.h:45,
|                  from cairoint.h:380,
|
|                  from cairo-base64-stream.c:39:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
| implementation found.  Cairo will not work with multiple
| threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
| limitation
Quoted 1 line

and compile cairo without thread-safety support."

Quoted 4 lines

hmmm this error means you dont have libc headers installed properly. Seems something is broken in your environment. Its probably using some tools from your build system which are not quite in line with what configure wanted Can you post the config.log of cairo somewhere ?

OK. I tried it all again, this time with Yocto 5.0.1, and I get the same cairo build error. I found the config log for this in:
poky-5.0.1.build/tmp/work/armv5te-poky-linux-gnueabi/cairo-1.10.2-r0/temp log.do_configure.

I pasted it at:
http://pastebin.com/z0QqgVaE

The only thing that looks suspicious to me is:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

I don't know anything about how libpseudo.so is used, so I don't know if this is a big problem or not (but I fear host tool or lib contamination if Pseudo is not being used correctly.

There's also this inability to link with pthread.

Quoted 2 lines

checking for cairo's pthread feature...
checking whether cairo's pthread feature could be enabled... no (can't link with -lpthread or -pthread)

That sounds like it might be related to a missing mutex compile problem. ??

And this line from the compile output seems to be the start of the problem:
| cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex implementation found. Cairo will not work with multiple threads. Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this limitation and compile cairo without thread-safety support."

How would I define CAIRO_NO_MUTEX, and rebuild, to check this out?

Once again, I'm running this on Fedora 12, 64-bit system. (But I would have expected any lib dependencies and configure to have been sandboxed from the host libs and environment).

Thanks for any help.
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment
=============================

#11 lore raw
Quoted 3 lines · Tim Bird

The only thing that looks suspicious to me is:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

This is concerning and may cause problems later on. One possible factor here is SELINUX. Do you have that enabled? We've tried to ensure the system works with SELINUX but the policay may vary quite a bit from Fedora 12 to 14 (where I know a build with SELINUX has run).

Quoted 3 lines

I don't know anything about how libpseudo.so is used, so I don't know if this is a big problem or not (but I fear host tool or lib contamination if Pseudo is not being used correctly.

Pseudo is akin to fakeroot, so it allows us to set appropriate permissions for the generated image without requiring root privileges on the build machine.

<snip>

Quoted 2 lines

Once again, I'm running this on Fedora 12, 64-bit system. (But I would have expected any lib dependencies and configure to have been sandboxed from the host libs and environment).

That is how we intend to operate but I know we have had issues with host contamination in the past and may well again in the future. We have the beginnings of some machinery in place to catch these issues earlier, however.

Regards,
Joshua

Signature · 3 lines
Joshua Lock
        Yocto Project "Johannes Factotum"
        Intel Open Source Technology Centre
author
#12 lore raw
Quoted 9 lines · Joshua Lock
Quoted 3 lines · Tim Bird

The only thing that looks suspicious to me is:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored.

This is concerning and may cause problems later on. One possible factor here is SELINUX. Do you have that enabled? We've tried to ensure the system works with SELINUX but the policay may vary quite a bit from Fedora 12 to 14 (where I know a build with SELINUX has run).

I'm not running SELinux. Another developer doing a build of 5.0.1 on an Ubuntu 11.04 platform had no problem with the cairo build, so I'm going to guess it's my distro.

I changed to building poky-image-minimal (GUI is not needed for what I'm doing at the moment), and it built, successfully, in about 30 seconds. 99% of what was needed was already built. The system booted in qemuarm, and I plan to do some more testing of the runtime in the next little bit.

Thanks, all, for the help.
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment
=============================