I'm running bitbake console-image for MACHINES h3600 and hx4700 Building on Debian 6.0.7 on a firewire attached drive (not nfs)
Both fail with: NOTE: recipe libxml-parser-perl-native-2.41-r3: task do_populate_sysroot: Started ERROR: Error executing a python function in /mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ libxml-parser-perl_2.41.bb: CalledProcessError: Command 'tar -cf - -C /mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/i686-linux/libxml-parser-perl-native-2.41-r3/sysroot-destdir///mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/i686-linux -ps . | tar -xf - -C /mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/i686-linux' returned non-zero exit status 2 with output tar: /mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/i686-linux/libxml-parser-perl-native-2.41-r3/sysroot-destdir///mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/i686-linux: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "sstate_task_postfunc", line 10, in <module> ERROR: ERROR: File "sstate_task_postfunc", line 4, in sstate_task_postfunc ERROR: ERROR: File "sstate.bbclass", line 66, in sstate_install ERROR: ERROR: File "/mnt/bdd/setup-scripts/sources/openembedded-core/meta/lib/oe/path.py", line 84, in copytree ERROR: check_output(cmd, shell=True, stderr=subprocess.STDOUT) ERROR: ERROR: File "/mnt/bdd/setup-scripts/sources/openembedded-core/meta/lib/oe/path.py", line 146, in check_output ERROR: raise CalledProcessError(retcode, cmd, output=output) ERROR: ERROR: The code that was being executed was: ERROR: 0006: bb.build.exec_func(intercept, d) ERROR: 0007: sstate_package(shared_state, d) ERROR: 0008: ERROR: 0009: ERROR: *** 0010:sstate_task_postfunc(d) ERROR: 0011: ERROR: [From file: 'sstate_task_postfunc', lineno: 10, function: <module>] ERROR: 0001: ERROR: 0002:def sstate_task_postfunc(d): ERROR: 0003: shared_state = sstate_state_fromvars(d) ERROR: *** 0004: sstate_install(shared_state, d) ERROR: 0005: for intercept in shared_state['interceptfuncs']: ERROR: 0006: bb.build.exec_func(intercept, d) ERROR: 0007: sstate_package(shared_state, d) ERROR: 0008: ERROR: [From file: 'sstate_task_postfunc', lineno: 4, function: sstate_task_postfunc] ERROR: 0062: f.close() ERROR: 0063: ERROR: 0064: # Run the actual file install ERROR: 0065: for state in ss['dirs']: ERROR: *** 0066: oe.path.copytree(state[1], state[2]) ERROR: 0067: ERROR: 0068: for postinst in (d.getVar('SSTATEPOSTINSTFUNCS', True) or '').split(): ERROR: 0069: bb.build.exec_func(postinst, d) ERROR: 0070: ERROR: [From file: 'sstate.bbclass', lineno: 66, function: sstate_install] ERROR: Function failed: sstate_task_postfunc ERROR: Logfile of failure stored in: /mnt/bdd/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/i686-linux/libxml-parser-perl-native-2.41-r3/temp/log.do_populate_sysroot.2283 NOTE: recipe libxml-parser-perl-native-2.41-r3: task do_populate_sysroot: Failed ERROR: Task 1818 (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ libxml-parser-perl_2.41.bb, do_populate_sysroot) failed with exit code '1' On Fri, May 31, 2013 at 7:11 AM, Martin Jansa <martin.ja...@gmail.com>wrote: > On Fri, May 31, 2013 at 05:50:39AM -0600, Gary Thomas wrote: > > On 2013-05-31 03:20, Matthew Hudson wrote: > > > Can anyone give me a hint how to fix this. > > > > > > libxml parser is attempting to build as a package not a native devtool. > > > > > > Normally a native devtool has a task cycle > > > of: do_unpack, do_patch, do_fetch, do_configure, do_package_write, > > > do_build, do_rm_work. > > > > > > libxml-parser-perl has a task cycle of: do_unpack, do_patch, > *do_install, > > > *do_populate_sysroot, do_fetch, do_configure, *do_compile, > > > do_package_write, do_build, do_rm_work. > > > > > > libxml-parser-perl recipe resides in recipes-devtools. Is it in the > wrong > > > place or is the recipe broken? > > recipes-* directory is not important, maybe you want to build > libxml-parser-perl-native (libxml-parser-perl is for target device) > > > Firstly, you should probably be asking this on the OE-core list since > the problem > > has to do with core recipes. When you do, you should include as much > supporting > > information as possible, e.g. your host OS/version, version of the meta > data, target > > MACHINE, etc. Without that full data, there's not much help that can be > provided. > > Also, that list has a lot of eyes and your questions should get better > coverage (this > > list seems rather dead of late...) > > > > This recipe builds fine with current metadata, so I'm guessing(!) that > it may have > > some problem with your setup. > > > > A couple of things to consider try: > > * Try disabling 'rm_work' in your configuration > > * What kind of file system is /mnt/bdd? If it's on an NFS share, try > putting your > > build tree on a local (non-NFS) directory. > > > > > DEBUG: Considering 1815 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_unpack): set([1816]) > > > DEBUG: Considering 1816 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_patch): set([1826, 1820]) > > > DEBUG: Considering 1817 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_install): set([1818, 1823]) > > > DEBUG: Considering 1818 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_populate_sysroot): set([1824, 1053]) > > > DEBUG: Considering 1819 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_fetch): set([1815]) > > > DEBUG: Considering 1820 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_configure): set([1821]) > > > DEBUG: Considering 1821 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_compile): set([1817]) > > > DEBUG: Considering 1822 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_package_write): set([1824, 194, 259, > 389, > > > 2409, 558, 207, 272, 402, 467, 1525, 1590, 2461, 1785, 506, 1759, 2422, > > > 2383, 1343]) > > > DEBUG: Considering 1824 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_build): set([1825, 10]) > > > DEBUG: Considering 1825 > > > > (virtual:native:/mnt/bdd/setup-scripts/sources/openembedded-core/meta/recipes-devtools/perl/ > > > libxml-parser-perl_2.41.bb, do_rm_work): set([12]) > > > _______________________________________________ > > > Angstrom-distro-devel mailing list > > > Angstrom-distro-devel@linuxtogo.org > > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel > > > > > > > -- > > ------------------------------------------------------------ > > Gary Thomas | Consulting for the > > MLB Associates | Embedded world > > ------------------------------------------------------------ > > > > _______________________________________________ > > Angstrom-distro-devel mailing list > > Angstrom-distro-devel@linuxtogo.org > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel > > -- > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com > > _______________________________________________ > Angstrom-distro-devel mailing list > Angstrom-distro-devel@linuxtogo.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel > > _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel