Bug 12529 - scripts/distro/build-recipe-list.py misses a large number of recipes
Summary: scripts/distro/build-recipe-list.py misses a large number of recipes
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.5 M3
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-02-02 20:46 UTC by California Sullivan
Modified: 2018-03-23 09:27 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description California Sullivan 2018-02-02 20:46:36 UTC
To run the script, add INHERIT += "distrodata" to local.conf, and run the script from the directory above tmp (build directory by default).

First I noticed that linux-yocto doesn't appear in the generated list:

[clsulliv@clsulliv poky]$ grep -E "kernel|linux" recipe-list.txt
cryptodev-linux
kernel-devsrc
kernelshark
linux-firmware
linux-libc-headers
syslinux
util-linux

After a bit of investigation I found that a rather large number of recipes were missing. Some of the missing might not be needed, like image recipes and possibly native and cross tools, but others like bluez5, libx11, systemd, etc, I would absolutely expect to be there. Below I pasted a list of missing recipes after filtering out some of the things we might not need.

[clsulliv@clsulliv poky]$ for i in `find meta/recipes-* -type f -iname *bb -not -iname *native* -not -iname *image* -not -iname *cross* | sed -e "s:.*/::g" -e "s:_.*::g" -e "s:\.bb::g"`; do if [ "$(grep $i$ ../bom/poky/recipe-list.txt)" = "" ]; then echo $i; fi; done
u-boot
u-boot-fw-utils
bluez5
systemd-compat-units
systemd-serialgetty
systemd
buildtools-tarball
meta-go-toolchain
meta-environment-extsdk
signing-keys
testexport-tarball
build-sysroots
package-index
meta-toolchain
meta-environment
volatile-binds
gettext
bsd-headers
fts
glibc-initial
glibc-locale
glibc
musl
pkgconf
pkgconfig
go-runtime
opkg-utils
systemd-bootchart
dpkg
pseudo
pseudo
gcc-runtime
libgfortran
gcc-source
libtirpc
chkconfig
libx11
libx11-diet
libsdl2
mesa
mesa-gl
libsdl
xserver-xorg
linux-yocto-tiny
linux-yocto
linux-yocto-rt
linux-yocto
linux-yocto-tiny
linux-yocto-tiny
linux-yocto-tiny
linux-yocto-rt
linux-yocto
linux-yocto-rt
linux-dummy
linux-yocto
linux-yocto-rt
linux-yocto-dev
ffmpeg
x264
gstreamer1.0-plugins-ugly
gstreamer1.0-libav
gstreamer1.0-omx
mpg123
mpeg2dec
lame
libomxil
rxvt-unicode
libusb-compat
argp-standalone
Comment 1 Ross Burton 2018-03-01 16:27:16 UTC
Fixing milestone

<shakes fist at Randy's browser>
Comment 2 Ross Burton 2018-03-12 09:35:10 UTC
The problem is the script uses "world" instead of "universe".  Got a patch (and some further cleanups) here.