Build failure on recent yocto download


Tim Bird <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.

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
=============================


Tim Bird <tim.bird@...>
 

On 08/03/2011 05:08 PM, Tim Bird wrote:
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
=============================


David Stewart
 

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

On 08/03/2011 05:08 PM, Tim Bird wrote:
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
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. :-)

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

_______________________________________________
yocto mailing list
yocto@...
https://lists.yoctoproject.org/listinfo/yocto


Joshua Lock <josh@...>
 

On Wed, 2011-08-03 at 17:08 -0700, Tim Bird wrote:
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.
We seem to be missing the kernel tarball on our sources mirror... Let me
try and chase that.

Regards,
Joshua
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre


Joshua Lock <josh@...>
 

On Wed, 2011-08-03 at 17:40 -0700, Joshua Lock wrote:
On Wed, 2011-08-03 at 17:08 -0700, Tim Bird wrote:
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.
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
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre


Joshua Lock <josh@...>
 

Tim,

On Wed, 2011-08-03 at 17:08 -0700, Tim Bird wrote:
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
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre


Khem Raj
 

On Wednesday, August 03, 2011 05:08:43 PM Tim Bird wrote:
| 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."
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 ?

--
Khem Raj


Tim Bird <tim.bird@...>
 

On 8/3/2011 5:50 PM, Joshua Lock wrote:
On Wed, 2011-08-03 at 17:40 -0700, Joshua Lock wrote:
On Wed, 2011-08-03 at 17:08 -0700, Tim Bird wrote:
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.
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'
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


Tim Bird <tim.bird@...>
 

On 8/3/2011 5:33 PM, Stewart, David C wrote:

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.

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


Joshua Lock <josh@...>
 

On Wed, 2011-08-03 at 20:21 -0700, Tim Bird wrote:
On 8/3/2011 5:50 PM, Joshua Lock wrote:
On Wed, 2011-08-03 at 17:40 -0700, Joshua Lock wrote:
On Wed, 2011-08-03 at 17:08 -0700, Tim Bird wrote:
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.
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'
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
--
Joshua Lock
Yocto Project "Johannes factotum"
Intel Open Source Technology Centre


Tim Bird <tim.bird@...>
 

On 08/03/2011 06:44 PM, Khem Raj wrote:
On Wednesday, August 03, 2011 05:08:43 PM Tim Bird wrote:
| 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."
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.
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
=============================


Joshua Lock <josh@...>
 

On Thu, 2011-08-04 at 11:51 -0700, Tim Bird wrote:
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 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>

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
--
Joshua Lock
Yocto Project "Johannes Factotum"
Intel Open Source Technology Centre


Tim Bird <tim.bird@...>
 

On 08/04/2011 01:22 PM, Joshua Lock wrote:
On Thu, 2011-08-04 at 11:51 -0700, Tim Bird wrote:
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
=============================