* [Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig
@ 2014-03-26 8:45 Eric Limpens
2014-03-26 13:46 ` Eric Le Bihan
0 siblings, 1 reply; 3+ messages in thread
From: Eric Limpens @ 2014-03-26 8:45 UTC (permalink / raw)
To: buildroot
Hi,
I'ld like to use systemd as init system on a RaspberryPi. Following these
steps, libusb complains about the lack of udev support (missing libudev):
git clone git://git.busybox.net/buildroot
make raspberrypi_defconfig
make menuconfig
--> select glibc as C library
--> select systemd as init system
--> select package libusb
make
Is this a glitch with setting one of the BR2_PACKAGE_HAS_UDEV or
BR2_PACKAGE_PROVIDERS_UDEV variables?
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140326/92380788/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig
2014-03-26 8:45 [Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig Eric Limpens
@ 2014-03-26 13:46 ` Eric Le Bihan
2014-03-26 14:48 ` Eric Limpens
0 siblings, 1 reply; 3+ messages in thread
From: Eric Le Bihan @ 2014-03-26 13:46 UTC (permalink / raw)
To: buildroot
Hi Eric!
On Wed, Mar 26, 2014 at 09:45:17AM +0100, Eric Limpens wrote:
> Hi,
> I'ld like to use systemd as init system on a RaspberryPi. Following these
> steps, libusb complains about the lack of udev support (missing libudev):
> git clone git://git.busybox.net/buildroot
> make raspberrypi_defconfig
> make menuconfig
> --> select glibc as C library
> --> select systemd as init system
> --> select package libusb
> make
> Is this a glitch with setting one of the BR2_PACKAGE_HAS_UDEV or
> BR2_PACKAGE_PROVIDERS_UDEV variables?
I reproduced your bug. It is not a glitch with systemd being a provider for
the virtual package udev, but a linking issue.
If you look at output/build/libusb-1.0.18/config.log, you will see that the
configure script fails to detect libudev because of this:
<...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so: undefined reference to `__res_search'
<...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so: undefined reference to `__res_query'
These symbols are provided by libresolv.so. Since systemd 209, some
convenience libraries have been merged into libsystemd, which pulls this
-lresolv dependency.
See this `discussion
<http://lists.freedesktop.org/archives/systemd-devel/2014-March/017923.html>`_
on system-devel mailing list for more details, as well as this `Gentoo bug report
<https://bugs.gentoo.org/show_bug.cgi?id=504700>`_ for further details.
This issue is fixed in system 212, which has been released today! I will soon
post a patch to bump this package.
Best regards,
ELB
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig
2014-03-26 13:46 ` Eric Le Bihan
@ 2014-03-26 14:48 ` Eric Limpens
0 siblings, 0 replies; 3+ messages in thread
From: Eric Limpens @ 2014-03-26 14:48 UTC (permalink / raw)
To: buildroot
Hi Eric!
Thanks for reproducing / resolving the issue. I'll do an update when an
updated package is pushed.
For now I force libusb to configure with --disable-udev, that way it builds
ok.
Sincerely,
Eric.
On Wed, Mar 26, 2014 at 2:46 PM, Eric Le Bihan <eric.le.bihan.dev@free.fr>wrote:
> Hi Eric!
>
> On Wed, Mar 26, 2014 at 09:45:17AM +0100, Eric Limpens wrote:
> > Hi,
> > I'ld like to use systemd as init system on a RaspberryPi. Following
> these
> > steps, libusb complains about the lack of udev support (missing
> libudev):
> > git clone git://git.busybox.net/buildroot
> > make raspberrypi_defconfig
> > make menuconfig
> > --> select glibc as C library
> > --> select systemd as init system
> > --> select package libusb
> > make
> > Is this a glitch with setting one of the BR2_PACKAGE_HAS_UDEV or
> > BR2_PACKAGE_PROVIDERS_UDEV variables?
> I reproduced your bug. It is not a glitch with systemd being a provider for
> the virtual package udev, but a linking issue.
>
> If you look at output/build/libusb-1.0.18/config.log, you will see that the
> configure script fails to detect libudev because of this:
>
> <...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so:
> undefined reference to `__res_search'
> <...>/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libudev.so:
> undefined reference to `__res_query'
>
> These symbols are provided by libresolv.so. Since systemd 209, some
> convenience libraries have been merged into libsystemd, which pulls this
> -lresolv dependency.
>
> See this `discussion
> <
> http://lists.freedesktop.org/archives/systemd-devel/2014-March/017923.html
> >`_
> on system-devel mailing list for more details, as well as this `Gentoo bug
> report
> <https://bugs.gentoo.org/show_bug.cgi?id=504700>`_ for further details.
>
> This issue is fixed in system 212, which has been released today! I will
> soon
> post a patch to bump this package.
>
> Best regards,
> ELB
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140326/978fbe38/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-26 14:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-26 8:45 [Buildroot] libusb / udev support issue when using systemd and raspberrypi_defconfig Eric Limpens
2014-03-26 13:46 ` Eric Le Bihan
2014-03-26 14:48 ` Eric Limpens
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.