First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 158068
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
acl-ebuild.patch Ebuild patch patch Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38 0000 1.15 KB Details | Diff
acl-2.2.39-leave-las-to-libtool.patch acl-2.2.39-leave-las-to-libtool.patch patch Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38 0000 837 bytes Details | Diff
attr-2.4.32-libtool.patch attr-2.4.32-libtool.patch patch Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38 0000 1.51 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158068 depends on: Show dependency tree
Bug 158068 blocks:
Votes: 1    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: 2006-12-13 12:09 0000
Splitting out the second issue of bug #158040 here:

=== getfacl ===
gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.
arm-carel-linux-gnu-gcc -O -ggdb -fno-inline -O -ggdb -fno-inline -DNDEBUG
-funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.34\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64  -O -ggdb -fno-inline -DNDEBUG -funsigned-char
-fno-strict-aliasing -Wall -DVERSION=\"2.2.34\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I../include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64    -c -o getfacl.o getfacl.c
arm-carel-linux-gnu-gcc -O -ggdb -fno-inline -O -ggdb -fno-inline -DNDEBUG
-funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.2.34\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I./include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64  -O -ggdb -fno-inline -DNDEBUG -funsigned-char
-fno-strict-aliasing -Wall -DVERSION=\"2.2.34\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"acl\" -I../include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64    -c -o user_group.o user_group.c
/usr/arm-carel-linux-gnu/usr/bin/libtool --mode=link arm-carel-linux-gnu-gcc -o
getfacl    getfacl.o user_group.o   ../libacl/libacl.la /usr/lib/libattr.la
../libmisc/libmisc.la
mkdir .libs
arm-carel-linux-gnu-gcc -o .libs/getfacl getfacl.o user_group.o 
../libacl/.libs/libacl.so -lattr /usr/lib/libattr.so ../libmisc/.libs/libmisc.a
/usr/libexec/gcc/arm-carel-linux-gnu/ld: skipping incompatible /lib/libattr.so
when searching for /lib/libattr.so
/usr/libexec/gcc/arm-carel-linux-gnu/ld: cannot find /lib/libattr.so
collect2: ld returned 1 exit status
gmake[1]: *** [getfacl] Error 1
make: *** [default] Error 2

This is caused by the configure script, that tests for presence of
/usr/lib/libattr.la and use that if found, which a) makes libtool use
pointless, as libtool is supposed to find the library by itself when passing
-lattr and b) disallow to crosscompile as it will involve the library specified
with full path that's obviously incompatible; it's also broken for multilib
systems when building for the ABI that is *not* the one linked in /usr/lib.

The attached patch applies the same libtool fix as per bug #158040 and then
removes the tests for /usr/lib/libattr.la presence entirely. The package builds
fine both native and in cross-compile.

HTH,
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-12-26 17:33:23 0000 -------
Same as per bug #158040, going to attach the new patches.

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38:07 0000 -------
Created an attachment (id=104783) [edit]
Ebuild patch

------- Comment #3 From Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38:36 0000 -------
Created an attachment (id=104784) [edit]
acl-2.2.39-leave-las-to-libtool.patch

------- Comment #4 From Diego E. 'Flameeyes' Pettenò 2006-12-26 17:38:58 0000 -------
Created an attachment (id=104785) [edit]
attr-2.4.32-libtool.patch

------- Comment #5 From Santiago M. Mola 2007-05-09 17:24:28 0000 -------
Is there any point to ignore this bug (and #158040)? or is it just that it's
not a priority?

------- Comment #6 From SpanKY 2007-09-05 13:52:00 0000 -------
*** Bug 191363 has been marked as a duplicate of this bug. ***

------- Comment #7 From SpanKY 2007-09-20 06:17:16 0000 -------
added to acl-2.2.45

First Last Prev Next    No search results available      Search page      Enter new bug