Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 191363
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 158040
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zac Medico <zmedico@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 191363 depends on: Show dependency tree
Bug 191363 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-09-05 10:43 0000
I tried to build a i686 stage 3 from a i686 stage 2 and I got the following
error:

 gcc -O2 -march=i686 -pipe -O2 -march=i686 -pipe -DNDEBUG -funsigned-char
-fno-strict-aliasing -Wall -DVERSION=\"2.4.32\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I./include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -O2 -march=i686 -pipe -DNDEBUG -funsigned-char
-fno-strict-aliasing -Wall -DVERSION=\"2.4.32\"
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -I../include -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -c next_line.c -o next_line.o >/dev/null 2>&1
/usr/bin/libtool --mode=link gcc  -o libmisc.la quote.lo unquote.lo
high_water_alloc.lo next_line.lo
i486-pc-linux-gnu-ar cru .libs/libmisc.a .libs/quote.o .libs/unquote.o
.libs/high_water_alloc.o .libs/next_line.o
/usr/bin/libtool: line 5988: i486-pc-linux-gnu-ar: command not found
gmake[1]: *** [libmisc.la] Error 127
make: *** [default] Error 2
 *
 * ERROR: sys-apps/attr-2.4.32 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   attr-2.4.32.ebuild, line 44:   Called die

I tried exporting AR=ar but that didn't seem to help. Rebuilding libtool solved
it though.

I'm not sure what the best solution is but one possible fix is to add 
RDEPEND="build? ( !sys-apps/attr )" to the libtool ebuild. That will cause the
merge order to automatically adjust so that libtool is rebuilt before attr is
built. The blocker idea might seem like a strange approach if you're not
familiar with it but it's already being used for bug 187866 and bug 88777. For
some explanation about this approach, refer to this blog entry:

http://planet.gentoo.org/developers/zmedico/2007/08/19/using_blockers_to_adjust_merge_order

------- Comment #1 From SpanKY 2007-09-05 13:52:00 0000 -------

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

------- Comment #2 From SpanKY 2007-09-05 13:52:25 0000 -------
err, duped, to wrong bug

------- Comment #3 From SpanKY 2007-09-05 13:52:38 0000 -------

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

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