zgemma-star / meta-zgemma

6 stars 10 forks source link

zgemma-libs introduces an unwanted dependency #26

Closed WanWizard closed 5 years ago

WanWizard commented 5 years ago

Bitbake seems to know that zgemma-libs provides a newer version of libc.so.6. This leads to warnings like:

WARNING: opkg-2_0.3.6-r0 do_package_qa: QA Issue: opkg rdepends on zgemma-libs-3798mv200, but it isn't a build dependency, missing zgemma-libs-3798mv200 in DEPENDS or PACKAGECONFIG? [build-deps]
WARNING: opkg-2_0.3.6-r0 do_package_qa: QA Issue: libopkg rdepends on zgemma-libs-3798mv200, but it isn't a build dependency, missing zgemma-libs-3798mv200 in DEPENDS or PACKAGECONFIG? [build-deps]

but worse, it also replaces the dependency in packages that use libc from libc.so.6 to zgemma-libs-3798mv200, which poisons packages in the cortexa15 ARCH feed, which is shared with non-zgemma hardware. It doesn't happen all the time, and I haven't been able to find the cause of it (or how to prevent this from happening).

This issue is currently keeping us from releasing OpenPLi 7.0.

WanWizard commented 5 years ago

to give an example of the current state:

./enigma2-plugin-extensions-bitrate/2.0+gitAUTOINC+6e279b445c-r1/pkgdata/runtime/enigma2-plugin-extensions-bitrate:RDEPENDS_enigma2-plugin-extensions-bitrate: libgcc (>= 6.3.0) libstdc++ (>= 6.3.0) zgemma-libs-3798mv200 (>= 1.0)
./enigma2-plugin-systemplugins-crossepg/0.8.6+gitrAUTOINC+89abf1f6b6-r0/pkgdata/runtime/enigma2-plugin-systemplugins-crossepg:RDEPENDS_enigma2-plugin-systemplugins-crossepg: enigma2 libcurl (>= 7.53.1) python-compression python-lzma xz zgemma-libs-3798mv200 (>= 1.0) libxml2 (>= 2.9.4) zlib (>= 1.2.11)
./enigma2-plugin-softcams-oscam/gitAUTOINC+739a61fcf4-r0/pkgdata/runtime/enigma2-plugin-softcams-oscam:RDEPENDS_enigma2-plugin-softcams-oscam: softcam-support glibc (>= 2.25) libssl (>= 1.0.2k) libcrypto (>= 1.0.2k) zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavfilter:RDEPENDS_libavfilter: libpostproc (>= 3.4.2) libavresample (>= 3.4.2) zgemma-libs-3798mv200 (>= 1.0) libswresample (>= 3.4.2) freetype (>= 2.7.1)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libswscale:RDEPENDS_libswscale: zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavresample:RDEPENDS_libavresample: zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavformat:RDEPENDS_libavformat: libssl (>= 1.0.2k) zgemma-libs-3798mv200 (>= 1.0) libbluray (>= v1.0.2+git2735+2d18c70) libcrypto (>= 1.0.2k) libbz2 (>= 1.0.6) rtmpdump (>= 2.4) zlib (>= 1.2.11)
./ffmpeg/3.4.2-r0/pkgdata/runtime/ffmpeg:RDEPENDS_ffmpeg: libpostproc (>= 3.4.2) zgemma-libs-3798mv200 (>= 1.0) libswresample (>= 3.4.2) libavfilter (>= 3.4.2) libavresample (>= 3.4.2) libavdevice (>= 3.4.2)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libswresample:RDEPENDS_libswresample: zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavutil:RDEPENDS_libavutil: zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libpostproc:RDEPENDS_libpostproc: zgemma-libs-3798mv200 (>= 1.0)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavdevice:RDEPENDS_libavdevice: libavfilter (>= 3.4.2) zgemma-libs-3798mv200 (>= 1.0) libasound (>= 1.1.3)
./ffmpeg/3.4.2-r0/pkgdata/runtime/libavcodec:RDEPENDS_libavcodec: libmp3lame (>= 3.99.5) zgemma-libs-3798mv200 (>= 1.0) libswresample (>= 3.4.2) x264 (>= r2731+git0+2b741f81e5) libvorbis (>= 1.3.5) libtheora (>= 1.1.1) libvpx (>= 1.5.0) liblzma (>= 5.2.3) zlib (>= 1.2.11)
./enigma2-plugin-extensions-autobouquets/2.2+gitAUTOINC+3393ea329a-r0/pkgdata/runtime/enigma2-plugin-extensions-autobouquets:RDEPENDS_enigma2-plugin-extensions-autobouquets: libgcc (>= 6.3.0) libstdc++ (>= 6.3.0) zgemma-libs-3798mv200 (>= 1.0)
./enigma2-plugin-softcams-oscam-emu/gitAUTOINC+c3397c94c4-r0/pkgdata/runtime/enigma2-plugin-softcams-oscam-emu:RDEPENDS_enigma2-plugin-softcams-oscam-emu: softcam-support glibc (>= 2.25) libssl (>= 1.0.2k) libcrypto (>= 1.0.2k) zgemma-libs-3798mv200 (>= 1.0)
./opkg/2_0.3.6-r0/pkgdata/runtime/libopkg:RDEPENDS_libopkg: libarchive (>= 3.2.2) zgemma-libs-3798mv200 (>= 1.0) libsolv (>= 0.6.26)
./opkg/2_0.3.6-r0/pkgdata/runtime/opkg:RDEPENDS_opkg: libarchive opkg-arch-config update-alternatives-opkg zgemma-libs-3798mv200 (>= 1.0) libopkg (>= 0.3.6)
./readymedia/1.1.0+gitAUTOINC+13d36533b5-r0/pkgdata/runtime/readymedia:RDEPENDS_readymedia: libogg (>= 1.3.2) glibc (>= 2.25) libid3tag (>= 0.15.1b) libsqlite3 (>= 3.17.0) libjpeg-turbo (>= 1.5.1) zgemma-libs-3798mv200 (>= 1.0) libexif (>= 0.6.21) libflac (>= 1.3.2) libvorbis (>= 1.3.5)

these are all packages in the cortexa15hf-neon-vfpv4 ARCH feed, and should therefore never have a dependency to a package in a MACHINE feed.

WanWizard commented 5 years ago

I moved the order of building around so the H9 and I55plus build before the H7 and the other machines in the same arch. Now the H7 and all others abort with:

Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - nothing provides zgemma-libs-3798mv200 >= 1.0 needed by opkg-2:0.3.6-r0.2.cortexa15hf-neon-vfpv4
 * 
 * Solution 1:
 *   - do not ask to install a package providing opkg

in do_rootfs(), because of the dependency created by the H9 build.