libusb: add missing build dependency on udev
PATCH 1/1 libusb: add missing build dependency on udev
This fixes the ./configure error in case libusb is built before udev/systemd.
--- meta/recipes-support/libusb/libusb1_1.0.19.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-support/libusb/libusb1_1.0.19.bb +2 -0
@@ -6,6 +6,8 @@ SECTION = "libs" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +DEPENDS_append = " udev" + BBCLASSEXTEND = "native nativesdk" SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
Signature · 13 lines
1.8.3.2 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Quoted 12 lines · Fabien Chereau
This fixes the ./configure error in case libusb is built before udev/systemd.
Signed-off-by Fabien Chereau <[email protected]>--- meta/recipes-support/libusb/libusb1_1.0.19.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-support/libusb/libusb1_1.0.19.bb +0
-0
meta/recipes-support/libusb/libusb1_1.0.19.bb SECTION = "libs" · line 13
Quoted 8 lines
meta/recipes-support/libusb/libusb1_1.0.19.bb +2
-0@@ -6,6 +6,8 @@ SECTION = "libs" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +DEPENDS_append = " udev" + BBCLASSEXTEND = "native nativesdk" SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
This causes the build to explode with circular dependency issues. How did you test this?
There is a second error about a missing nativesdk-udev dependency (to build nativesdk-libusb1) too.
Cheers,
Richard
Hi Richard,
In fact I had an issue in case systemd was used instead of sysV but I can't reproduce this anymore after a full sstate clean.. I also had the same issue as you mention when using sysV.
So I clearly didn't tested the patch enough, sorry about that.
Fabien
________________________________________
From: Richard Purdie [[email protected]]
Sent: Sunday, June 29, 2014 11:05 AM
To: Chereau, Fabien
Cc: [email protected]
Subject: Re: [OE-core] [PATCH] libusb: add missing build dependency on udev
Quoted 12 lines · Fabien Chereau
This fixes the ./configure error in case libusb is built before udev/systemd.
Signed-off-by Fabien Chereau <[email protected]>--- meta/recipes-support/libusb/libusb1_1.0.19.bb | 2 ++ 1 file changed, 2 insertions(+)meta/recipes-support/libusb/libusb1_1.0.19.bb +0
-0
meta/recipes-support/libusb/libusb1_1.0.19.bb SECTION = "libs" · line 13
Quoted 8 lines
meta/recipes-support/libusb/libusb1_1.0.19.bb +2
-0@@ -6,6 +6,8 @@ SECTION = "libs" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" +DEPENDS_append = " udev" + BBCLASSEXTEND = "native nativesdk" SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
This causes the build to explode with circular dependency issues. How did you test this?
There is a second error about a missing nativesdk-udev dependency (to build nativesdk-libusb1) too.
Cheers,
Richard
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.