[OE-core] [PATCH 2/2] nativesdk-*-provides-dummy: Fixes to allow correct operation with opkg

Luca Boccassi Luca.Boccassi at microsoft.com
Fri Jun 28 16:52:12 UTC 2019


On Thu, 2019-01-03 at 13:59 +0000, Richard Purdie wrote:
> On Mon, 2018-12-31 at 20:56 +0100, Andrej Valek wrote:
> > Your previous solution is working for me, so I was not working on
> > fixing
> > this. I thought, that You will just add missing packages, and that
> > is.
> > I don't have setup for failing machine.
> > 
> > Is there any simple way to get all missing perl packages?
> 
> I reworked the patch a bit, tested and just merged a working version
> of
> it:
> 
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=d4e27863f3874fb7dc543eed8dcf6a8c4d146fb5
> 
> 
> Cheers,
> 
> Richard

Hello Richard,

Due to this change in thud, the populate_sdk step when PACKAGE_CLASSES
is set to package_deb rather than rpm does not work anymore:

2019-06-27T13:18:54.5591007Z [WARN] [15901] ERROR: mc:generic-lnx-
sdk:generic-image-gen1-1.0-r0 do_populate_sdk: Unable to install
packages. Command '/source/build-proj-generic-x86-64-dev/tmp-generic-
lnx-sdk-glibc/work/_generic_x86_64_dev-linux/generic-image-gen1/1.0-
r0/recipe-sysroot-native/usr/bin/apt-get  install --force-yes --allow-
unauthenticated cryptsetup libprotobuf17 libxslt-dev m4 gnupg util-
linux-uuidd openssh-ssh util-linux-uuidgen python3-pip cmake logrotate
volatile-binds-dev sudo update-alternatives-opkg key-store-system-
trusted-privkey util-linux-mkfs libfontconfig1 base-files libgmp-dev
openssh-scp lz4-dev perl libsepol1 diffutils libc-staticdev lighttpd
cryptodev-linux-dev udev-hwdb cppnetlib cppnetlib-staticdev openssl-
staticdev libx11-6 cpio sed-dev openssh-sshd ethtool unzip-dev openssh-
keygen db procps-dev libprotobuf-c-dev diskprep ncurses-staticdev pango
grub util-linux-agetty util-linux-readprofile less util-linux-sulogin
keyutils libatomic-dev libsigc-2.0-0 packagegroup-core-boot util-linux-
utmpdump locale-base-en-us libxext6 gawk libsrpm-dev cppneturi-dev
libxml2-dev libarchive init-ifupdown bzip2-dev dpkg ncurses-dev
libgomp-staticdev shadow-securetty-dev libgcc-s-dev cppnetlib-dev
rsyslog findutils which linux-libc-headers-dev libffi-dev which-dev
util-linux-fsck libarchive-dev makedumpfile liblzo2-dev libxml++-2.6-2
python3 libgomp1 sharutils libubsan1 boost liblzo2-2 packagegroup-core-
standalone-sdk-target dtc shadow-securetty util-linux-lsblk lz4-
staticdev libdevmapper libstdc++-dev libgdbm-dev bridge-utils key-
store-ima-privkey lttng-tools-dev libselinux-bin shadow apt valgrind
util-linux-losetup flex-dev volatile-debug-binds libpng16-16 libc6-dev
grep perf util-linux-mountpoint util-linux-fdisk libprotobuf-dev tpm2-
abrmd libcroco-dev openssl-engines libxrender1 libcgroup-dev make
openssh lttng-tools libreadline-dev ncurses-tools nettle-dev libz-dev
libaio1 libselinux1 grpc-dev e2fsprogs-dev util-linux-sfdisk
libcpprest2.10 util-linux-prlimit rapidjson-dev net-tools tar shared-
mime-info libsrpm1 util-linux-switch-root.static squashfs-tools
openssl-conf selinux-policy curl-dev ntp libz1 libasan5 libnginx-dev
procps zip util-linux-dev libharfbuzz0 socat libsigc-2.0-dev libxcb1
gawk-dev tpm2-tools ima-inspect libgomp-dev iptables openssl-misc
libstdc++6 libgdbm-compat4 libcap-dev update-rc.d db-dev lvm2
packagegroup-core-tools-debug shared-mime-info-dev libcairo2 libgdbm6
libreadline-staticdev libxslt openssl xz lz4 libaio-staticdev libnginx-
staticdev nettle python3-dev base-passwd rsync libstdc++-staticdev
iproute2 ntttcp os-release gettext xz-dev libubsan-dev libxml++-2.6-dev 
libsrpm-staticdev dhcp-client unzip util-linux-mount udev coreutils-dev 
elfutils glibc-binary-localedata-en-us libaio-dev boost-staticdev
cppneturi-staticdev packagegroup-base-extended kbd-keymaps libnginx1
cppneturi bash diffutils-dev m4-dev libglib-2.0-0 libglib-2.0-dev libz-
staticdev util-linux-swaponoff v86d curl libcpprest-dev netbase ima-
evm-utils gzip util-linux-kill glibmm libatomic1 util-linux-cfdisk
systemd-analyze libreadline7 systemd-serialgetty-dev tpm2-tss rrdtool
openssl-bin openssl-dev gettext-dev ifupdown util-linux-switch-root
rng-tools libasan-dev systemd-serialgetty kmod libcap2 util-linux-
getopt grep-dev kdump policycoreutils-setfiles libcroco e2fsprogs-
staticdev target-sdk-provides-dummy acl boost-dev libxml2 e2fsprogs
flex libxft2 libpixman-1-0 shadow-base cryptodev-linux libffi6 attr
packagegroup-core-sdk policycoreutils-sestatus systemd libprotobuf-c1
bzip2 libatomic-staticdev libgmp10 shadow-dev util-linux-umount lsb
python-dev util-linux-ionice libxdmcp6 systemd-dev git libcgroup run-
postinsts kbd pciutils libcap-staticdev kmod-dev ncurses-terminfo-base
sed util-linux-blkdiscard libxau6 coreutils grpc make-dev kexec-tools
dbus-dev kexec libpcre-dev' returned 100:
2019-06-27T13:18:54.5592415Z [WARN] [15902] Reading package lists...
2019-06-27T13:18:54.5592628Z [WARN] [15903] Building dependency tree...
2019-06-27T13:18:54.5593124Z [WARN] [15904] Some packages could not be installed. This may mean that you have
2019-06-27T13:18:54.5593526Z [WARN] [15905] requested an impossible situation or if you are using the unstable
2019-06-27T13:18:54.5593893Z [WARN] [15906] distribution that some required packages have not yet been created
2019-06-27T13:18:54.5599962Z [WARN] [15907] or been moved out of Incoming.
2019-06-27T13:18:54.5600415Z [WARN] [15908] The following information may help to resolve the situation:
2019-06-27T13:18:54.5600834Z [WARN] [15909] The following packages have unmet dependencies:
2019-06-27T13:18:54.5601383Z [WARN] [15910]  target-sdk-provides-dummy : Conflicts: bash
2019-06-27T13:18:54.5601724Z [WARN] [15911]                              Conflicts: coreutils
2019-06-27T13:18:54.5602246Z [WARN] [15912]                              Conflicts: coreutils-dev
2019-06-27T13:18:54.5602590Z [WARN] [15913]                              Conflicts: perl
2019-06-27T13:18:54.5603147Z [WARN] [15914]                              Conflicts: perl-module-strict
2019-06-27T13:18:54.5603989Z [WARN] [15915]                              Conflicts: perl-module-vars
2019-06-27T13:18:54.5605346Z [WARN] [15916]                              Conflicts: perl-module-warnings
2019-06-27T13:18:54.5606090Z [WARN] [15917] E: Unable to correct problems, you have held broken packages.

Same config worked fine in sumo.

Any suggestion on how to fix it? Is it possible to enter the working
directory to run apt manually, so that I can dig further into the
dependency issue?

Thanks!

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190628/50922538/attachment.sig>


More information about the Openembedded-core mailing list