-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I'm trying to build an image but an error happens
$ (fido) MACHINE=beaglebone bitbake core-image-minimal
Loading cache: 100% |##############################################################################################################################################################################| ETA: 00:00:00
Loaded 2014 entries from dependency cache.
Parsing recipes: 100% |############################################################################################################################################################################| Time: 00:00:00
Parsing of 1532 .bb files complete (1530 cached, 2 parsed). 2015 targets, 101 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-unstable"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "arm armv7a vfp neon"
TARGET_FPU = "vfp-neon"
meta = "fido:f0873b83d693af4a103999160d67fcf25c7eedc1"
meta-rockchip = "master:5b764a372952aa1155eecd6882e3d01015a454e0"
meta-oe = "master:f4533380c8a5c1d229f692222ee0c2ef9d187ef8"
common-bsp = "master:b5c709b2b6bd3bf236df923fa8f245a00fbb1b60"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /opt/openembedded/oe-core/build/tmp-glibc/work/beaglebone-oe-linux-gnueabi/linux-mainline/3.8.13-r23a/temp/log.do_configure.15365)
ERROR: Logfile of failure stored in: /opt/openembedded/oe-core/build/tmp-glibc/work/beaglebone-oe-linux-gnueabi/linux-mainline/3.8.13-r23a/temp/log.do_configure.15365
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| install: cannot create regular file 'drivers/video/logo/logo_linux_clut224.ppm': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /opt/openembedded/oe-core/build/tmp-glibc/work/beaglebone-oe-linux-gnueabi/linux-mainline/3.8.13-r23a/temp/log.do_configure.15365)
ERROR: Task 74 (/opt/openembedded/oe-core/meta-beagleboard/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 856 tasks of which 854 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed:
/opt/openembedded/oe-core/meta-beagleboard/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
The simple fix is to remove the file from the SRC_URI variable
diff --git a/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb b/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
index e2cfe4a..a7c1bf9 100644
--- a/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
+++ b/common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
@@ -704,5 +704,4 @@ SRC_URI += " \
file://fixes/0002-USB-Fix-USB-device-disconnects-on-resume.patch \
file://defconfig \
file://am335x-pm-firmware.bin \
- file://logo_linux_clut224.ppm \
"but I think the real problem is in the recipe linux.inc
#
# logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
#
if [ -e ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm ]; then
install -m 0644 ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
echo "CONFIG_LOGO=y" >> ${S}/.config
echo "CONFIG_LOGO_LINUX_CLUT224=y" >> ${S}/.config
fiwhere I think the right side of the install command misses to build an absolute path (other install commands use the D variable, I don't know if it's the destination directory).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels