uClibc does not have argp, because argp is not defined by any standard and does not belong in a C library (it's Glibc specific). So get the stand-alone argp library: http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz In particular it's required to compile rng-tools for use with hardware random number generators (eg for use with the Alix boards). As such it's useful to be able to compile against uclibc The attached ebuild and patch builds and installs the required library and header file. Separate bug will be filed with the changes to rng-tools Reproducible: Always
Created attachment 209475 [details] sys-libs/argp-standalone-1.3.ebuild
Created attachment 209476 [details, diff] Patch to remove __Throw from function definitions
if you hadnt mentioned uClibc here, i wouldnt have looked at this :p
Well the chain of though is something like: - gcc 4.4.2 is working VERY nicely with SSP+uclibc - but the Alix is a bit underpowered and SSP may consume all the kernel entropy - BUT the Alix has a neat hardware RNG (and hardware AES)! - rng-tools makes everyone happy again... It's another package which was created in something like 2002 and hasn't changed since, so I doubt it's going to be a maintenance headache... Cheers
Any chance you could look at committing this since it's a blocker for Bug #292191 Thanks
(In reply to comment #5) > Any chance you could look at committing this since it's a blocker for Bug > #292191 > > Thanks I've looked into this issue more. It seems that there are at least three packages that need argp: sys-apps/rng-tools dev-libs/elfutils dev-libs/glib @vapier, do you know if upstream uclibc has any plans of adding argp support? If not, it might make sense to add this to the tree even if it does mean editing a few ebuild to depend on elibc_uclibc? ( sys-libs/argp-standalone ) In the meantime, I'm going to play with this on the hardened-dev::uclibc overlay.
@Ed here's a cleaned up version of your ebuild. I switched to EAPI=4 (no good reason, just that I prefer 4) and I inherit eutils for epatch. There is no reason to inherit autotools. http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=blob;f=sys-libs/argp-standalone/argp-standalone-1.3.ebuild;h=634416a3a115e9b1bed0ba1fab51a2b9c9709b17;hb=cbcbf78dae6817d206a612ae1a47febc36a2320e
(In reply to comment #7) LICENSE is wrong (use a dash, not a space), and no point in setting the *DEPEND vars since they're empty. sort the KEYWORDS (`echangelog ~all`) and feel free to commit it to the main tree.
(In reply to comment #8) > (In reply to comment #7) > > LICENSE is wrong (use a dash, not a space), and no point in setting the > *DEPEND vars since they're empty. sort the KEYWORDS (`echangelog ~all`) and > feel free to commit it to the main tree. Okay its in the tree. Wow @LICENSE, I must not have run repoman. Ed, I added you to the metadata.xml so you get bug reports too. If you don't want that, let me know and I'll remove you. Thanks!