[yocto] rpi-basic-image-1.0-r0 do_rootfs: Function failed: do_rootfs

mohammed aqdam mohammedaqdam at gmail.com
Wed Aug 16 04:10:24 PDT 2017


On 8/16/17, mohammed aqdam <mohammedaqdam at gmail.com> wrote:
> oot at pcz-ee207837-2:/u/my_poky/poky/build# bitbake rpi-hwup-image
> Parsing recipes: 100%
> |##########################################################################################################################################|
> Time: 0:03:19
> Parsing of 1963 .bb files complete (0 cached, 1963 parsed). 2716
> targets, 194 skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION        = "1.34.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "ubuntu-14.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "raspberrypi3"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.3.1"
> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4
> callconvention-hard cortexa7"
> TARGET_FPU        = "hard"
> meta
> meta-poky
> meta-yocto-bsp    = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
> meta-oe
> meta-python
> meta-multimedia
> meta-networking   = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
>
> Initialising tasks: 100%
> |#######################################################################################################################################|
> Time: 0:00:08
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: rpi-hwup-image-1.0-r0 do_rootfs: Error executing a python
> function in exec_python_func() autogenerated:
>
> The stack trace of python calls that resulted in this exception/failure
> was:
> File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
>      0001:
>  *** 0002:do_rootfs(d)
>      0003:
> File: '/u/my_poky/poky/meta/classes/image.bbclass', lineno: 270,
> function: do_rootfs
>      0266:
>      0267:    progress_reporter.next_stage()
>      0268:
>      0269:    # generate rootfs
>  *** 0270:    create_rootfs(d, progress_reporter=progress_reporter,
> logcatcher=logcatcher)
>      0271:
>      0272:    progress_reporter.finish()
>      0273:}
>      0274:do_rootfs[dirs] = "${TOPDIR}"
> File: '/u/my_poky/poky/meta/lib/oe/rootfs.py', lineno: 1005, function:
> create_rootfs
>      1001:        RpmRootfs(d, manifest_dir, progress_reporter,
> logcatcher).create()
>      1002:    elif img_type == "ipk":
>      1003:        OpkgRootfs(d, manifest_dir, progress_reporter,
> logcatcher).create()
>      1004:    elif img_type == "deb":
>  *** 1005:        DpkgRootfs(d, manifest_dir, progress_reporter,
> logcatcher).create()
>      1006:
>      1007:    os.environ.clear()
>      1008:    os.environ.update(env_bkp)
>      1009:
> File: '/u/my_poky/poky/meta/lib/oe/rootfs.py', lineno: 638, function:
> __init__
>      0634:        bb.utils.remove(self.d.getVar('MULTILIB_TEMP_ROOTFS'),
> True)
>      0635:        self.manifest = DpkgManifest(d, manifest_dir)
>      0636:        self.pm = DpkgPM(d, d.getVar('IMAGE_ROOTFS'),
>      0637:                         d.getVar('PACKAGE_ARCHS'),
>  *** 0638:                         d.getVar('DPKG_ARCH'))
>      0639:
>      0640:
>      0641:    def _create(self):
>      0642:        pkgs_to_install = self.manifest.parse_initial_manifest()
> File: '/u/my_poky/poky/meta/lib/oe/package_manager.py', lineno: 1245,
> function: __init__
>      1241:        self.all_arch_list = archs.split()
>      1242:        all_mlb_pkg_arch_list =
> (self.d.getVar('ALL_MULTILIB_PACKAGE_ARCHS') or "").split()
>      1243:        self.all_arch_list.extend(arch for arch in
> all_mlb_pkg_arch_list if arch not in self.all_arch_list)
>      1244:
>  *** 1245:        self._create_configs(archs, base_archs)
>      1246:
>      1247:        self.indexer = DpkgIndexer(self.d, self.deploy_dir)
>      1248:
>      1249:    """
> File: '/u/my_poky/poky/meta/lib/oe/package_manager.py', lineno: 1483,
> function: _create_configs
>      1479:            if variant_arch not in base_arch_list:
>      1480:                base_arch_list.append(variant_arch)
>      1481:
>      1482:        with open(self.apt_conf_file, "w+") as apt_conf:
>  *** 1483:            with
> open(self.d.expand("${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample")) as
> apt_conf_sample:
>      1484:                for line in apt_conf_sample.read().split("\n"):
>      1485:                    match_arch = re.match("  Architecture
> \".*\";$", line)
>      1486:                    architectures = ""
>      1487:                    if match_arch:
> Exception: FileNotFoundError: [Errno 2] No such file or directory:
> '/u/my_poky/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/recipe-sysroot-native/etc/apt/apt.conf.sample'
>
> ERROR: rpi-hwup-image-1.0-r0 do_rootfs: Function failed: do_rootfs
> ERROR: Logfile of failure stored in:
> /u/my_poky/poky/build/tmp/work/raspberrypi3-poky-linux-gnueabi/rpi-hwup-image/1.0-r0/temp/log.do_rootfs.8639
> ERROR: Task
> (/u/my_poky/poky/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb:do_rootfs)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2320 tasks of which 6 didn't need to be
> rerun and 1 failed.
>
> Summary: 1 task failed:
>
> /u/my_poky/poky/meta-raspberrypi/recipes-core/images/rpi-hwup-image.bb:do_rootfs
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
>
> what i'm missing here?
>
>
>
> On 8/12/17, mohammed aqdam <mohammedaqdam at gmail.com> wrote:
>>  Hi There,
>> i was trying rpi-basic-image after adding meta-embedded layer in
>> bblayer.conf file then i got this warning
>>
>> WARNING: No bb files matched BBFILE_PATTERN_meta-oe
>> '^/u/hope_poky/poky/meta-openembedded/'
>>
>> root@(none):/u/hope_poky/poky/build# bitbake -k rpi-basic-image
>> Parsing recipes: 100%
>> |###################################################################################################################################|
>> Time: 0:03:27
>> Parsing of 863 .bb files complete (0 cached, 863 parsed). 1332
>> targets, 64 skipped, 0 masked, 0 errors.
>> WARNING: No bb files matched BBFILE_PATTERN_meta-oe
>> '^/u/hope_poky/poky/meta-openembedded/'
>> NOTE: Resolving any missing task queue dependencies
>>
>> Build Configuration:
>> BB_VERSION        = "1.34.0"
>> BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "ubuntu-14.04"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "raspberrypi3"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "2.3.1"
>> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4
>> callconvention-hard cortexa7"
>> TARGET_FPU        = "hard"
>> meta
>> meta-poky
>> meta-yocto-bsp    = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
>> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
>> meta-openembedded = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"
>>
>> how to resolve the above warning?
>>
>>
>> to enable camera i was trying with rpi-test-image, after adding
>> meta-openembedded layer into bblayer.conf, when i run bitbake i got
>> this errors...
>>
>> root@(none):/u/hope_poky/poky_for_mon/poky/build# bitbake -k
>> rpi-test-image
>> Parsing recipes: 100%
>> |###################################################################################################################################|
>> Time: 0:05:39
>> Parsing of 1518 .bb files complete (0 cached, 1518 parsed). 2129
>> targets, 159 skipped, 0 masked, 0 errors.
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-1080p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-1080p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-1080p']
>> NOTE: Runtime target 'packagegroup-rpi-test' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['packagegroup-rpi-test',
>> 'bigbuckbunny-1080p']
>> NOTE: Runtime target 'rpi-test-image' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['rpi-test-image',
>> 'packagegroup-rpi-test', 'bigbuckbunny-1080p']
>> ERROR: Nothing RPROVIDES 'crda' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'crda' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['crda']
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-480p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-480p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-480p']
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-720p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-720p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-720p']
>> ERROR: Nothing PROVIDES 'libomxil' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: libomxil was skipped: because it has a restricted license not
>> whitelisted in LICENSE_FLAGS_WHITELIST
>> NOTE: Runtime target 'omxplayer' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['omxplayer', 'libomxil']
>> ERROR: Nothing PROVIDES 'libav' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
>> restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
>> ERROR: Nothing PROVIDES 'samba' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: Nothing RPROVIDES 'omxplayer-dev' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-mulroot@(none):/u/hope_poky/poky_for_mon/poky/build#
>> bitbake -k rpi-test-image
>> Parsing recipes: 100%
>> |###################################################################################################################################|
>> Time: 0:05:39
>> Parsing of 1518 .bb files complete (0 cached, 1518 parsed). 2129
>> targets, 159 skipped, 0 masked, 0 errors.
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-1080p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-1080p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-1080p']
>> NOTE: Runtime target 'packagegroup-rpi-test' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['packagegroup-rpi-test',
>> 'bigbuckbunny-1080p']
>> NOTE: Runtime target 'rpi-test-image' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['rpi-test-image',
>> 'packagegroup-rpi-test', 'bigbuckbunny-1080p']
>> ERROR: Nothing RPROVIDES 'crda' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'crda' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['crda']
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-480p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-480p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-480p']
>> ERROR: Nothing RPROVIDES 'bigbuckbunny-720p' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'bigbuckbunny-720p' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['bigbuckbunny-720p']
>> ERROR: Nothing PROVIDES 'libomxil' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: libomxil was skipped: because it has a restricted license not
>> whitelisted in LICENSE_FLAGS_WHITELIST
>> NOTE: Runtime target 'omxplayer' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['omxplayer', 'libomxil']
>> ERROR: Nothing PROVIDES 'libav' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: ffmpeg PROVIDES libav but was skipped: because it has a
>> restricted license not whitelisted in LICENSE_FLAGS_WHITELIST
>> ERROR: Nothing PROVIDES 'samba' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> DEPENDS on or otherwise requires it)
>> ERROR: Nothing RPROVIDES 'omxplayer-dev' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb
>> RDEPENDS on or otherwise requires it)
>> ERROR: No eligible RPROVIDERs exist for 'omxplayer-dev'
>> NOTE: Runtime target 'omxplayer-dev' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['omxplayer-dev']
>> ERROR: Nothing RPROVIDES 'python-imaging' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-devtools/python/python-sense-hat_2.1.0.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'python-imaging' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-imaging']
>> NOTE: Runtime target 'python-sense-hat' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-sense-hat',
>> 'python-imaging']
>> ERROR: Nothing RPROVIDES 'python-sense-hat-dev' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-devtools/python/python-sense-hat_2.1.0.bb
>> RDEPENDS on or otherwise requires it)
>> ERROR: No eligible RPROVIDERs exist for 'python-sense-hat-dev'
>> NOTE: Runtime target 'python-sense-hat-dev' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-sense-hat-dev']
>>
>> Build Configuration:
>> BB_VERSION        = "1.34.0"
>> BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "ubuntu-14.04"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "raspberrypi3"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "2.3.1"
>> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4
>> callconvention-hard cortexa7"
>> TARGET_FPU        = "hard"
>> meta
>> meta-poky
>> meta-yocto-bsp    = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
>> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
>> meta-oe           = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"
>>
>> ERROR: All buildable tasks have been run but the build is incomplete
>> (--continue mode). Errors for the tasks that failed will have been
>> printed above.    | ETA:  0:00:09
>> ERROR: Command execution failed: 1
>>
>> Summary: There were 12 ERROR messages shown, returning a non-zero exit
>> code.timedia/omxplayer/omxplayer_git.bb RDEPENDS on or otherwise
>> requires it)
>> ERROR: No eligible RPROVIDERs exist for 'omxplayer-dev'
>> NOTE: Runtime target 'omxplayer-dev' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['omxplayer-dev']
>> ERROR: Nothing RPROVIDES 'python-imaging' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-devtools/python/python-sense-hat_2.1.0.bb
>> RDEPENDS on or otherwise requires it)
>> NOTE: Runtime target 'python-imaging' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-imaging']
>> NOTE: Runtime target 'python-sense-hat' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-sense-hat',
>> 'python-imaging']
>> ERROR: Nothing RPROVIDES 'python-sense-hat-dev' (but
>> /u/hope_poky/poky_for_mon/poky/meta-raspberrypi/recipes-devtools/python/python-sense-hat_2.1.0.bb
>> RDEPENDS on or otherwise requires it)
>> ERROR: No eligible RPROVIDERs exist for 'python-sense-hat-dev'
>> NOTE: Runtime target 'python-sense-hat-dev' is unbuildable, removing...
>> Missing or unbuildable dependency chain was: ['python-sense-hat-dev']
>>
>> Build Configuration:
>> BB_VERSION        = "1.34.0"
>> BUILD_SYS         = "x86_64-linux"
>> NATIVELSBSTRING   = "ubuntu-14.04"
>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>> MACHINE           = "raspberrypi3"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "2.3.1"
>> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4
>> callconvention-hard cortexa7"
>> TARGET_FPU        = "hard"
>> meta
>> meta-poky
>> meta-yocto-bsp    = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
>> meta-raspberrypi  = "master:f6a2ca21c72b8d97cd0f89a0a436bf90b431698b"
>> meta-oe           = "master:a8b54e300be027fefe8a774ca1861d0fb8e80d99"
>>
>> ERROR: All buildable tasks have been run but the build is incomplete
>> (--continue mode). Errors for the tasks that failed will have been
>> printed above.    | ETA:  0:00:09
>> ERROR: Command execution failed: 1
>>
>> Summary: There were 12 ERROR messages shown, returning a non-zero exit
>> code.
>> how to solve this errors? is there any reciepy i have to change to use
>> rpi-test -image?
>>
>



More information about the yocto mailing list