Hi, I've just ported my build to Rocko but I now can't build the SDK, the offending package is u-boot-tools which I have based on u-boot-mkimage (which also fails with the same error message). Does anyone have any idea on how to debug/fix this?
Build Configuration: BB_VERSION = "1.36.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal-4.8" TARGET_SYS = "arm-bia-linux-gnueabi" MACHINE = "varsomam43" DISTRO = "bia" DISTRO_VERSION = "20180207-requiem-r11029" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9" TARGET_FPU = "hard" meta-bia-distro meta-martin meta-martin-bsp = "<unknown>:<unknown>" meta-python meta-oe meta-webserver meta-filesystems = "rocko:a65c1acb1822966c3553de9fc98d8bb6be705c4e" meta-ti = "rocko:4a746c78c3b7060a51cd6a876f69eead363c757c" meta-networking = "rocko:a65c1acb1822966c3553de9fc98d8bb6be705c4e" meta meta-poky = "rocko:1648bcafa3d0e46acee61a34d0a07fabb85b1f8d" meta-security-isafw = "HEAD:489abdc65cefb566d696c8b218aa0b9b99a350ae" NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/1.8/x86_64-nativesdk-libc.tar.bz2;sha256sum=de4947e98e09e1432d069311cc2093974ecb9138a714fd5466f73524de66a693 Initialising tasks: 100% |################################################################################################################################| Time: 0:00:01 NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: nativesdk-u-boot-tools-v2016.03+gitAUTOINC+df61a74e68-r0 do_package: nativesdk-u-boot-tools: chrpath command failed with exit code 7: b'/home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/package/opt/bia/20180207-requiem-r11029/sysroots/x86_64-biasdk-linux/usr/bin/uboot-dumpimage: RPATH=/home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/recipe-sysroot-native/usr/lib:/home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/recipe-sysroot-native/lib\n'b"new rpath '$ORIGIN/../../../../../../../home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/recipe-sysroot-native/usr/lib:$ORIGIN/../../../../../../../home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/recipe-sysroot-native/lib' too large; maximum length 333\n" ERROR: nativesdk-u-boot-tools-v2016.03+gitAUTOINC+df61a74e68-r0 do_package: Function failed: perform_packagecopy ERROR: Logfile of failure stored in: /home/martin/bia-precision-rocko/build/tmp/work/x86_64-nativesdk-biasdk-linux/nativesdk-u-boot-tools/v2016.03+gitAUTOINC+df61a74e68-r0/temp/log.do_package.9810 ERROR: Task (virtual:nativesdk:/home/martin/bia-precision-rocko/build/../yocto/martin/meta-martin-bsp/recipes-bsp/u-boot/u-boot-tools_2016.03.bb:do_package) failed with exit code '1'SUMMARY = "U-Boot native tools" Here's the recipe LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" SECTION = "bootloader" DEPENDS = "openssl" # This revision corresponds to the tag "v2016.03" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "df61a74e6845ec9bdcdd48d2aff5e9c2c6debeaa" PV = "v2016.03+git${SRCPV}" SRC_URI = "git://git.denx.de/u-boot.git;branch=master" S = "${WORKDIR}/git" EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' EXTRA_OEMAKE_class-nativesdk = 'CROSS_COMPILE="${HOST_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' do_compile () { oe_runmake sandbox_defconfig oe_runmake cross_tools NO_SDL=1 } do_install () { install -d ${D}${bindir} # MJT: Looks like these are now part of U-Boot native package so commenting out # Can remove once this is confirmed. # install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage # ln -sf uboot-mkimage ${D}${bindir}/mkimage install -m 0755 tools/mkenvimage ${D}${bindir}/uboot-mkenvimage ln -sf uboot-mkenvimage ${D}${bindir}/mkenvimage install -m 0755 tools/dumpimage ${D}${bindir}/uboot-dumpimage ln -sf uboot-dumpimage ${D}${bindir}/dumpimage install -m 0755 tools/img2brec.sh ${D}${bindir}/uboot-img2brec.sh ln -sf uboot-img2brec.sh ${D}${bindir}/img2brec.sh install -m 0755 tools/img2srec ${D}${bindir}/uboot-img2srec ln -sf uboot-img2srec ${D}${bindir}/img2srec install -m 0755 tools/jtagconsole ${D}${bindir}/uboot-jtagconsole ln -sf uboot-jtagconsole ${D}${bindir}/jtagconsole install -m 0755 tools/netconsole ${D}${bindir}/uboot-netconsole ln -sf uboot-netconsole ${D}${bindir}/netconsole } BBCLASSEXTEND = "native nativesdk" Many Thanks in advance, Martin.
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto