Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122431 - sys-apps/dbus-0.60-r4: (iconv/nls/gettext/security handling)
Summary: sys-apps/dbus-0.60-r4: (iconv/nls/gettext/security handling)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 22:38 UTC by Evan Langlois
Modified: 2006-02-12 04:44 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Langlois 2006-02-10 22:38:53 UTC
According to the dbus website, glibc is NOT a requirement for dbus.  The ebuild tries to enforce this and fails trying to run Autoconf (or even a manual configure process) on a uclibc based system (gentoo embedded stage3).  

Since the docs say glibc should be a requirement, I tried the actual dbus archive without the patches supplied by Gentoo, and it runs through configure and compiles just fine.

So .. one of the gentoo patches evidently breaks the ability to compile on gentoo embedded.
Comment 1 solar (RETIRED) gentoo-dev 2006-02-11 03:15:04 UTC
This ebuild suffers from quite a few problems mostly related to iconv & 
gettext handling. It bundles a modified copy of glib 2.0 I dont know how
you got it to build without modifying quite a few things like c files
and Makefiles a header and the configure file.

There are also a ton of world writable dirs here. (chmod/security foo needed)

embedded would be happy to revisit this pkg after the initial
gettext/nls/iconv/permission handling gets fixed.

Reassigning to maintainer.
Comment 2 SpanKY gentoo-dev 2006-02-11 15:10:50 UTC
i dont think theres anything here to fix

dbus doesnt require glibc at all, i dont know where you get that wrong idea

autoconf failing is because it needs some macro's provided by glib-2.x ... well glib-2.x doesnt work on uclibc, oh well

i dont see any bundled glib files in dbus

the permissions on the unpacked archive is "normal", you'll see the samething in many many other archives
Comment 3 Evan Langlois 2006-02-11 21:41:09 UTC
Actually, I did the following ...
unmasked iconv, which allowed gettext to build.  I don't use nls

dbus still would not compile.  The version of the source that portage installs into /var/tmp just wouldn't configure.  I noticed that a number of patches were applied by portage, so I erased the portage version and just decompressed the raw source tarball out of /usr/portage/distfiles, and then did a configure and make.

To say "dbus doesn't require glibc at all" is kinda silly.  If it doesn't require glibc, then remove glibc as a dependancy and figure out why the patches that gentoo applies stop configure from working without glibc.   

I don't know much about bundled files or permissions but it seems very logical that if it works without the patches, and doesn't work with the patches, then one of the patches must be the problem.

How does anything get done when the maintainers constantly say "works for me, so this bug is invalid"?
Comment 4 SpanKY gentoo-dev 2006-02-12 00:15:43 UTC
> Actually, I did the following ...
> unmasked iconv, which allowed gettext to build.  I don't use nls

iconv isnt supported under uclibc, it breaks too many things

> To say "dbus doesn't require glibc at all" is kinda silly.  If it doesn't
> require glibc, then remove glibc as a dependancy and figure out why the 
> patches that gentoo applies stop configure from working without glibc.

dbus does not depend on glibc, read the ebuild ... whatever is making you think that is clearly wrong
Comment 5 solar (RETIRED) gentoo-dev 2006-02-12 04:44:19 UTC
Here is how I hacked around it yesterday. I disabled nls, iconv/ and
short circuited a check or two and fixed the perms. iconv was really a
pain in the rear!! If somebody wanted to clean up the
$FILESDIR/*nls*patch using proper AC macros that would be cool.
ftp://tinderbox.x86.dev.gentoo.org/misc/dbus/