Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356449 - dev-libs/glib-2.24.2 - fails to build with libtool error
Summary: dev-libs/glib-2.24.2 - fails to build with libtool error
Status: RESOLVED DUPLICATE of bug 196243
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 17:33 UTC by tyctor
Modified: 2011-02-26 16:47 UTC (History)
2 users (show)

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


Attachments
emerge --info dev-libs/glib (glib.emerge.info,5.04 KB, text/plain)
2011-02-25 17:34 UTC, tyctor
Details
build lol (build.log,145.71 KB, text/plain)
2011-02-25 18:26 UTC, tyctor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tyctor 2011-02-25 17:33:28 UTC
i am trying to update my gentoo with emerge world
but it cant compile dev-libs/glib, wanted to install dev-libs/glib-2.24.2
but tried also dev-libs/glib-2.6.1 with the same error


Reproducible: Always

Steps to Reproduce:
1. emerge dev-libs/glib
2. fails
3.

Actual Results:  
compilation fails

Expected Results:  
compilation success
Comment 1 tyctor 2011-02-25 17:34:49 UTC
Created attachment 263803 [details]
emerge --info dev-libs/glib
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-25 17:47:58 UTC
Please attach the build log file to this bug.
Comment 3 tyctor 2011-02-25 18:26:25 UTC
Created attachment 263807 [details]
build lol
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-25 18:37:47 UTC
libtool: link: /usr/bin/nm -B  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic-gcc.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbitlock.o .libs/gbookmarkfile.o .libs/gbuffer.o .libs/gcache.o .libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gvariant.o .libs/gvariant-core.o .libs/gvariant-parser.o .libs/gvariant-serialiser.o .libs/gvarianttypeinfo.o .libs/gvarianttype.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o   libcharset/.libs/libcharset.a pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp
../libtool: eval: line 1133: syntax error near unexpected token `|'
../libtool: eval: line 1133: `/usr/bin/nm -B  .libs/garray.o .libs/gasyncqueue.o .libs/gatomic-gcc.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbitlock.o .libs/gbookmarkfile.o .libs/gbuffer.o .libs/gcache.o .libs/gchecksum.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/ghostutils.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gpoll.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gtestutils.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gurifuncs.o .libs/gutils.o .libs/gvariant.o .libs/gvariant-core.o .libs/gvariant-parser.o .libs/gvariant-serialiser.o .libs/gvarianttypeinfo.o .libs/gvarianttype.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o   libcharset/.libs/libcharset.a pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp'
../libtool: line 1133: warning: syntax errors in . or eval will cause future versions of the shell to abort as Posix requires
make[4]: *** [libglib-2.0.la] Error 1
Comment 5 Rafał Mużyło 2011-02-25 19:09:22 UTC
The actual problem lies here:
pcre/.libs/libpcre.a |  | /bin/sed 's/.* //' |

'|  |' part is missing a command. I vaguely recall such bugs being filed long time ago. IIRC, yhey were invalid, but I don't quite remember what the problem was.
Comment 6 Rafał Mużyło 2011-02-25 19:19:02 UTC
This seems to be bug 196243.
Comment 7 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-25 19:28:44 UTC
(In reply to comment #6)
> This seems to be bug 196243.

From the build log:

checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... failed

So it does look indeed like that bug.

@toolchain:

was the fix "reverted" or this something new?
Comment 8 SpanKY gentoo-dev 2011-02-25 22:01:58 UTC
it isnt something that fixes itself.  you need to flush your cache entirely.

so clear out your ccache and see if it still fails.
Comment 9 tyctor 2011-02-26 14:37:44 UTC
i run ccache -C, but problem still persist
some other hints?
Comment 10 tyctor 2011-02-26 16:22:37 UTC
when i disabled ccache in make.conf, problem not occurs
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2011-02-26 16:32:00 UTC
the CCACHE_DIR in make.conf might be different from in your user environment.  try `CCACHE_DIR="/whatever/path/from/make.conf/ ccache -C`

*** This bug has been marked as a duplicate of bug 196243 ***
Comment 12 tyctor 2011-02-26 16:47:16 UTC
yes, that helps
thanks to all