Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 194930
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 191426
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: solar <solar@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194930 depends on: Show dependency tree
Bug 194930 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-06 19:42 0000
=gnome-base/gnome-vfs-2.18.1:2 links to libattr.so when attr is installed even
when it is not a direct dependcany of gnome-vfs. 

This breakage occurred when using emerge -G world as attr wont be pulled in.

/usr/lib/gnome-vfs-2.0/modules/libfile.so will contain a DT_NEEDED entry for
libattr.so.1

How to reproduce.

1)
emerge -Cq attr
emerge gnome-vfs
qlist -oe gnome-vfs | scanelf -qN libattr.so.1 -f -

2)
emerge -q attr
emerge gnome-vfs
qlist -oe gnome-vfs | scanelf -qN libattr.so.1 -f -

# Quick work around:

-IUSE="avahi doc gnutls hal ipv6 samba ssl"
+IUSE="attr avahi doc gnutls hal ipv6 samba ssl"

 RDEPEND=">=gnome-base/gconf-2
        >=dev-libs/glib-2.9.3
@@ -54,7 +54,7 @@
                                --with-hal-umount=/usr/bin/gnome-umount \
                                --with-hal-eject=/usr/bin/gnome-eject"
        fi
-
+       use attr || export ac_cv_lib_attr_getxattr=no
        G2CONF="${G2CONF}                 \
                --disable-schemas-install     \


# scanelf results will now be clean.

------- Comment #1 From solar 2007-10-06 21:24:47 0000 -------
This rabbit hole goes deeper.. Same thing happens with libacl.so

We still end up with a bogus entry in the NEEDED table for libacl if the same
thing happens.

We can disable linking with acl by doing
use acl  || export ac_cv_lib_acl_acl_get_file=no

but there is a defined reference to acl_get_file() ./modules/file-method-acl.c
This looks like it should only happen when HAVE_POSIX_ACL is defined. 

I did not initially see a way to disable that so I just unmerge acl,attr. 
I then rebuilt gnome-vfs then fetched it and installed it locally. 
p00f desktop background,icons and menus started working again.

------- Comment #2 From Rémi Cardona 2007-10-06 21:52:42 0000 -------
Even gnome-vfs trunk completely autodetects libacl/libxattr [1]. I'll try to
cook up a patch that I'll send upstream as well but since I don't (want to)
have those libs on my system, I'll need help to test it out :) Thanks

[1] http://svn.gnome.org/viewcvs/gnome-vfs/trunk/configure.in?view=markup
(search for ACL_LIBS for the relevant section)

------- Comment #3 From Gilles Dartiguelongue 2007-10-06 22:55:25 0000 -------

*** This bug has been marked as a duplicate of bug 191426 ***

------- Comment #4 From solar 2007-10-06 23:06:07 0000 -------
Full listing of other missing libs in this pkg.

!!! ELF DT_NEEDED orphans: gnome-base/gnome-vfs-2.18.1
!!! libgssapi_krb5.so.2 : /usr/lib/gnome-vfs-2.0/modules/libftp.so
/usr/lib/gnome-vfs-2.0/modules/libhttp.so
!!! libk5crypto.so.3 : /usr/lib/gnome-vfs-2.0/modules/libftp.so
/usr/lib/gnome-vfs-2.0/modules/libhttp.so
!!! libkrb5.so.3 : /usr/lib/gnome-vfs-2.0/modules/libftp.so
/usr/lib/gnome-vfs-2.0/modules/libhttp.so

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug