[OE-core] State of bitbake world

Jonathan Liu net147 at gmail.com
Fri Jun 7 01:37:54 UTC 2013


On 4 June 2013 22:06, Jack Mitchell <ml at communistcode.co.uk> wrote:
> On 04/06/13 12:58, Martin Jansa wrote:
>>
>> On Mon, Jun 03, 2013 at 05:10:08PM +0200, Martin Jansa wrote:
>>>
>>> On Mon, May 20, 2013 at 03:06:35PM +0200, Martin Jansa wrote:
>>>>
>>>> Couple of issues from last email were fixed, so here is updated status:
>>>>
>>>> qemuarm Summary: 14 tasks failed:
>>>>
>>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130520_090009.log
>>>> qemux86 Summary: 19 tasks failed:
>>>>
>>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130519_170509.log
>>>> qemux86-64 Summary: 20 tasks failed:
>>>>
>>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130520_005747.log
>>>
>>>
>>> Hi,
>>>
>>> updated status, still building with gcc-4.8
>>> shr-version issue already fixed
>>> llvm2.9 also fixed
>>> so if we don't count these 3 failures it's a bit better than last status
>>>
>>> qemuarm Summary: 15 tasks failed:
>>>
>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130601_225651.log
>>>
>>> qemux86 Summary: 18 tasks failed:
>>>
>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130603_011743.log/
>>>
>>> qemux86-64: Summary: 21 tasks failed:
>>>
>>> http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130602_103752.log
>>>
>>> common (13):
>>>
>>> meta-openembedded/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb,
>>> do_compile
>>>    meta-openembedded/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb,
>>> do_compile
>>>
>>> virtual:native:meta-openembedded/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb,
>>> do_compile
>>>    meta-openembedded/meta-oe/recipes-support/emacs/emacs_23.4.bb,
>>> do_compile
>>>    meta-openembedded/meta-oe/recipes-navigation/omgps/omgps_svn.bb,
>>> do_compile
>>>
>>> meta-openembedded/meta-oe/recipes-devtools/packagekit/packagekit_0.5.6.bb,
>>> do_compile
>>>
>>> meta-openembedded/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb,
>>> do_compile
>>>    meta-openembedded/meta-gnome/recipes-gnome/gthumb/gthumb_2.12.4.bb,
>>> do_compile
>>>    meta-openembedded/meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb,
>>> do_configure
>>>
>>> meta-openembedded/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.7.2.bb,
>>> do_compile
>>>
>>> meta-openembedded/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb,
>>> do_compile
>>>    meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb, do_configure
>>>    meta-smartphone/meta-shr/recipes-shr/shr/shr-version.bb,
>>> do_populate_lic
>>>
>>> qemuarm (2):
>>>    meta-openembedded/meta-oe/recipes-support/libunwind/libunwind_1.1.bb,
>>> do_compile
>>>    openembedded-core/meta/recipes-devtools/qemu/qemu_1.4.1.bb, do_compile
>>>
>>> qemux86* common (3):
>>>
>>> openembedded-core/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.6.bb,
>>> do_compile
>>>    meta-openembedded/meta-oe/recipes-support/ode/ode_0.9.bb, do_configure
>>>    openembedded-core/meta/recipes-bsp/grub/grub_2.00.bb, do_package
>>>
>>> qemux86 (2):
>>>    meta-browser/recipes-browser/chromium/chromium_29.0.1518.2.bb,
>>> do_compile
>>>
>>> meta-openembedded/meta-oe/recipes-graphics/xorg-driver/xf86-video-geode_2.11.14.bb,
>>> do_compile
>>>
>>> qemux86-64 (5):
>>>    meta-browser/recipes-mozilla/firefox/firefox_10.0.11esr.bb, do_compile
>>>
>>> meta-openembedded/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb,
>>> do_configure
>>>
>>> meta-openembedded/meta-gnome/recipes-gnome/gnome-session/gnome-session_2.32.1.bb,
>>> do_compile
>>>    meta-browser/recipes-browser/chromium/chromium_29.0.1518.2.bb,
>>> do_compile
>>>
>>> meta-openembedded/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb,
>>> do_configure
>>
>>
>> I forgot to mention that many packages now detect /run directory and
>> install unshipped files, causing many new QA warnings, this isn't complete
>> list,
>> because some packages were reused from sstate-cache:
>>
>> usbmuxd-git: usbmuxd: Files/directories were installed but not shipped
>>    /usr/lib64
>>    /usr/lib64/libusbmuxd.so
>>    /usr/lib64/libusbmuxd.so.1.0.8
>>    /usr/lib64/libusbmuxd.so.2
>>    /usr/lib64/pkgconfig
>>    /usr/lib64/.debug
>>    /usr/lib64/pkgconfig/libusbmuxd.pc
>>    /usr/lib64/.debug/libusbmuxd.so.1.0.8
>> openldap-2.4.23: openldap: Files/directories were installed but not
>> shipped
>>    /run
>> networkmanager-0.9.8.0: networkmanager: Files/directories were installed
>> but not shipped
>>    /run
>>    /run/NetworkManager
>> cherokee-1.2.98: cherokee: Files/directories were installed but not
>> shipped
>>    /run
>> nostromo-1.9.5: nostromo: Files/directories were installed but not shipped
>>    /run
>>    /run/nostromo
>> gdm-2.32.2: gdm: Files/directories were installed but not shipped
>>    /run
>>    /run/gdm
>>    /run/gdm/greeter
>> collectd-5.2.2: collectd: Files/directories were installed but not shipped
>>    /run
>>
>>
>
> What is the best way to go about fixing these?

Fix guide for unshipped files in run directory:

- If package just installs empty run directory, remove it by adding
the following to do_install_append():
rmdir "${D}${localstatedir}/run"
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
Reference: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2aa350acca1c6b6ada6a4508611ce25e9f9576ab

- If the package creates folders inside the run directory, stop the
service, rename to something else and try starting it again. If the
service recreates the folders with the same permissions and still
starts correctly, these folders can be removed in do_install_append()
with:
rm -fr "${D}${localstatedir}/run"
Reference: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aa6408b05c5eb17b6e9fc280069f3b15eafbdab0

- If the package actually requires folders inside run directory to
start up properly and doesn't create them automatically, a file
listing them needs to be added to tmpfiles.d (for systemd) and
volatiles (for sysvinit).
Reference: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9623ccf70221f81861a42cac1eb372d77ea40ba9

Regards,
Jonathan



More information about the Openembedded-core mailing list