Hello,

yesterday i tried building an image using the current poky master branch. I had 
some issues, not sure which of them are homemade but i´d like to share anyway


for mesa package_qa fails with:

ERROR: mesa-2_17.1.5-r0 do_package_qa: QA Issue: package libxatracker contains 
bad RPATH 
/home/builder/yocto/poky/build/tmp/work/x86_64-linux/llvm-native/5.0-r0/recipe-sysroot-native/usr/lib:/home/builder/yocto/poky/build/tmp/work/x86_64-linux/llvm-native/5.0-r0/recipe-sysroot-native/lib
 in file 
/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/mesa/2_17.1.5-r0/packages-split/libxatracker/usr/lib/libxatracker.so.2.3.0
 [rpaths]
ERROR: mesa-2_17.1.5-r0 do_package_qa: QA run found fatal errors. Please 
consider fixing them.
ERROR: mesa-2_17.1.5-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: 
/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/mesa/2_17.1.5-r0/temp/log.do_package_qa.12561
ERROR: Task 
(/home/builder/yocto/poky/meta/recipes-graphics/mesa/mesa_17.1.5.bb:do_package_qa)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 8980 tasks of which 8970 didn't need to be rerun 
and 1 failed.

i added 'INSANE_SKIP_libxatracker = "rpaths"  into a bbappend to go on

further, i´m packaging chrome. I encounter problems here since pyro with 
unpacking the .deb 

When doing 'bitbake myimage' it stoppes here:

ERROR: chrome-browser-r0 do_unpack: Unpack failure for URL: 
'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'. 
Unpack command 
PATH="/home/builder/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/builder/yocto/poky/scripts:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot/usr/bin/crossscripts:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot-native/usr/sbin:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot-native/usr/bin:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot-native/sbin:/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/recipe-sysroot-native/bin:/home/builder/yocto/poky/bitbake/bin:/home/builder/yocto/poky/build/tmp/hosttools"
 ar x 
/home/builder/yocto/poky/yocto-downloads/google-chrome-stable_current_amd64.deb 
data.tar.xz && tar --no-same-owner -xpf data.tar.xz && rm data.tar.xz failed 
with return value 2
ERROR: chrome-browser-r0 do_unpack: Function failed: base_do_unpack
ERROR: Logfile of failure stored in: 
/home/builder/yocto/poky/build/tmp/work/core2-64-poky-linux/chrome/browser-r0/temp/log.do_unpack.16529
ERROR: Task 
(/home/builder/yocto/poky/meta-neutrino-x86/recipes-local/chrome/chrome_browser.bb:do_unpack)
 failed with exit code '1'

after doing

'bitbake -c cleansstate chrome'
'bitbake chrome'

it is working then, unless the .deb is removed from download directory. Maybe 
i´m missing something inside the .bb ?

SUMMARY = "Google Chrome"
LICENSE = "proprietary"
LIC_FILES_CHKSUM = 
"file://${WORKDIR}/license;md5=17a6b3d5436a55985b200c725761907a"

SRC_URI = 
"https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
           file://license \
"

SRC_URI[md5sum] = "70f90d19dcf51a87b7f6df788b5fddc7"
SRC_URI[sha256sum] = 
"5c22cc312c360cf7ad84f5f75c6fc6626b59ca529f7f66f65aaab3b9ca8df196"


DEPENDS = "xz-native"
RDEPENDS_${PN} += "cups"

S = "${WORKDIR}"

do_install() {
        install -d ${D}/usr/bin ${D}/usr/share/applications ${D}/opt/google
        cp -rf ${S}/opt/* ${D}/opt/
        cp -rf ${S}/usr/* ${D}/usr/
        ln -sf ./google-chrome-stable ${D}/usr/bin/google-chrome
        cp -rf ${S}/etc/* ${D}${sysconfdir}
        for i in 16 32 48 128 256;do
                x='x'
                install -d ${D}/usr/share/icons/hicolor/$i$x$i/apps
                cp -f ${S}/opt/google/chrome/product_logo_$i.png 
${D}/usr/share/icons/hicolor/$i$x$i/apps/google-chrome.png
        done
}

FILES_${PN} = "/usr \
                       /opt \
                       /etc \
"

INSANE_SKIP_${PN} += "already-stripped ldflags build-deps file-rdeps"

After sucessful build of the Image, my .iso has 38MB in size and seems to be 
missing the entire rootfs
The created hddimg has the right size of 4,3GB, but when i write it onto an usb 
drive (tried dd and gnome-disk-utility) it ends up with a big /boot partiton 
containing only the boot files

regards,
Markus
-- 
Markus Volk <[email protected]>
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to