All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake core-image-sato fails
@ 2014-12-12  6:46 matti kaasinen
  2014-12-12  7:41 ` Richard Purdie
  2014-12-18  9:43 ` matti kaasinen
  0 siblings, 2 replies; 5+ messages in thread
From: matti kaasinen @ 2014-12-12  6:46 UTC (permalink / raw)
  To: poky, paul.eggleton

[-- Attachment #1: Type: text/plain, Size: 1610 bytes --]

Hi!

I get following error message when trying to run :
bitbake core-image-sato
from scratch.

---------- snip -----------
ERROR: libxml-parser-perl-native: chrpath command failed with exit code 7:
/TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/sysroot-destdir/TMPDIR/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/auto/XML/Parser/Expat/Expat.so:
RPATH=/TMPDIR/sysroots/x86_64-linux/usr/lib
new rpath '$ORIGIN/../../../../../../../../../usr/lib' too large; maximum
length 37

ERROR: Function failed
ERROR: Logfile of failure stored in:
/TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/temp/log.do_populate_sysroot.2122
ERROR: Task 3021 (virtual:native:/yocto/poky/meta/recipes-devtools/perl/
libxml-parser-perl_2.41.bb, do_populate_sysroot) failed with exit code '1'
---------- snip -----------

This seems pretty much the same as in:
http://lists.openembedded.org/pipermail/openembedded-core/2012-August/067002.html
at Aug 17, 2012

My settings are















*:BB_VERSION        = "1.20.0"BUILD_SYS         =
"x86_64-linux"NATIVELSBSTRING   = "Ubuntu-14.04"TARGET_SYS        =
"arm-poky-linux-gnueabi"MACHINE           = "pengwyn"DISTRO            =
"poky"DISTRO_VERSION    = "1.5.1"TUNE_FEATURES     = "armv7a vfp
neon"TARGET_FPU        = "vfp-neon"meta              meta-yocto
meta-yocto-bsp    =
"(nobranch):b626e109e83384558f45dc2e30e7caec677ce1db"meta-ti           =
"(nobranch):ceb91a69d1b647a8d35874f3ad2bc7c03063b92c"meta-pengwyn      =
"(nobranch):4423abf8eb802befb147e28376045dcdce860d13"*

*Cheers,*

*Matti*

[-- Attachment #2: Type: text/html, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake core-image-sato fails
  2014-12-12  6:46 bitbake core-image-sato fails matti kaasinen
@ 2014-12-12  7:41 ` Richard Purdie
  2014-12-12  7:55   ` matti kaasinen
  2014-12-18  9:43 ` matti kaasinen
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2014-12-12  7:41 UTC (permalink / raw)
  To: matti kaasinen; +Cc: paul.eggleton, poky

On Fri, 2014-12-12 at 08:46 +0200, matti kaasinen wrote:
> I get following error message when trying to run :
> bitbake core-image-sato 
> from scratch.
>
> ---------- snip ----------- 
> ERROR: libxml-parser-perl-native: chrpath command failed with exit
> code 7:
> /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/sysroot-destdir/TMPDIR/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/auto/XML/Parser/Expat/Expat.so: RPATH=/TMPDIR/sysroots/x86_64-linux/usr/lib
> new rpath '$ORIGIN/../../../../../../../../../usr/lib' too large;
> maximum length 37
>
> ERROR: Function failed
> ERROR: Logfile of failure stored
> in: /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/temp/log.do_populate_sysroot.2122
> ERROR: Task 3021
> (virtual:native:/yocto/poky/meta/recipes-devtools/perl/libxml-parser-perl_2.41.bb, do_populate_sysroot) failed with exit code '1'
> ---------- snip ----------- 
>
> This seems pretty much the same as in:
> http://lists.openembedded.org/pipermail/openembedded-core/2012-August/067002.html
> at Aug 17, 2012
> 
Its trying to fit a 43 character string into a field 37 long. The reason
is the very short path you're building in (/TMPDIR), if you a slightly
deeper path (by say seven extra characters), this error should be
resolved.

I think in later versions we did improve this with the patch:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6fcb96076ca60ef30062fda0ff8308cc840ab07d

so you could also try cherry-picking that and I think it may work
better.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake core-image-sato fails
  2014-12-12  7:41 ` Richard Purdie
@ 2014-12-12  7:55   ` matti kaasinen
  0 siblings, 0 replies; 5+ messages in thread
From: matti kaasinen @ 2014-12-12  7:55 UTC (permalink / raw)
  To: Richard Purdie; +Cc: paul.eggleton, poky

[-- Attachment #1: Type: text/plain, Size: 2003 bytes --]

Thank  you Richard,
I thought: the shorter, the better...
Anyhow, I think I got the same error when I tried to with
/yocto/yocto/build/tmp. That I'm not sure, though as then I had other
problems in my mind.
I'll try your advices,
Thanks,
Matti

2014-12-12 9:41 GMT+02:00 Richard Purdie <richard.purdie@linuxfoundation.org
>:
>
> On Fri, 2014-12-12 at 08:46 +0200, matti kaasinen wrote:
> > I get following error message when trying to run :
> > bitbake core-image-sato
> > from scratch.
> >
> > ---------- snip -----------
> > ERROR: libxml-parser-perl-native: chrpath command failed with exit
> > code 7:
> >
> /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/sysroot-destdir/TMPDIR/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/auto/XML/Parser/Expat/Expat.so:
> RPATH=/TMPDIR/sysroots/x86_64-linux/usr/lib
> > new rpath '$ORIGIN/../../../../../../../../../usr/lib' too large;
> > maximum length 37
> >
> > ERROR: Function failed
> > ERROR: Logfile of failure stored
> > in:
> /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/temp/log.do_populate_sysroot.2122
> > ERROR: Task 3021
> > (virtual:native:/yocto/poky/meta/recipes-devtools/perl/
> libxml-parser-perl_2.41.bb, do_populate_sysroot) failed with exit code '1'
> > ---------- snip -----------
> >
> > This seems pretty much the same as in:
> >
> http://lists.openembedded.org/pipermail/openembedded-core/2012-August/067002.html
> > at Aug 17, 2012
> >
> Its trying to fit a 43 character string into a field 37 long. The reason
> is the very short path you're building in (/TMPDIR), if you a slightly
> deeper path (by say seven extra characters), this error should be
> resolved.
>
> I think in later versions we did improve this with the patch:
>
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6fcb96076ca60ef30062fda0ff8308cc840ab07d
>
> so you could also try cherry-picking that and I think it may work
> better.
>
> Cheers,
>
> Richard
>
>
>

[-- Attachment #2: Type: text/html, Size: 2846 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake core-image-sato fails
  2014-12-12  6:46 bitbake core-image-sato fails matti kaasinen
  2014-12-12  7:41 ` Richard Purdie
@ 2014-12-18  9:43 ` matti kaasinen
  2014-12-18  9:50   ` Richard Purdie
  1 sibling, 1 reply; 5+ messages in thread
From: matti kaasinen @ 2014-12-18  9:43 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 6678 bytes --]

Hi!
I replaced chrpath.bbclass with the latest one. This resolved the original
problem. Then bitbake proceeded until:
ERROR: Function failed: do_compile (log file is located at
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.8-r0/temp/log.do_compile.25157)
ERROR: Logfile of failure stored in:
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.8-r0/temp/log.do_compile.25157

I tried also with dizzy - only difference was that e2fsprogs version
changed to 1.42.9-r0.

What might go wrong? Whole error log below:
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| cd ./util ; make subst
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/util'
| gcc  -c
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/e2fsprogs-1.42.9/util/subst.c
-o subst.o
| gcc   -o subst subst.o
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/util'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: `util/subst.conf' is up to date.
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: `lib/config.h' is up to date.
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| ./util/subst -f ./util/subst.conf
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/e2fsprogs-1.42.9/lib/
dirpaths.h.in lib/dirpaths.h
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| cd .; CONFIG_FILES=./lib/ext2fs/ext2_types.h ./config.status
| config.status: creating ./lib/ext2fs/ext2_types.h
| config.status: creating lib/config.h
| config.status: lib/config.h is unchanged
| config.status: executing po-directories commands
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| cd .; CONFIG_FILES=./lib/blkid/blkid_types.h ./config.status
| config.status: creating ./lib/blkid/blkid_types.h
| config.status: creating lib/config.h
| config.status: lib/config.h is unchanged
| config.status: executing po-directories commands
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| cd .; CONFIG_FILES=./lib/uuid/uuid_types.h ./config.status
| config.status: creating ./lib/uuid/uuid_types.h
| config.status: creating lib/config.h
| config.status: lib/config.h is unchanged
| config.status: executing po-directories commands
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/lib/et'
| ../../util/subst -f ../../util/subst.conf
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/e2fsprogs-1.42.9/lib/et/
compile_et.sh.in compile_et
| /bin/chmod +x compile_et
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/lib/et'
| make[1]: Entering directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/lib/ext2fs'
| ../../util/subst -f ../../util/subst.conf
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/e2fsprogs-1.42.9/lib/ext2fs/
ext2_err.et.in ext2_err.et
| ../et/compile_et --build-tree ext2_err.et
| chmod: ext2_err.h: new permissions are r--rw-r--, not r--r--r--
| chmod: ext2_err.c: new permissions are r--rw-r--, not r--r--r--
| make[1]: *** [ext2_err.h] Error 1
| make[1]: Leaving directory
`/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/build/lib/ext2fs'
| make: *** [subs] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.9-r0/temp/log.do_compile.25157)
ERROR: Task 1008 (/yocto/poky/meta/recipes-devtools/e2fsprogs/
e2fsprogs_1.42.9.bb, do_compile) failed with exit code '1'


2014-12-12 8:46 GMT+02:00 matti kaasinen <matti.kaasinen@gmail.com>:
>
> Hi!
>
> I get following error message when trying to run :
> bitbake core-image-sato
> from scratch.
>
> ---------- snip -----------
> ERROR: libxml-parser-perl-native: chrpath command failed with exit code 7:
> /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/sysroot-destdir/TMPDIR/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/auto/XML/Parser/Expat/Expat.so:
> RPATH=/TMPDIR/sysroots/x86_64-linux/usr/lib
> new rpath '$ORIGIN/../../../../../../../../../usr/lib' too large; maximum
> length 37
>
> ERROR: Function failed
> ERROR: Logfile of failure stored in:
> /TMPDIR/work/x86_64-linux/libxml-parser-perl-native/2.41-r3/temp/log.do_populate_sysroot.2122
> ERROR: Task 3021 (virtual:native:/yocto/poky/meta/recipes-devtools/perl/
> libxml-parser-perl_2.41.bb, do_populate_sysroot) failed with exit code '1'
> ---------- snip -----------
>
> This seems pretty much the same as in:
>
> http://lists.openembedded.org/pipermail/openembedded-core/2012-August/067002.html
> at Aug 17, 2012
>
> My settings are
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *:BB_VERSION        = "1.20.0"BUILD_SYS         =
> "x86_64-linux"NATIVELSBSTRING   = "Ubuntu-14.04"TARGET_SYS        =
> "arm-poky-linux-gnueabi"MACHINE           = "pengwyn"DISTRO            =
> "poky"DISTRO_VERSION    = "1.5.1"TUNE_FEATURES     = "armv7a vfp
> neon"TARGET_FPU        = "vfp-neon"meta              meta-yocto
> meta-yocto-bsp    =
> "(nobranch):b626e109e83384558f45dc2e30e7caec677ce1db"meta-ti           =
> "(nobranch):ceb91a69d1b647a8d35874f3ad2bc7c03063b92c"meta-pengwyn      =
> "(nobranch):4423abf8eb802befb147e28376045dcdce860d13"*
>
> *Cheers,*
>
> *Matti*
>
>

[-- Attachment #2: Type: text/html, Size: 7996 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bitbake core-image-sato fails
  2014-12-18  9:43 ` matti kaasinen
@ 2014-12-18  9:50   ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2014-12-18  9:50 UTC (permalink / raw)
  To: matti kaasinen; +Cc: poky

On Thu, 2014-12-18 at 11:43 +0200, matti kaasinen wrote:
> Hi!
> I replaced chrpath.bbclass with the latest one. This resolved the
> original problem. Then bitbake proceeded until:
> ERROR: Function failed: do_compile (log file is located
> at /TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.8-r0/temp/log.do_compile.25157)
> ERROR: Logfile of failure stored
> in: /TMPDIR/work/armv7a-vfp-neon-poky-linux-gnueabi/e2fsprogs/1.42.8-r0/temp/log.do_compile.25157
>
> I tried also with dizzy - only difference was that e2fsprogs version
> changed to 1.42.9-r0.

Somehow the chmod operation is failing :(

What kind of filesystem are you building this on?

Cheers,

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-18  9:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12  6:46 bitbake core-image-sato fails matti kaasinen
2014-12-12  7:41 ` Richard Purdie
2014-12-12  7:55   ` matti kaasinen
2014-12-18  9:43 ` matti kaasinen
2014-12-18  9:50   ` Richard Purdie

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.