* "libgudev" fails to build with current master
@ 2015-09-24 13:40 Mike Looijmans
2015-09-24 16:45 ` Andreas Müller
0 siblings, 1 reply; 10+ messages in thread
From: Mike Looijmans @ 2015-09-24 13:40 UTC (permalink / raw)
To: openembedded-devel
| checking for LIBUDEV... no
| configure: error: Package requirements (libudev >= 199) were not met:
|
| Requested 'libudev >= 199' but version of libudev is 182
|
...
ERROR: Task 5548 (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb,
do_configure) failed with exit code '1'
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-24 13:40 "libgudev" fails to build with current master Mike Looijmans
@ 2015-09-24 16:45 ` Andreas Müller
2015-09-24 23:22 ` Andreas Müller
2015-09-25 5:18 ` Mike Looijmans
0 siblings, 2 replies; 10+ messages in thread
From: Andreas Müller @ 2015-09-24 16:45 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
> | checking for LIBUDEV... no
> | configure: error: Package requirements (libudev >= 199) were not met:
> |
> | Requested 'libudev >= 199' but version of libudev is 182
> |
> ...
>
> ERROR: Task 5548
> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
> failed with exit code '1'
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Embedded Products
> Eindhovenseweg 32-C, NL-5683 KH Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79
> Telefax: +31 (0) 499 33 69 70
> E-mail: mike.looijmans@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
Which init system are you using - I guess not systemd
Andreas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-24 16:45 ` Andreas Müller
@ 2015-09-24 23:22 ` Andreas Müller
2015-09-25 6:11 ` Mike Looijmans
2015-09-25 6:25 ` Martin Jansa
2015-09-25 5:18 ` Mike Looijmans
1 sibling, 2 replies; 10+ messages in thread
From: Andreas Müller @ 2015-09-24 23:22 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
On Thu, Sep 24, 2015 at 6:45 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
>> | checking for LIBUDEV... no
>> | configure: error: Package requirements (libudev >= 199) were not met:
>> |
>> | Requested 'libudev >= 199' but version of libudev is 182
>> |
>> ...
>>
>> ERROR: Task 5548
>> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>> failed with exit code '1'
>>
> Which init system are you using - I guess not systemd
>
Let's assume it is not systemd. Could you try attached 0001.. for
oe-core and 0002.. foe meta-oe and give feedback. I tested these for
systemd distro without new issues.
Andreas
[-- Attachment #2: 0001-udev-add-PROVIDES-libgudev.patch --]
[-- Type: text/x-patch, Size: 1405 bytes --]
From 384c763f66d5f49b967253e8e5d272822552a524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 25 Sep 2015 01:04:31 +0200
Subject: [PATCH] udev: add PROVIDES = "libgudev"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With the last update of systemd libgudev was splitted out of systemd. To make
packages depending on libgudev happy, a recipe building libgudev was created in
meta-oe and the dependencies were modified from udev to libgudev.
This works fine for distros using systemd as init system, but distros not using
build udev which provides libgudev.
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
meta/recipes-core/udev/udev.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index a00dad5..c378ae3 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -15,6 +15,8 @@ LDFLAGS += "-lrt"
DEPENDS = "glib-2.0 libusb usbutils pciutils glib-2.0-native gperf-native libxslt-native util-linux"
RPROVIDES_${PN} = "hotplug"
+PROVIDES = "libgudev"
+
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://0001-Fixing-keyboard_force_release.sh-shell-script-path.patch \
file://avoid-mouse-autosuspend.patch \
--
2.1.0
[-- Attachment #3: 0002-libgudev-skip-recipe-for-distros-not-using-systemd-a.patch --]
[-- Type: text/x-patch, Size: 1154 bytes --]
From e83235a777880c343fce9f286f50678b237620dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 25 Sep 2015 01:17:01 +0200
Subject: [PATCH] libgudev: skip recipe for distros not using systemd as init
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
for those systems udev provides libgudev
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
meta-oe/recipes-gnome/libgudev/libgudev_230.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
index 39fc1c4..9e457d2 100644
--- a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
+++ b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
@@ -11,3 +11,9 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
inherit gnomebase
+
+# in non systemd distros udev builds libgudev
+python () {
+ if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
+ raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
+}
--
2.1.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-24 16:45 ` Andreas Müller
2015-09-24 23:22 ` Andreas Müller
@ 2015-09-25 5:18 ` Mike Looijmans
2015-09-25 6:28 ` Martin Jansa
1 sibling, 1 reply; 10+ messages in thread
From: Mike Looijmans @ 2015-09-25 5:18 UTC (permalink / raw)
To: openembedded-devel
On 24-09-15 18:45, Andreas Müller wrote:
> On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
>> | checking for LIBUDEV... no
>> | configure: error: Package requirements (libudev >= 199) were not met:
>> |
>> | Requested 'libudev >= 199' but version of libudev is 182
>> |
>> ...
>>
>> ERROR: Task 5548
>> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>> failed with exit code '1'
>>
>>
> Which init system are you using - I guess not systemd
sysvinit (busybox).
I don't even use udev. But some packages think they depend on udev components,
so it's virtually impossible to not have udev being built.
I wonder how the init system would affect compilation of a package though.
M.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-24 23:22 ` Andreas Müller
@ 2015-09-25 6:11 ` Mike Looijmans
2015-09-25 6:32 ` Mike Looijmans
2015-09-25 6:25 ` Martin Jansa
1 sibling, 1 reply; 10+ messages in thread
From: Mike Looijmans @ 2015-09-25 6:11 UTC (permalink / raw)
To: openembedded-devel
On 25-09-15 01:22, Andreas Müller wrote:
> On Thu, Sep 24, 2015 at 6:45 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
>> On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
>>> | checking for LIBUDEV... no
>>> | configure: error: Package requirements (libudev >= 199) were not met:
>>> |
>>> | Requested 'libudev >= 199' but version of libudev is 182
>>> |
>>> ...
>>>
>>> ERROR: Task 5548
>>> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>>> failed with exit code '1'
>>>
>> Which init system are you using - I guess not systemd
>>
> Let's assume it is not systemd. Could you try attached 0001.. for
> oe-core and 0002.. foe meta-oe and give feedback. I tested these for
> systemd distro without new issues.
Applied both patches, and the errors went away. Have yet to test if it
actually produces a working image as there are still a few more issues I need
to look into.
M.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-24 23:22 ` Andreas Müller
2015-09-25 6:11 ` Mike Looijmans
@ 2015-09-25 6:25 ` Martin Jansa
2015-09-25 6:33 ` Andreas Müller
1 sibling, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2015-09-25 6:25 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3752 bytes --]
On Fri, Sep 25, 2015 at 01:22:37AM +0200, Andreas Müller wrote:
> On Thu, Sep 24, 2015 at 6:45 PM, Andreas Müller
> <schnitzeltony@googlemail.com> wrote:
> > On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
> >> | checking for LIBUDEV... no
> >> | configure: error: Package requirements (libudev >= 199) were not met:
> >> |
> >> | Requested 'libudev >= 199' but version of libudev is 182
> >> |
> >> ...
> >>
> >> ERROR: Task 5548
> >> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
> >> failed with exit code '1'
> >>
> > Which init system are you using - I guess not systemd
> >
> Let's assume it is not systemd. Could you try attached 0001.. for
> oe-core and 0002.. foe meta-oe and give feedback. I tested these for
> systemd distro without new issues.
>
> Andreas
> From 384c763f66d5f49b967253e8e5d272822552a524 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> Date: Fri, 25 Sep 2015 01:04:31 +0200
> Subject: [PATCH] udev: add PROVIDES = "libgudev"
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> With the last update of systemd libgudev was splitted out of systemd. To make
> packages depending on libgudev happy, a recipe building libgudev was created in
> meta-oe and the dependencies were modified from udev to libgudev.
>
> This works fine for distros using systemd as init system, but distros not using
> build udev which provides libgudev.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
> meta/recipes-core/udev/udev.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
> index a00dad5..c378ae3 100644
> --- a/meta/recipes-core/udev/udev.inc
> +++ b/meta/recipes-core/udev/udev.inc
> @@ -15,6 +15,8 @@ LDFLAGS += "-lrt"
> DEPENDS = "glib-2.0 libusb usbutils pciutils glib-2.0-native gperf-native libxslt-native util-linux"
> RPROVIDES_${PN} = "hotplug"
>
> +PROVIDES = "libgudev"
> +
> SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
> file://0001-Fixing-keyboard_force_release.sh-shell-script-path.patch \
> file://avoid-mouse-autosuspend.patch \
> --
> 2.1.0
>
> From e83235a777880c343fce9f286f50678b237620dd Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> Date: Fri, 25 Sep 2015 01:17:01 +0200
> Subject: [PATCH] libgudev: skip recipe for distros not using systemd as init
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> for those systems udev provides libgudev
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
> meta-oe/recipes-gnome/libgudev/libgudev_230.bb | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
> index 39fc1c4..9e457d2 100644
> --- a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
> +++ b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
> @@ -11,3 +11,9 @@ LICENSE = "LGPLv2.1"
> LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>
> inherit gnomebase
> +
> +# in non systemd distros udev builds libgudev
> +python () {
> + if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
> + raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
> +}
Cannot we use REQUIRED_DISTRO_FEATURES + inherit distro_features_check
for this one?
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-25 5:18 ` Mike Looijmans
@ 2015-09-25 6:28 ` Martin Jansa
2015-09-25 6:35 ` Mike Looijmans
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2015-09-25 6:28 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1817 bytes --]
On Fri, Sep 25, 2015 at 07:18:24AM +0200, Mike Looijmans wrote:
> On 24-09-15 18:45, Andreas Müller wrote:
> > On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
> >> | checking for LIBUDEV... no
> >> | configure: error: Package requirements (libudev >= 199) were not met:
> >> |
> >> | Requested 'libudev >= 199' but version of libudev is 182
> >> |
> >> ...
> >>
> >> ERROR: Task 5548
> >> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
> >> failed with exit code '1'
> >>
> >>
> > Which init system are you using - I guess not systemd
>
> sysvinit (busybox).
>
> I don't even use udev. But some packages think they depend on udev components,
> so it's virtually impossible to not have udev being built.
>
>
> I wonder how the init system would affect compilation of a package though.
When you use systemd, you get newer udev version from systemd recipe.
Standalone udev recipe (used together with other init systems) is older version
(which includes libgudev), and apparently not good enough for building latest
standalone libgudev.
>
> M.
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Embedded Products
> Eindhovenseweg 32-C, NL-5683 KH Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79
> Telefax: +31 (0) 499 33 69 70
> E-mail: mike.looijmans@topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-25 6:11 ` Mike Looijmans
@ 2015-09-25 6:32 ` Mike Looijmans
0 siblings, 0 replies; 10+ messages in thread
From: Mike Looijmans @ 2015-09-25 6:32 UTC (permalink / raw)
To: openembedded-devel
On 25-09-15 08:11, Mike Looijmans wrote:
> On 25-09-15 01:22, Andreas Müller wrote:
>> On Thu, Sep 24, 2015 at 6:45 PM, Andreas Müller
>> <schnitzeltony@googlemail.com> wrote:
>>> On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl>
>>> wrote:
>>>> | checking for LIBUDEV... no
>>>> | configure: error: Package requirements (libudev >= 199) were not met:
>>>> |
>>>> | Requested 'libudev >= 199' but version of libudev is 182
>>>> |
>>>> ...
>>>>
>>>> ERROR: Task 5548
>>>> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>>>> failed with exit code '1'
>>>>
>>> Which init system are you using - I guess not systemd
>>>
>> Let's assume it is not systemd. Could you try attached 0001.. for
>> oe-core and 0002.. foe meta-oe and give feedback. I tested these for
>> systemd distro without new issues.
>
> Applied both patches, and the errors went away. Have yet to test if it
> actually produces a working image as there are still a few more issues I need
> to look into.
Just finished building, image runs okay on the board.
M.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-25 6:25 ` Martin Jansa
@ 2015-09-25 6:33 ` Andreas Müller
0 siblings, 0 replies; 10+ messages in thread
From: Andreas Müller @ 2015-09-25 6:33 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
On Fri, Sep 25, 2015 at 6:25 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Sep 25, 2015 at 01:22:37AM +0200, Andreas Müller wrote:
>> On Thu, Sep 24, 2015 at 6:45 PM, Andreas Müller
>> <schnitzeltony@googlemail.com> wrote:
>> > On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
>> >> | checking for LIBUDEV... no
>> >> | configure: error: Package requirements (libudev >= 199) were not met:
>> >> |
>> >> | Requested 'libudev >= 199' but version of libudev is 182
>> >> |
>> >> ...
>> >>
>> >> ERROR: Task 5548
>> >> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>> >> failed with exit code '1'
>> >>
>> > Which init system are you using - I guess not systemd
>> >
>> Let's assume it is not systemd. Could you try attached 0001.. for
>> oe-core and 0002.. foe meta-oe and give feedback. I tested these for
>> systemd distro without new issues.
>>
>> Andreas
>
>> From 384c763f66d5f49b967253e8e5d272822552a524 Mon Sep 17 00:00:00 2001
>> From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
>> Date: Fri, 25 Sep 2015 01:04:31 +0200
>> Subject: [PATCH] udev: add PROVIDES = "libgudev"
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: 8bit
>>
>> With the last update of systemd libgudev was splitted out of systemd. To make
>> packages depending on libgudev happy, a recipe building libgudev was created in
>> meta-oe and the dependencies were modified from udev to libgudev.
>>
>> This works fine for distros using systemd as init system, but distros not using
>> build udev which provides libgudev.
>>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>> meta/recipes-core/udev/udev.inc | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
>> index a00dad5..c378ae3 100644
>> --- a/meta/recipes-core/udev/udev.inc
>> +++ b/meta/recipes-core/udev/udev.inc
>> @@ -15,6 +15,8 @@ LDFLAGS += "-lrt"
>> DEPENDS = "glib-2.0 libusb usbutils pciutils glib-2.0-native gperf-native libxslt-native util-linux"
>> RPROVIDES_${PN} = "hotplug"
>>
>> +PROVIDES = "libgudev"
>> +
>> SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
>> file://0001-Fixing-keyboard_force_release.sh-shell-script-path.patch \
>> file://avoid-mouse-autosuspend.patch \
>> --
>> 2.1.0
>>
>
>> From e83235a777880c343fce9f286f50678b237620dd Mon Sep 17 00:00:00 2001
>> From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
>> Date: Fri, 25 Sep 2015 01:17:01 +0200
>> Subject: [PATCH] libgudev: skip recipe for distros not using systemd as init
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=UTF-8
>> Content-Transfer-Encoding: 8bit
>>
>> for those systems udev provides libgudev
>>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>> meta-oe/recipes-gnome/libgudev/libgudev_230.bb | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
>> index 39fc1c4..9e457d2 100644
>> --- a/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
>> +++ b/meta-oe/recipes-gnome/libgudev/libgudev_230.bb
>> @@ -11,3 +11,9 @@ LICENSE = "LGPLv2.1"
>> LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
>>
>> inherit gnomebase
>> +
>> +# in non systemd distros udev builds libgudev
>> +python () {
>> + if not bb.utils.contains ('DISTRO_FEATURES', 'systemd', True, False, d):
>> + raise bb.parse.SkipPackage("'systemd' not in DISTRO_FEATURES")
>> +}
>
> Cannot we use REQUIRED_DISTRO_FEATURES + inherit distro_features_check
> for this one?
>
For some reason I thought REQUIRED_DISTRO_FEATURES would cause an
error message - but thinking over this is not true. So yes:
REQUIRED_DISTRO_FEATURES seems the better solution.
Andreas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: "libgudev" fails to build with current master
2015-09-25 6:28 ` Martin Jansa
@ 2015-09-25 6:35 ` Mike Looijmans
0 siblings, 0 replies; 10+ messages in thread
From: Mike Looijmans @ 2015-09-25 6:35 UTC (permalink / raw)
To: openembedded-devel
On 25-09-15 08:28, Martin Jansa wrote:
> On Fri, Sep 25, 2015 at 07:18:24AM +0200, Mike Looijmans wrote:
>> On 24-09-15 18:45, Andreas Müller wrote:
>>> On Thu, Sep 24, 2015 at 3:40 PM, Mike Looijmans <mike.looijmans@topic.nl> wrote:
>>>> | checking for LIBUDEV... no
>>>> | configure: error: Package requirements (libudev >= 199) were not met:
>>>> |
>>>> | Requested 'libudev >= 199' but version of libudev is 182
>>>> |
>>>> ...
>>>>
>>>> ERROR: Task 5548
>>>> (/.../meta-oe/meta-oe/recipes-gnome/libgudev/libgudev_230.bb, do_configure)
>>>> failed with exit code '1'
>>>>
>>>>
>>> Which init system are you using - I guess not systemd
>>
>> sysvinit (busybox).
>>
>> I don't even use udev. But some packages think they depend on udev components,
>> so it's virtually impossible to not have udev being built.
>>
>>
>> I wonder how the init system would affect compilation of a package though.
>
> When you use systemd, you get newer udev version from systemd recipe.
>
> Standalone udev recipe (used together with other init systems) is older version
> (which includes libgudev), and apparently not good enough for building latest
> standalone libgudev.
Basic problem is that I really don't want to have any udev at all in my image,
I use mdev for hotplug and other device stuff.
Systemd made things way more complex, since it provides udev, so I can't just
check on "udev" being the hotplug provider in recipes.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-09-25 6:36 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24 13:40 "libgudev" fails to build with current master Mike Looijmans
2015-09-24 16:45 ` Andreas Müller
2015-09-24 23:22 ` Andreas Müller
2015-09-25 6:11 ` Mike Looijmans
2015-09-25 6:32 ` Mike Looijmans
2015-09-25 6:25 ` Martin Jansa
2015-09-25 6:33 ` Andreas Müller
2015-09-25 5:18 ` Mike Looijmans
2015-09-25 6:28 ` Martin Jansa
2015-09-25 6:35 ` Mike Looijmans
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.