Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272199 - sys-fs/udev-141 fails with sys-lib/uclibc-0.9.30.1-r1: 'error in select: Invalid argument'
Summary: sys-fs/udev-141 fails with sys-lib/uclibc-0.9.30.1-r1: 'error in select: Inva...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 280154 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-02 00:58 UTC by Tom Prince
Modified: 2012-04-22 22:25 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,2.64 KB, text/plain)
2009-06-02 01:00 UTC, Tom Prince
Details
ppoll workarround (udev-141-uclibc-ppoll-fix.diff,328 bytes, patch)
2009-06-17 09:44 UTC, Erik Hoppe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Prince 2009-06-02 00:58:43 UTC
udev fails, filling the screen with above error.

Stage used:

http://www.math.uwo.ca/~rprince5/stage3-amd64-uclibc-0.tar.bz2
Comment 1 Tom Prince 2009-06-02 01:00:18 UTC
Created attachment 193212 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-02 06:19:23 UTC
Please be a bit more precise. Where does it fail? During emerge or while running?
If it fails during emerge, please attach the build.log file to this bug.
Comment 3 Tom Prince 2009-06-02 14:37:14 UTC
The message starts filling the screen after the udev service is started.
Comment 4 Matthias Schwarzott gentoo-dev 2009-06-13 09:54:03 UTC
I know nothing about uclibc, but maybe uclibc maintainers can shed some light on this.
Comment 5 Erik Hoppe 2009-06-17 09:42:16 UTC
checkout impactlinux mailinglist
http://lists.impactlinux.com/pipermail/firmware-impactlinux.com/2009-April/000166.html

there is a problem with the ppoll function.
this seriously need some further investigation.
Comment 7 Erik Hoppe 2009-06-18 20:32:19 UTC
forget about the ppoll workarround patch i submitted earlier.
this is a problem in uclibc

checkout openwrt repository for a proper fix
https://dev.openwrt.org/browser/trunk/toolchain/uClibc/patches-0.9.30.1/300-fix-ppoll.diff
Comment 8 Tibor Vago 2009-07-20 07:50:57 UTC
Yeah, the openwrt's patch is really works fine, and usable in gentoo!

I was compile the uclibc in the way:

ebuild uclibc-0.9.30.1-r1.ebuild unpack
cd $workdir
patch -p1 -i 300-fix-ppoll.diff
ebuild uclibc-0.9.30.1-r1.ebuild compile install qmerge

Then recompile udev and rebooted the system, and the errors was gone.
If it is possible please apply to the portage tree.
Comment 9 Tibor Vago 2009-07-20 07:52:56 UTC
Sorry, "patch -p0 -i 300-fix-ppoll.diff" was the correct command.
Comment 10 Matthias Schwarzott gentoo-dev 2009-08-04 09:49:19 UTC
*** Bug 280154 has been marked as a duplicate of this bug. ***
Comment 11 Matthias Schwarzott gentoo-dev 2009-08-15 22:27:14 UTC
I now added >=sys-fs/glibc-2.7 to udev to get signalfd
How should this be modified for uclibc ?

|| ( >=sys-fs/glibc-2.7 ???? )
Comment 12 steveb 2009-08-18 21:15:01 UTC
(In reply to comment #11)
> I now added >=sys-fs/glibc-2.7 to udev to get signalfd
> How should this be modified for uclibc ?
> 
> || ( >=sys-fs/glibc-2.7 ???? )
> 
!elibc_uclibc? ( >=sys-libs/glibc-2.7 )
Comment 13 Matthias Schwarzott gentoo-dev 2009-08-19 20:26:17 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I now added >=sys-fs/glibc-2.7 to udev to get signalfd
> > How should this be modified for uclibc ?
> > 
> > || ( >=sys-fs/glibc-2.7 ???? )
> > 
> !elibc_uclibc? ( >=sys-libs/glibc-2.7 )
> 
I know that in this case we should not pull glibc, but I want to know if (and since which version) uclibc does provide /usr/include/sys/signalfd.h.
So I could either write
|| ( >=sys-fs/glibc-2.7
     >=sys-libs/uclibc-xxx )

or
elibc_glibc? ( >=sys-fs/glibc-2.7 )
elibc_uclibc? ( >=sys-libs/uclibc-xxx )
Comment 14 Matthias Schwarzott gentoo-dev 2009-08-30 21:09:39 UTC
In bug 283146 comment #2, it is reported that udev-141 works with uclibc-0.9.28.3-r8.
Comment 15 SpanKY gentoo-dev 2009-08-30 22:29:12 UTC
that's because i backported a bunch of fixes for stable uClibc/udev.  that doesnt mean newer uclibc's (unstable) are working.
Comment 16 Matthias Schwarzott gentoo-dev 2009-09-06 12:51:02 UTC
So once there is a version of uclibc with which the latest udev ebuild compiles, tell me to add an appropriate depend in it or do it yourself.
Comment 17 SpanKY gentoo-dev 2012-04-22 22:25:06 UTC
should be fixed with newer uclibc versions