Patches for dependency issue
cover Patches for dependency issue
The following changes since commit b4c5725af4cd85d5644f0373e2674e903c4eab2b:
yocto-bsp: add missing xserver-xf86-config .bbappend for qemu (2012-08-25 14:47:07 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/deps
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/deps
Kang Kai (2):
Add dependency libidn to 3 packages
ltp: add dependency libaio
.../ghostscript/ghostscript_9.05.bb | 4 ++-- meta/recipes-extended/ltp/ltp_20120614.bb | 4 ++-- meta/recipes-extended/msmtp/msmtp_1.4.24.bb | 4 ++-- meta/recipes-extended/wget/wget.inc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.5.4
PATCH 1/2 Add dependency libidn to 3 packages
Add dependency libidn to wget, ghostscript and msmtp. These packages check libidn automatically to build with or without libidn. When libidn has been populate to sysroot but doesn't create rpm/deb package, create image will fail as follow:
| Processing task-core-basic... | Processing task-core-ssh-openssh... | Processing task-base-extended... | error: Failed dependencies: | libidn11 >= 1.25 is needed by msmtp-1.4.24-r3.i586 | libidn.so.11(LIBIDN_1.0) is needed by msmtp-1.4.24-r3.i586 | libidn.so.11 is needed by msmtp-1.4.24-r3.i586 | libidn11 >= 1.25 is needed by ghostscript-9.05-r2.i586 | libidn.so.11(LIBIDN_1.0) is needed by ghostscript-9.05-r2.i586 | libidn.so.11 is needed by ghostscript-9.05-r2.i586 | ERROR: Function failed: do_rootfs (see | /mnt/sda10/poky-all-platform/build/tmp/work/qemux86-poky-linux/core-image-lsb-1.0-r0/temp/log.do_rootfs.29665 | for further information)
Add libidn to dependence to fix this error.
--- .../ghostscript/ghostscript_9.05.bb | 4 ++-- meta/recipes-extended/msmtp/msmtp_1.4.24.bb | 4 ++-- meta/recipes-extended/wget/wget.inc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-extended/ghostscript/ghostscript_9.05.bb +2 -2
@@ -15,9 +15,9 @@ SECTION = "console/utils" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8" -PR = "r2" +PR = "r3" -DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" +DEPENDS = "ghostscript-native tiff jpeg fontconfig cups libidn" DEPENDS_virtclass-native = "" SRC_URI_BASE = "http://downloads.ghostscript.com/public/ghostscript-${PV}.tar.gz"
meta/recipes-extended/msmtp/msmtp_1.4.24.bb +2 -2
@@ -4,8 +4,8 @@ HOMEPAGE = "http://msmtp.sourceforge.net/" SECTION = "console/network" LICENSE = "GPLv3" -DEPENDS = "zlib gnutls" -PR = "r3" +DEPENDS = "zlib gnutls libidn" +PR = "r4" #COPYING or Licence
meta/recipes-extended/wget/wget.inc +2 -2
@@ -2,9 +2,9 @@ DESCRIPTION = "A console URL download utility featuring HTTP, FTP, and more." SECTION = "console/network" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "openssl" +DEPENDS = "openssl libidn" -INC_PR = "r15" +INC_PR = "r16" inherit autotools gettext update-alternatives
Signature · 1 line
1.7.5.4
Re: [PATCH 1/2] Add dependency libidn to 3 packages
Quoted 4 lines · Kang Kai
Add dependency libidn to wget, ghostscript and msmtp. These packages check libidn automatically to build with or without libidn. When libidn has been populate to sysroot but doesn't create rpm/deb package, create image will fail as follow:
What do we gain by adding this dependency? Do we need it?
Cheers,
Richard
Re: [PATCH 1/2] Add dependency libidn to 3 packages
Quoted 5 lines · Richard Purdie
Quoted 4 lines · Kang Kai
Add dependency libidn to wget, ghostscript and msmtp. These packages check libidn automatically to build with or without libidn. When libidn has been populate to sysroot but doesn't create rpm/deb package, create image will fail as follow:
Hi Richard,
Quoted 1 line
What do we gain by adding this dependency? Do we need it?
For wget, It can deal international domain name such as "http://stefan.kögl.co.at/" It is fine to disable it, I'll send V2.
Regards,
Kai
Quoted 6 lines
Cheers,
Richard
PATCH 2/2 ltp: add dependency libaio
In reply to Kang KaiWhen libaio has been populated to sysroot, ltp will be compiled with libaio. If rpm/deb package of libaio doesn't be created, bitbake core-image-xxx will fail with:
| Processing task-core-apps-console... | Processing ltp... | error: Failed dependencies: | libaio.so.1(LIBAIO_0.4) is needed by ltp-20120614-r0.i586 | libaio.so.1(LIBAIO_0.1) is needed by ltp-20120614-r0.i586 | libaio.so.1 is needed by ltp-20120614-r0.i586 | ERROR: Function failed: do_rootfs
Add libaio to ltp dependency to fix this issue.
Similiar to [Yocto #2973]
--- meta/recipes-extended/ltp/ltp_20120614.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/ltp/ltp_20120614.bb +2 -2
@@ -19,9 +19,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ " -DEPENDS = "attr" +DEPENDS = "attr libaio" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"
Signature · 1 line
1.7.5.4
Quoted 10 lines · Kang Kai
The following changes since commit
b4c5725af4cd85d5644f0373e2674e903c4eab2b:yocto-bsp: add missing xserver-xf86-config .bbappend for qemu (2012-08-25 14:47:07 +0100)are available in the git repository at:
git://git.pokylinux.org/poky-contribkangkai/deps
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/depsKang Kai (2):
Add dependency libidn to 3 packages
RP Commented on this one
Quoted 2 lines
ltp: add dependency libaio
Merged this to OE-Core
Thanks
Sau!
Quoted 6 lines
.../ghostscript/ghostscript_9.05.bb | 4 ++-- meta/recipes-extended/ltp/ltp_20120614.bb | 4 ++-- meta/recipes-extended/msmtp/msmtp_1.4.24.bb | 4 ++-- meta/recipes-extended/wget/wget.inc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)