- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
更新:它开始变硬了!!我现在收到以下错误,它在中间停止对 core-image-minimal 进行 bitbake:
Initialising tasks: 100% |##################################################################################################################| Time: 0:00:04
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: systemd-1_232-r0 do_patch: Command Error: 'quilt --quiltrc /home/rama/repositories/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/systemd/1_232-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-systemd-udevd.service.in-set-MountFlags-shared.patch
patching file units/systemd-udevd.service.in
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- rejects in file units/systemd-udevd.service.in
Patch 0001-systemd-udevd.service.in-set-MountFlags-shared.patch does not apply (enforce with -f)
ERROR: systemd-1_232-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/rama/repositories/poky/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/systemd/1_232-r0/temp/log.do_patch.1928
ERROR: Task (/home/rama/repositories/poky/meta/recipes-core/systemd/systemd_232.bb:do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1156 tasks of which 1105 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/rama/repositories/poky/meta/recipes-core/systemd/systemd_232.bb:do_patch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
这是我最终得到的 bitbake 的构建配置输出:
Build Configuration:
BB_VERSION = "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "apalis-imx6"
DISTRO = "poky"
DISTRO_VERSION = "2.3.2"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp
meta-toradex = "pyro:a75a2f4272226e924d8c9deb699a19ca9e606a5b"
meta-mender-core = "pyro:302111e4a79e4844cad536fcc9475764eb254611"
meta-freescale = "pyro:06178400afbd641a6709473fd21d893dcd3cfbfa"
meta-freescale-3rdparty = "pyro:9613dbc02ca970122a01c935bc9e5789ced73a9d"
编辑:按照@Anders 的建议,我用 meta-freescale-3rdparty 替换了 pyro 分支(我检查过)上的 meta-fsl-arm 和 meta-fsl-arm-extra。我现在收到以下错误:
ERROR: Layer 'fsl-arm-extra' depends on layer 'freescale-layer', but this layer is not enabled in your configuration
ERROR: Layer 'fsl-arm-extra' depends on layer 'freescale-layer', but this layer is not enabled in your configuration
编辑:它说文件丢失所以我从这里提供了以下文件 http://cgit.openembedded.org/openembedded-core/tree/meta/classes/image_types_uboot.bbclass?h=daisy
创建了一个文件,现在出现以下错误:
ERROR: /home/rama/repositories/poky/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdimg' - possibly invalid type name or missing support class
ERROR: Failed to parse recipe: /home/rama/repositories/poky/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
我尝试对文件进行 bitbaking,但出现以下错误:
ERROR: ParseError at /home/rama/repositories/poky/meta/classes/image.bbclass:185: Could not inherit file classes/image_types_uboot.bbclass
我有以下元层,都在 pyro 分支上,我尝试使用这些分支我仍然以某种方式遇到相同的错误:
如果我在上面添加元埃,我会收到以下错误:
ERROR: ExpansionError during parsing /home/rama/repositories/poky/meta-angstrom/recipes-angstrom/angstrom/angstrom-version.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable do_install, expression was install -d /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc
echo "Angstrom 2.3.2 (Core edition)" > /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/angstrom-version
echo "Built from branch: pyro" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/angstrom-version
echo "Revision: a75a2f4272226e924d8c9deb699a19ca9e606a5b" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/angstrom-version
echo "Target system: arm-poky-linux-gnueabi" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/angstrom-version
echo "${@get_layers(bb, d)}" > /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/angstrom-build-info
echo "VERSION=\"2.3.2\"" > /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "VERSION_ID=\"2.3.2\"" > /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "NAME=\"Angstrom\"" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "ID=\"angstrom\"" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "PRETTY_NAME=\"The Ångström Distribution 2.3.2\"" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "ANSI_COLOR=\"1;35\"" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
echo "HOME_URL=\"http://www.angstrom-distribution.org\"" >> /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/etc/os-release
install -d /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/usr/bin
install -m 0755 /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/lsb_release /home/rama/repositories/poky/build/tmp/work/apalis_imx6-poky-linux-gnueabi/angstrom-version/2_2.3.2-r12/image/usr/bin/
which triggered exception AttributeError: 'module' object has no attribute 'getVar'
我需要 bitbake 文件并将其安装到我的 apalis imx6 上,我需要这个 meta-angstrom 层吗?
如果我将机器更改为 qemux64 并删除了 toradex、fsl、angstrom 层,它开始 bitabke 就好了!所以这肯定是这些层的问题。
感谢任何帮助!
我在 Ubuntu 14.04 上执行这个
编辑:在 meta-angstrom 上切换到 master 分支我能够解决第二个错误,但是我仍然遇到第一个错误。希望这对其他人有帮助。
编辑:看来问题又出现了,不知道为什么还要调查
编辑:当我 toast 时,我得到这样的东西:
Loading cache: 100% |############################################################################################################################################| Time: 0:00:00
Loaded 158 entries from dependency cache.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead. | ETA: 0:00:16
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
图层上没有信息。
我的图层都是最新的,我已经将它们切换为 master。我还能如何获取图层信息?
编辑:这是我从 bitbake 得到的,没有任何其他信息
bitbake core-image-minimal
WARNING: Host distribution "ubuntu-14.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead. | ETA: 0:00:16
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qtwebkit-examples_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qtwebkit-examples_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead. | ETA: 0:00:17
NOTE: /home/rama/repositories/poky/meta-qt5/recipes-qt/qt5/qttools_git.bb: base_contains is deprecated, please use bb.utils.contains instead.
编辑:local.conf
MACHINE ?= "apalis-imx6"
MENDER_FEATURES_ENABLE_append = " mender-uboot"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
#SDKMACHINE ?= "i686"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
MENDER_ARTIFACT_NAME = "demo-mender-artifact"
INHERIT += "mender-full"
INHERIT += "rm_work"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
IMAGE_FSTYPES = "ext4"
bblayers.conf:
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/rama/repositories/poky/meta \
/home/rama/repositories/poky/meta-poky \
/home/rama/repositories/poky/meta-yocto-bsp \
/home/rama/repositories/meta-mender/meta-mender-core \
/home/rama/repositories/poky/meta-toradex \
/home/rama/repositories/poky/meta-fsl-arm \
/home/rama/repositories/poky/meta-fsl-arm-extra \
/home/rama/repositories/poky/meta-qt5 \
"
我从图层中删除了 meta-angstrom,它似乎也给了我一些其他错误。
我是否遗漏了一些图层?我尝试添加 meta-openembedded 层,如 meta-oe 等,我得到了一些错误,如:
ERROR: ParseError at /home/rama/repositories/poky/meta-openembedded/meta-oe/recipes-support/maliit/maliit-plugins_git.bb:7: Could not inherit file classes/qt4x11.bbclass
所以我也删除了它。
最佳答案
你的错误:
ERROR: /home/rama/repositories/poky/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb: No IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdimg' - possibly invalid type name or missing support class
ERROR: Failed to parse recipe: /home/rama/repositories/poky/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
建议您的其中一个图层未更新为 pyro。进一步查看您的问题,meta-fsl-arm
已严重过时! (没有 pyro 分支等)。该层已被 meta-freescale
取代。
您可能还需要仔细查看例如 meta-fsl-arm-extra
,看看它当前是否得到维护和更新。
这就是我问你每一层的确切分支和版本的原因。 没有 meta-fsl-arm
的 pyro
分支!
关于bitbake - ParseError at/meta/classes/image.bbclass Could not inherit file classes/image_types_uboot.bbclass?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47770132/
我是安卓开发新手。我想知道当我尝试删除错误时,我的代码中出现了一行,即: @SuppressLint({ "ParserError", "ParserError", "ParserError", "P
如何将字符串转换为 chrono::DateTime或 chrono::NaiveDateTime ParseError(NotEnough) 或 ParseError(TooShort) 是什么意思
我正在尝试使用 DOMParser 方法 .parseFromString 将包含 HTML 的数组中的字符串转换为 DOM 元素。 一些字符串出现以下解析错误,我不明白为什么。 这是我用来解析字符串
深入研究语法和特别是 PEG,我想要一个具有以下语法的 DSL: a OR (b AND c) 我正在使用 parsimonious 这里有以下语法: from parsimonious.gramma
当我运行下面的代码时,我得到了一个 mechanize._html.ParseError 异常。 怎么让它闭嘴?我知道它是无效的 html,如果它是一个不错的网站,我不想解析它。我在谷歌周围搜索,并被
我是 Cypress 的 javascrpt 测试新手。我正在用 CSS 测试一个基本的 React 应用程序。无论我直接导入 css 还是使用 css 模块,测试总是失败: ul { ^ Pa
我有以下 Genshi HTML 模板片段,用于生成 HTML。 ${'Hello {name}'.format(name='foo')} Genshi 由于字符串中的大括号而对此感到不满
即使从服务器成功返回,我仍收到 JSON 解析错误。这是我的保存代码,其中始终运行 fail() @model.save() .fail(=> @resetForm() ) .always (
我正在尝试使用 jQuery 和 JSON 执行一些基本操作。目前 jQuery 难以接受来 self 的游戏框架应用程序的 JSON 响应。下面是仍然产生错误的代码的简化版本。 $.ajax({
Gradle 一直无法同步项目。 我收到以下错误消息: 据我所知,解释器在解析模块的 build.gradle 时遇到问题。文件。 这是我的build.gradle : apply plugin: '
我有一个用 Node.js 编写的相当大的库,太大而无法粘贴到此处(> 20 个文件)。我有一个 try..catch 来捕获错误,我调试 catch 部分并 console.log 错误如下: {
好的,使用 jQuery 进行简单的 JSONP 设置,构建时要求我拥有超出搜索词的“静态”URL: function handleJSONPResponse (data, status, reque
我正在尝试使用 pycparser解析此 C 代码: https://github.com/nbeaver/mx-trunk/blob/0b80678773582babcd56fe959d5cfbb7
大部分时间抓取器工作正常,但有时我得到 2014-08-28 11:02:27-0700 [aqicn] DEBUG: Retrying (failed 1 times): [>] 我不明白为什么会
当我在这里使用 WINLess 编译这段代码时出现错误: .icon-text-shadow (@icon-text-shadow: 0.0625rem 0.0625rem rgba(132, 108
我正在尝试从静态页面向 Rails API 进行 API 调用。它们托管在不同的域上,因此我需要启用 CORS - 它可以是预检请求或简单的 CORS 请求。 我收到的错误是ActionDispatc
我正在开发一个非常简单的 Vapor 应用程序。我目前正在研究其中一种观点: #extend("base") #export("body") {
我收到此错误: >>> br = Browser() >>> br.open("http://www.bestforumz.com/forum/") >> >>> br.select_form(nr=
所以我有一个看起来像这样的集合: { date:"20150730", store:"X", catalogue : [{...}, ..., {...}] // ~3000 items },
我正在尝试使用手写笔构建 Vuejs 应用程序。我安装 stylus stylus-loader style-loader css-loader add 添加到 build/webpack.base.
我是一名优秀的程序员,十分优秀!