Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188905 - sys-apps/gawk-3.1.5-r4 fails to find libintl.h
Summary: sys-apps/gawk-3.1.5-r4 fails to find libintl.h
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 20:36 UTC by Greisberger Christophe
Modified: 2007-10-08 19:14 UTC (History)
1 user (show)

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


Attachments
The build log (build.log,27.69 KB, text/plain)
2007-08-14 20:38 UTC, Greisberger Christophe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greisberger Christophe 2007-08-14 20:36:19 UTC
I followed the "Gentoo Prefixed Portage Bootstrap Process for Mac OS X" to install Gentoo on my Mac Mini Here my system :
* PowerPC G4 1,25 GHz w/ 512MB RAM
* OSX 10.4.10
* The latest XCode (2.4.1), as required in the doc.

Everything went fine until step 1.22, where the rebuild stops with gawk failing to compile (not finding libintl.h)


Reproducible: Always

Steps to Reproduce:
1. unset LDFLAGS
2. unset CPPFLAGS
3. emerge -e world

Actual Results:  
In file included from /Users/Greisby/Library/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r4/work/gawk-3.1.5/awk.h:52,
                 from filefuncs.c:44:
/Users/Greisby/Library/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r4/work/gawk-3.1.5/gettext.h:31:22: error: libintl.h: No such file or directory
make: *** [filefuncs.o] Erreur 1
 * 
 * ERROR: sys-apps/gawk-3.1.5-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   gawk-3.1.5-r4.ebuild, line 61:   Called die
 * 
 * filefuncs emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Users/Greisby/Library/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r4/temp/build.log'.
 * 
vant.
 * A complete build log is located at '/Users/Greisby/Library/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r4/temp/build.log'.
 * 

 * Messages for package sys-apps/gawk-3.1.5-r4:

 * 
 * ERROR: sys-apps/gawk-3.1.5-r4 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   gawk-3.1.5-r4.ebuild, line 61:   Called die
 * 
 * filefuncs emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Users/Greisby/Library/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r4/temp/build.log'.
 * 
 * GNU info directory index is up-to-date.

Expected Results:  
Well :)

$ emerge --info

Portage 2.2.00.7595-prefix (default-prefix/darwin/macos/10.4/ppc, gcc-4.0.1, unavailable, 8.10.0 Power Macintosh)
=================================================================
System uname: 8.10.0 Power Macintosh powerpc
Gentoo Prefix Base System version 1.12.5
Timestamp of tree: Mon, 13 Aug 2007 22:53:43 +0000
distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r04.2
dev-python/pycrypto: 2.0.1-r6
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
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
DISTDIR="/Users/Greisby/Library/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/Greisby/Library/Gentoo"
FEATURES="collision-protect distlocks metadata-transfer nostrip sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/Users/Greisby/Library/Gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Users/Greisby/Library/Gentoo/var/tmp"
PORTDIR="/Users/Greisby/Library/Gentoo/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="aqua coreaudio cracklib midi ncurses nls objc objc++ ppc-macos prefix readline ssl unicode zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, CXXFLAGS, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Greisberger Christophe 2007-08-14 20:38:11 UTC
Created attachment 128101 [details]
The build log
Comment 2 Greisberger Christophe 2007-08-14 20:40:37 UTC
Oh, I forgot : in the log the is a strange warning :
"binutils-config: warning: no GCC found on your system!"
Comment 3 Greisberger Christophe 2007-08-23 23:21:39 UTC
*ping* :o)
Comment 4 Fabian Groffen gentoo-dev 2007-08-24 07:47:22 UTC
(In reply to comment #2)
> Oh, I forgot : in the log the is a strange warning :
> "binutils-config: warning: no GCC found on your system!"

That is a harmless message that will go away once gcc-apple is emerged.

(In reply to comment #3)
> *ping* :o)

Problem with this bug is that it seems to be a nasty configuration of gawk, that we also hit during bootstrapping.  I have to look in the configure script to figure out why it does this, and how to fix it.  On Solaris and Linux (iirc) it does work fine, but on AIX it never works.  Something like that.
Comment 5 Greisberger Christophe 2007-08-25 20:42:32 UTC
Thanks. I waited so see if I wait to finish the install or not.
Well, I will restart the install from scratch when this is fixed.
Comment 6 Thomas Kjosmoen 2007-08-29 21:13:30 UTC
Not sure if this is 100% the same bug, but I get the following error message when emerging gawk 3.1.5-r5 (as well as libpng):

make[2]: Entering directory `/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r5/work/gawk-3.1.5'
if i686-apple-darwin8-gcc -DDEFPATH="\".:/Gentoo/usr/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/Gentoo/usr/share/locale\"" -I. -I. -I.   -I/Gentoo/usr/include  -O2 -march=nocona -fomit-frame-pointer -pipe -MT array.o -MD -MP -MF ".deps/array.Tpo" -c -o array.o array.c; \
        then mv -f ".deps/array.Tpo" ".deps/array.Po"; else rm -f ".deps/array.Tpo"; exit 1; fi
bison -y   awkgram.y
conflicts: 31 shift/reduce
awk -f ./bisonfix.awk y.tab.c > awkgram.c && rm y.tab.c
dyld: Library not loaded: /usr/local/lib/libintl.3.dylib
  Referenced from: /Gentoo/usr/bin/awk
  Reason: image not found
make[2]: *** [awkgram.c] Error 133
make[2]: Leaving directory `/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r5/work/gawk-3.1.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r5/work/gawk-3.1.5'
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/gawk-3.1.5-r5 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   gawk-3.1.5-r5.ebuild, line 60:   Called die
 * 
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Gentoo/var/tmp/portage/sys-apps/gawk-3.1.5-r5/temp/build.log'.
 * 

 * Messages for package sys-apps/gawk-3.1.5-r5:

 * 
 * ERROR: sys-apps/gawk-3.1.5-r5 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   gawk-3.1.5-r5.ebuild, line 60:   Called die
 * 
Comment 7 Fabian Groffen gentoo-dev 2007-10-08 19:14:14 UTC
Please try using the latest bootstrap script and image, and reopen if the problem persists.