Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223353 - sys-devel/gettext-0.17 - i686-pc-linux-gnu-ar: hash.o: No such file or directory
Summary: sys-devel/gettext-0.17 - i686-pc-linux-gnu-ar: hash.o: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 14:36 UTC by Daniel Savard
Modified: 2011-09-07 02:29 UTC (History)
3 users (show)

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


Attachments
updated ebuild with possible solution (gettext-0.17-r1.ebuild,3.70 KB, text/plain)
2008-05-23 16:04 UTC, Mike Weissman
Details
Ebuild source script for gettext-0.17 on my system. (gettext-0.17.ebuild,3.46 KB, text/plain)
2008-05-23 16:40 UTC, Daniel Savard
Details
build.log for gettext-0.17 (gettext-build.log,412.06 KB, text/plain)
2008-05-29 19:36 UTC, Daniel Savard
Details
Build log on my system (build.log,377.04 KB, text/plain)
2008-06-06 07:37 UTC, Stuart Longland (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Savard 2008-05-23 14:36:03 UTC
rm -fr .libs/libgettextlib.lax/libxml_rpl.a
mkdir .libs/libgettextlib.lax/libxml_rpl.a
(cd .libs/libgettextlib.lax/libxml_rpl.a && i686-pc-linux-gnu-ar x /var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libxml_rpl.a)
i686-pc-linux-gnu-ar cru .libs/libgettextlib.a  areadlink.o gl_array_list.o backupfile.o addext.o basename.o c-ctype.o c-strcasecmp.o c-strncasecmp.o c-strcasestr.o c-strstr.o classpath.o clean-temp.o closeout.o copy-file.o csharpcomp.o csharpexec.o error-progname.o execute.o exitfail.o fatal-signal.o fd-ostream.o file-ostream.o concat-filename.o findprog.o fstrcmp.o full-write.o fwriteerror.o gcd.o hash.o html-ostream.o html-styled-ostream.o javacomp.o javaexec.o javaversion.o linebreak.o gl_linkedhash_list.o gl_list.o localcharset.o localename.o lock.o malloca.o mbchar.o mbslen.o mbsstr.o mbswidth.o ostream.o pipe.o progname.o propername.o quote.o quotearg.o sh-quote.o striconv.o strnlen1.o styled-ostream.o term-ostream.o term-styled-ostream.o tls.o tmpdir.o uniname/uniname.o unistr/u16-mbtouc.o unistr/u16-mbtouc-aux.o unistr/u16-mbtouc-unsafe.o unistr/u16-mbtouc-unsafe-aux.o unistr/u8-mbtouc.o unistr/u8-mbtouc-aux.o unistr/u8-mbtouc-unsafe.o unistr/u8-mbtouc-unsafe-aux.o unistr/u8-uctomb.o unistr/u8-uctomb-aux.o uniwidth/width.o wait-process.o xmalloc.o xstrdup.o xerror.o xmalloca.o xreadlink.o xsetenv.o xstriconv.o xvasprintf.o xasprintf.o acl.o argmatch.o asnprintf.o file-has-acl.o printf-args.o printf-parse.o safe-read.o safe-write.o tempname.o vasnprintf.o  .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-attr-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-cascade.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-declaration.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-doc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-enc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-fonts.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-input.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-num.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-om-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parsing-location.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-prop-list.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-pseudo.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-rgb.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-sel-eng.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-selector.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-simple-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-statement.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-string.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-style.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-stylesheet.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-term.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-tknzr.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-token.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-utils.o  .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-ghash.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-glist.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gmessages.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gprimes.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gstrfuncs.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gstring.o  .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-DOCBparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLtree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX2.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-c14n.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-catalog.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-chvalid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-debugXML.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-dict.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-encoding.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-entities.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-error.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-globals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-hash.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-legacy.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-list.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanoftp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanohttp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parserInternals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-pattern.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-relaxng.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-schematron.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-threads.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-tree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-uri.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-valid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xinclude.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xlink.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlIO.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmemory.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmodule.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlreader.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlregexp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlsave.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemas.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemastypes.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlstring.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlunicode.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlwriter.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpath.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpointer.o 
i686-pc-linux-gnu-ar: hash.o: No such file or directory
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge --ask --update gettext
2.
3.

Actual Results:  
rm -fr .libs/libgettextlib.lax/libxml_rpl.a
mkdir .libs/libgettextlib.lax/libxml_rpl.a
(cd .libs/libgettextlib.lax/libxml_rpl.a && i686-pc-linux-gnu-ar x /var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libxml_rpl.a)
i686-pc-linux-gnu-ar cru .libs/libgettextlib.a  areadlink.o gl_array_list.o backupfile.o addext.o basename.o c-ctype.o c-strcasecmp.o c-strncasecmp.o c-strcasestr.o c-strstr.o classpath.o clean-temp.o closeout.o copy-file.o csharpcomp.o csharpexec.o error-progname.o execute.o exitfail.o fatal-signal.o fd-ostream.o file-ostream.o concat-filename.o findprog.o fstrcmp.o full-write.o fwriteerror.o gcd.o hash.o html-ostream.o html-styled-ostream.o javacomp.o javaexec.o javaversion.o linebreak.o gl_linkedhash_list.o gl_list.o localcharset.o localename.o lock.o malloca.o mbchar.o mbslen.o mbsstr.o mbswidth.o ostream.o pipe.o progname.o propername.o quote.o quotearg.o sh-quote.o striconv.o strnlen1.o styled-ostream.o term-ostream.o term-styled-ostream.o tls.o tmpdir.o uniname/uniname.o unistr/u16-mbtouc.o unistr/u16-mbtouc-aux.o unistr/u16-mbtouc-unsafe.o unistr/u16-mbtouc-unsafe-aux.o unistr/u8-mbtouc.o unistr/u8-mbtouc-aux.o unistr/u8-mbtouc-unsafe.o unistr/u8-mbtouc-unsafe-aux.o unistr/u8-uctomb.o unistr/u8-uctomb-aux.o uniwidth/width.o wait-process.o xmalloc.o xstrdup.o xerror.o xmalloca.o xreadlink.o xsetenv.o xstriconv.o xvasprintf.o xasprintf.o acl.o argmatch.o asnprintf.o file-has-acl.o printf-args.o printf-parse.o safe-read.o safe-write.o tempname.o vasnprintf.o  .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-additional-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-attr-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-cascade.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-declaration.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-doc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-enc-handler.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-fonts.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-input.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-num.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-om-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parser.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-parsing-location.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-prop-list.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-pseudo.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-rgb.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-sel-eng.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-selector.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-simple-sel.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-statement.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-string.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-style.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-stylesheet.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-term.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-tknzr.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-token.o .libs/libgettextlib.lax/libcroco_rpl.a/libcroco_rpl_la-cr-utils.o  .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-ghash.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-glist.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gmessages.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gprimes.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gstrfuncs.o .libs/libgettextlib.lax/libglib_rpl.a/libglib_rpl_la-gstring.o  .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-DOCBparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLparser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-HTMLtree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-SAX2.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-c14n.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-catalog.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-chvalid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-debugXML.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-dict.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-encoding.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-entities.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-error.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-globals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-hash.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-legacy.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-list.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanoftp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-nanohttp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parser.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-parserInternals.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-pattern.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-relaxng.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-schematron.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-threads.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-tree.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-uri.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-valid.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xinclude.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xlink.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlIO.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmemory.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlmodule.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlreader.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlregexp.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlsave.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemas.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlschemastypes.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlstring.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlunicode.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xmlwriter.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpath.o .libs/libgettextlib.lax/libxml_rpl.a/libxml_rpl_la-xpointer.o 
i686-pc-linux-gnu-ar: hash.o: No such file or directory
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1


Expected Results:  
Build completion without errors.

Checked and the file hash.o is somewhere in the filetree, the build seems to not look at the write location for the file.
Comment 1 Mike Weissman 2008-05-23 16:04:57 UTC
Created attachment 154077 [details]
updated ebuild with possible solution
Comment 2 Daniel Savard 2008-05-23 16:40:25 UTC
Created attachment 154079 [details]
Ebuild source script for gettext-0.17 on my system.
Comment 3 Daniel Savard 2008-05-23 17:04:25 UTC
(In reply to comment #1)
> Created an attachment (id=154077) [edit]
> updated ebuild with possible solution
> 

Provide instructions, cannot run ebuild new.ebuild, the file is not in the Manifest or replacing the current one doesn't work either since not same checksum and size. Tried ebuild ... digest and it doesn't work.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-24 16:19:36 UTC
Looks like http://www.gnu.org/software/make/manual/html_node/Archive-Pitfalls.html
Comment 5 Daniel Savard 2008-05-26 15:55:29 UTC
(In reply to comment #4)
> Looks like
> http://www.gnu.org/software/make/manual/html_node/Archive-Pitfalls.html
> 

Commented MAKEOPTS="-j2" in make.conf and rerun the emerge without success. Same results.
Comment 6 Daniel Savard 2008-05-28 14:36:44 UTC
This problem is blocking any further update to the software on this system. Also, since this is a single processor system, the cause is unlikely to be with concurrent running ar commands. And the hash.o file is there, not where it is expected, but it is there. The archive seems not corrupted, it is just not created because the file hash.o is reported missing.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2008-05-29 18:11:01 UTC
Daniel, you forgot to post emerge --info. Also attach full build output.
Comment 8 Daniel Savard 2008-05-29 18:54:13 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Pentium II (Deschutes)
Timestamp of tree: Wed, 28 May 2008 13:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.osuosl.org/ http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl aim apache2 bash berkdb bzlib caps cdb cdr cli cracklib crypt cups curl dba dbm dbx dri emacs emacs-w3 fastcgi foomaticdb fortran gdbm gmp gnutls gpm iconv icq imap ipv6 isdnlog jabber java jikes kerberos ldap libedit libg++ libwww mailwrapper mbox mdir midi milter mime mmap mpi msn mudflap mysql mysqli ncurses nls nptl nptlonly openmp oscar pam pcmcia pcre pdflib perl php png postgres ppds pppd python readline reflection sasl scanner session shared sharedmem slang slp snmp soap sockets spell spl ssl sysvipc tcpd tiff truetype unicode usb wavelan x86 xml xml2 xmlrpc xorg xsl yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 9 Daniel Savard 2008-05-29 19:36:50 UTC
Created attachment 154737 [details]
build.log for gettext-0.17

Attached is the complete build.log as requested.
Comment 10 Daniel Savard 2008-06-03 14:20:00 UTC
(In reply to comment #1)
> Created an attachment (id=154077) [edit]
> updated ebuild with possible solution
> 

Finally managed to create the Manifest and tried this possible solution without success. Same error, same message.
Comment 11 Peter Volkov (RETIRED) gentoo-dev 2008-06-05 05:09:49 UTC
Well, I don't see what happening there... You should check that your hard
drive does not have problems - test it. After you test it answer the
questions: Is this bug reproducible every time in the same place? Go to build
directory. Does hash.o exist? Run make manually. Remove hash.lo and run make
another time. Do other packages have similar problems? Try to rebuild
libtool/gcc and build gettext another time...

Strange thing is that during linkage hash.o is there, but disappears later:

/var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/build-aux/compile
i686-pc-linux-gnu-gcc -std=gnu99 -shared  .libs/areadlink.o
[...snip other object files...]
.libs/findprog.o .libs/fstrcmp.o .libs/full-write.o .libs/fwriteerror.o
.libs/gcd.o .libs/hash.o .libs/html-ostream.o .libs/html-styled-ostream.o
            ^^^^^^^^^^^^^
.libs/javacomp.o .libs/javaexec.o .libs/javaversion.o .libs/linebreak.o
[...snip other object files...]
.libs/vasnprintf.o -Wl,--whole-archive ./.libs/libcroco_rpl.a
./.libs/libglib_rpl.a ./.libs/libxml_rpl.a -Wl,--no-whole-archive
/usr/lib/libacl.so -L/usr/lib -lc -lncurses  -mtune=i686 -Wl,-soname
-Wl,libgettextlib-0.17.so -o .libs/libgettextlib-0.17.so

(cd .libs && rm -f libgettextlib.so && ln -s libgettextlib-0.17.so libgettextlib.so)
rm -fr .libs/libgettextlib.lax
mkdir .libs/libgettextlib.lax
rm -fr .libs/libgettextlib.lax/libcroco_rpl.a
mkdir .libs/libgettextlib.lax/libcroco_rpl.a
(cd .libs/libgettextlib.lax/libcroco_rpl.a && i686-pc-linux-gnu-ar x /var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libcroco_rpl.a)
rm -fr .libs/libgettextlib.lax/libglib_rpl.a
mkdir .libs/libgettextlib.lax/libglib_rpl.a
(cd .libs/libgettextlib.lax/libglib_rpl.a && i686-pc-linux-gnu-ar x /var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libglib_rpl.a)
rm -fr .libs/libgettextlib.lax/libxml_rpl.a
mkdir .libs/libgettextlib.lax/libxml_rpl.a
(cd .libs/libgettextlib.lax/libxml_rpl.a && i686-pc-linux-gnu-ar x /var/tmp/portage/sys-devel/gettext-0.17/work/gettext-0.17/gettext-tools/gnulib-lib/./.libs/libxml_rpl.a)

i686-pc-linux-gnu-ar cru .libs/libgettextlib.a  areadlink.o gl_array_list.o
[...snip other object files...]
fd-ostream.o file-ostream.o concat-filename.o findprog.o fstrcmp.o
full-write.o fwriteerror.o gcd.o hash.o html-ostream.o html-styled-ostream.o
                                 ^^^^^^
javacomp.o javaexec.o javaversion.o linebreak.o gl_linkedhash_list.o gl_list.o
localcharset.o localename.o lock.o malloca.o mbchar.o mbslen.o mbsstr.o
[...snip other object files...]

i686-pc-linux-gnu-ar: hash.o: No such file or directory


In any case you have to investigate this problem and report additional results
us as this breakage is completly unreproducible here... Resolving now as
WORKSFORME but reopen when you find anything relevant.
Comment 12 Daniel Savard 2008-06-05 21:31:22 UTC
I did a rebuild of make, libtool and then tried gcc. With gcc the ebuild is stopping after compile phase. Then nothing seems to happen. This is now a long time it is still in this phase without any output. Here is the last lines of the ebuild:

creating libgfortran.la
(cd .libs && rm -f libgfortran.la && ln -s ../libgfortran.la libgfortran.la)
/bin/sh ./libtool --mode=compile /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran -I.  -iquote/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -O2 -mtune=i686 -pipe  -c -o fmain.lo /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/fmain.c
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -O2 -mtune=i686 -pipe -c /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/fmain.c  -fPIC -DPIC -o .libs/fmain.o
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran -I. -iquote/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/io -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -O2 -mtune=i686 -pipe -c /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libgfortran/fmain.c -o fmain.o >/dev/null 2>&1
/bin/sh ./libtool --mode=link /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -O2 -mtune=i686 -pipe    -o libgfortranbegin.la -rpath /usr/lib -static fmain.lo  
i686-pc-linux-gnu-ar rc .libs/libgfortranbegin.a  fmain.o
i686-pc-linux-gnu-ranlib .libs/libgfortranbegin.a
creating libgfortranbegin.la
(cd .libs && rm -f libgfortranbegin.la && ln -s ../libgfortranbegin.la libgfortranbegin.la)
true  DO=all multi-do # make
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libgfortran'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libgfortran'
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2
>>> Source compiled.

Then nothing else, it is like it is stopped there and it is not doing anything else.CPU almost idle.

In /var/log/kernel/current I have one line about 30 minutes after the last time an entry has been made in the emerge.log, it reads as follow:

Jun  5 11:07:21 [kernel] fixincl[13314]: segfault at 4002b000 eip 4009b5a3 esp bfac405c error 4


No idea what this mean. If you can help decipher this kernel error. Same error in the current log (I am using metalog). This is the only thing I can relate to my problem in all the logs.
Comment 13 Stuart Longland (RETIRED) gentoo-dev 2008-06-06 06:08:29 UTC
Just a heads up... I seem to be getting the same issue on my desktop.

I haven't been using it in a long while, and so I'm just starting to get things up to date again. My present libgettext is linked against libexpat.so.0 -- and system builds are failing as a result.

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-rc5-beast i686)
=================================================================
System uname: 2.6.20-rc5-beast i686 Pentium III (Coppermine)
Timestamp of tree: Thu, 05 Jun 2008 13:47:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.16.1, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer nostrip sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www/portage http://qube.local/pub/gentoo http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.planetmirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/ http://ftp.swin.edu.au/gentoo/"
LC_ALL="en_AU.utf8"
LINGUAS="en_AU en_GB en"
MAKEOPTS="-j8"
PKGDIR="/home/portage/packages/ia32/i686"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/overlays/local"
SYNC="rsync://www.longlandclan.yi.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi additions alsa amr apache2 arts asf audiofile autoipd avahi berkdb bidi bl bookmarks branding bzip2 cairo caps cddb cdparanoia cjk cpudetection cracklib crypt css cups curl dbus dga divx doc dri dts dv dvb dvd dvdr dvdread ecc emovix encode examples exif expat fam fame fbcon ffmpeg filepicker flac fpx gd gdbm ggi gif gimpprint glut gmedia gmp gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal hardened howl-compat idea idn ieee1394 imagemagick imap imlib ipv6 jack java javascript jbig jce jingle joystick jpeg jpeg2k junit kde kerberos kqemu lcms ldap libcaca libvisual libwww lirc live lm_sensors lua lzo mad matroska mdnsresponder-compat midi mikmod mjpeg mmap mmx mng modplug mono mozbranding mozcalendar mozdevelop mozilla mozsvg mp3 mp4 mpeg musepack musicbrainz mysql nas ncurses network nls nptl nptlonly nsplugin ogg openal openexr opengl pam pcre pda pdf perl pic png povray pulseaudio python qt qt3 qt4 quicktime rdesktop readline real rtc samba scanner sdk sdl smartcard smp sndfile speex spell sqlite srt sse sse2 ssl svg svga tcltk tcpd tetex theora threads tidy tiff toolbar transcode truetype unicode urandom usb utempter v4l v4l2 vboxbfe vcd vditool vidix visualisation vorbis win32codecs wmf wmp wxwindows x264 x86 xanim xforms xine xml xml2 xorg xprint xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse summa wacom acecad jamstudio" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB en" USERLAND="GNU" VIDEO_CARDS="radeon v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I'm going to try a few things and report back.
Comment 14 Stuart Longland (RETIRED) gentoo-dev 2008-06-06 07:37:58 UTC
Created attachment 155683 [details]
Build log on my system

Just to show the exact build errors I'm getting... I'm trying the previous version (0.16.1-r1) to see if that builds... and will try building the rest of the system with that.

Then I'll return to this version and see if updating the other packages resolves the issue.
Comment 15 Daniel Savard 2008-06-06 14:27:25 UTC
(In reply to comment #13)
> Just a heads up... I seem to be getting the same issue on my desktop.
> 
> I haven't been using it in a long while, and so I'm just starting to get things
> up to date again. My present libgettext is linked against libexpat.so.0 -- and
> system builds are failing as a result.
> 

Well, pretty much the same scenario as mine. Was a long time before doing any upgrades on this server.
Comment 16 Daniel Savard 2008-06-06 19:41:32 UTC
(In reply to comment #14)
> Created an attachment (id=155683) [edit]
> Build log on my system
> 
> Just to show the exact build errors I'm getting... I'm trying the previous
> version (0.16.1-r1) to see if that builds... and will try building the rest of
> the system with that.
> 
> Then I'll return to this version and see if updating the other packages
> resolves the issue.
> 

I did actually rebuild the gettext-0.16.1-r1 ebuild and have it reinstalled without a glitch. No problem on this side. The problem occurs only with the next latest version, 0.17.0.
Comment 17 Daniel Savard 2008-06-06 23:03:26 UTC
(In reply to comment #11)
> Well, I don't see what happening there... You should check that your hard
> drive does not have problems - test it. After you test it answer the
> questions: Is this bug reproducible every time in the same place? Go to build
> directory. Does hash.o exist? Run make manually. Remove hash.lo and run make
> another time. Do other packages have similar problems? Try to rebuild
> libtool/gcc and build gettext another time...
> 
> Strange thing is that during linkage hash.o is there, but disappears later:
> 

Not a hard drive problem, RAID-5 array no failing drive.
Yes it is reproductible every time in the same place.
Did go to gettext-0.17.0 directory in the work directory, did make, failed with same error already reported about missing hash.o.
Did go in subdir gettext-tools/gnulib-lib and did a make there, it completed successfully, then go up one directory to gettext-0.17.0/gettext-tools and did a make, it completed successfully as well and finally fo to gettext-0.17.0 and did a make which in turn completed successfully.

Did a make clean from gettext-0.17.0 and then retried without success. Further investigation required.
Comment 18 Daniel Savard 2008-06-12 18:49:58 UTC
Finally got gettext-0.17 installed doing the following:

Not use emerge.
Use ebuild and first do a ebuild compile, then go in the directory where the hash.o is missing and did a make to recreate it. Then proceed with ebuild install and ebuild qmerge. This did the trick and was able to continue updating my system until I reached another problem very similar with libgcrypt-1.4.0-r1 where the compile phase is not successful. Tried the same trick without success this time.

Digging down the problem, there is a wrapper script which compile mpih-add1-asm.o, it is doing twice, once to put the .o file in the current directory and the other one to put the file in .libs from the current directory. When running by hand in the appropriate directory both commands, the one creating the local file is working while the other creating the file in .libs doesn't. Don't know why. What is involved here?

Below is the two commands with all args:

 /var/tmp/portage/dev-libs/libgcrypt-1.4.0-r1/work/libgcrypt-1.4.0/compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -O2 -mtune=i686 -pipe -c mpih-add1-asm.S  -fPIC -DPIC -o .libs/mpih-add1-asm.o
 /var/tmp/portage/dev-libs/libgcrypt-1.4.0-r1/work/libgcrypt-1.4.0/compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -Wa,--noexecstack -O2 -mtune=i686 -pipe -c mpih-add1-asm.S  -fPIC -DPIC -o mpih-add1-asm.o >/dev/null 2>&1

The first one with -o .libs/mpih-add1-asm.o never creates the file while the second does. And this will happen for many subsequent commands in this same directory using this very same command with another source file and object file.

/var/tmp/portage/dev-libs/libgcrypt-1.4.0-r1/work/libgcrypt-1.4.0/compile is a script. This is wrapper for compilers not understanding the -c and -o options. So, this is the script handling the mv to .libs I suppose. Why it doesn't work?
Comment 19 Daniel Savard 2008-06-12 19:31:27 UTC
Found something about the compile script included in the source, it is having the following lines:

if test -z "$ofile" || test -z "$cfile"; then
  # If no `-o' option was seen then we might have been invoked from a
  # pattern rule where we don't need one.  That is ok -- this is a
  # normal compilation that the losing compiler can handle.  If no
  # `.c' file was seen then we are probably linking.  That is also
  # ok.
  exec "$@"
fi

After these lines, there is the move, however the move will occurs only if both variables $ofile and $cfile are defined. Since the source is a .S file, the $cfile variable never get defined and then the exec replaces the current script execution preventing the lines after it to be reached at all. Then, the move never ever occurs in these conditions.
Comment 20 Mike Weissman 2008-06-16 16:15:21 UTC
Daniel,
   I am unable to reproduce your problem on any level. Have you noticed this warning  ? 

 [33;01m*[0m This profile has not been tested thoroughly and is not considered to be
 [33;01m*[0m a supported server profile at this time.  For a supported server
 [33;01m*[0m profile, please check the Hardened project (

Have you considered using a supported server profile?  Then trying to rebuild system? Getting a segfault error when compiling gcc, that needs to be addressed first.

Stuart, 
  Can you try a rebuild with MAKEOPTS="-j1"?
Comment 21 SpanKY gentoo-dev 2011-09-07 02:29:17 UTC
assuming fixed with 0.18.1.1+