[OE-core] [PATCH v2 00/50] Rootfs/image generation refactoring (cover letter only)

David Nyström david.nystrom at enea.com
Wed Feb 5 12:09:05 UTC 2014


On 2014-02-05 11:58, David Nystrom wrote:
> On Wed, Feb 5, 2014 at 11:07 AM, Laurentiu Palcu
> <laurentiu.palcu at intel.com>wrote:
>
>> V2:
>>   * fix building from feeds for opkg;
>>   * rebase;
>>
>
> | NOTE: ###### Generate rootfs #######
> | NOTE: Installing the following packages: run-postinsts
> packagegroup-core-boot
> | sed: -e expression #1, char 41: unterminated address regex
> | sed: -e expression #1, char 42: unterminated address regex
> | sed: -e expression #1, char 41: unterminated address regex
> | sed: -e expression #1, char 42: unterminated address regex
>
> [david] Why are these seds failing ?, I've seen this in master aswell
> though.

After testing with the yocto 1.5 repo, the postinstall sed failures 
where not seen anymore. Added Bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5789

>
> | NOTE: Installing complementary packages ...
> | NOTE: Installing the following packages:
> | /media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl: the
> ``install'' command requires at least one argument
> | NOTE: Unable to install packages. Command
> /media/sdb5/bld/tmp/sysroots/x86_64-linux/usr/bin/opkg-cl -f
> /media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/opkg.conf
> -o
> /media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/rootfs
> --force_postinstall --prefer-arch-to-version   install  returned 1
> | NOTE: Running intercept scripts:
> | NOTE: Executing write_package_manifest ...
> | DEBUG: Executing python function write_package_manifest
> | NOTE: Building from feeds activated!
> | NOTE: Add all feed with URL
> file:///media/sdb5/oel/build/tmp/deploy/ipk/all
> | NOTE: Add qemuppc feed with URL
> file:///media/sdb5/oel/build/tmp/deploy/ipk/qemuppc
> | NOTE: Add ppc7400 feed with URL
> file:///media/sdb5/oel/build/tmp/deploy/ipk/ppc7400
> | DEBUG: Python function write_package_manifest finished
> | NOTE: Executing license_create_manifest ...
> | DEBUG: Executing shell function license_create_manifest
> | ls: cannot access
> /media/sdb5/bld/tmp/sysroots/qemuppc/pkgdata/runtime-reverse/base-files: No
> such file or directory
> | readlink: missing operand
> | Try 'readlink --help' for more information.
> | basename: missing operand
> | Try 'basename --help' for more information.
> | WARNING: exit code 1 from a shell command.
> | DEBUG: Python function do_rootfs finished
> | ERROR: Function failed: license_create_manifest (log file is located at
> /media/sdb5/bld/tmp/work/qemuppc-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs.29007)
> ERROR: Task 6 (/media/sdb5/poky-contrib/meta/recipes-core/images/
> core-image-minimal.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 504 tasks of which 503 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>    /media/sdb5/poky-contrib/meta/recipes-core/images/core-image-minimal.bb,
> do_rootfs
> Summary: There was 1 ERROR message shown, returning a non-zero exit code
>
> Br,
> David
>

FYI: to easily recreate this testcase:

-Clean build env-

$ grep -C 6 -r FEEDS conf/local.conf
# Default to setting automatically based on cpu count
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
#
# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 
4" would
# be appropriate for example.

BUILD_IMAGES_FROM_FEEDS="1"
IPK_FEED_URIS = " \
 
all##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/all \
	 
${MACHINE}##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/${MACHINE} 
\
 
ppc7400##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/ppc7400 
\
	   "

PACKAGE_CLASSES="ipk" MACHINE="qemuppc" bitbake -c rootfs core-image-minimal

Br,
David




More information about the Openembedded-core mailing list