Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92286 - recode-3.6-r1 fails to build on OS X 10.4
Summary: recode-3.6-r1 fails to build on OS X 10.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 12:34 UTC by Thomas
Modified: 2008-02-29 20:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2005-05-11 12:34:08 UTC
Emerging recode-3.6-r1 produces this error on 10.4:
checking whether the C compiler (gcc -O2 -pipe  -L/var/tmp/portage/recode-3.6-r1/work/recode-3.6/lib -liconv -lintl) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Here is the config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:579: checking for a BSD compatible install
configure:632: checking whether build environment is sane
configure:689: checking whether make sets ${MAKE}
configure:735: checking for working aclocal
configure:748: checking for working autoconf
configure:761: checking for working automake
configure:774: checking for working autoheader
configure:787: checking for working makeinfo
configure:803: checking how to suppress newlines using echo
configure:834: checking for gcc
configure:947: checking whether the C compiler (gcc -O2 -pipe  -L/var/tmp/porta$
configure:963: gcc -o conftest -O2 -pipe   -L/var/tmp/portage/recode-3.6-r1/wor$
/usr/bin/ld: can't locate file for: -lintl
collect2: ld returned 1 exit status
configure: failed program was:

#line 958 "configure"
#include "confdefs.h"

main(){return(0);}


Reproducible: Always
Steps to Reproduce:
1. emerge recode
2.
3.

Actual Results:  
emerge fails both with gcc-4.0 and gcc-3.3.


# emerge info
Invalid package name in package.provided: app-crypt/mit-krb5
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.21-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.0.0 Power 
Macintosh)
===============================================================
==
System uname: 8.0.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss ppc-macos readline slang userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Lina Pezzella (RETIRED) gentoo-dev 2005-05-11 20:12:57 UTC
Did you install the "xcode tools" from your Tiger installation?
Comment 2 Thomas 2005-05-11 22:59:09 UTC
Of course. Other ebuilds emerge without problems.
Comment 3 Kito (RETIRED) gentoo-dev 2005-07-13 10:38:10 UTC
Should be fixed in CVS. Reopen if problem persists.
Comment 4 Thomas 2005-09-30 00:09:52 UTC
Bug persists in recode 3.6-r2
Comment 5 Fabian Groffen gentoo-dev 2005-09-30 02:18:05 UTC
please post the error message and `emerge info`.

Compiles fine for me.
Comment 6 Thomas 2005-10-18 03:13:49 UTC
emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.53_rc5 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-
aachen.de/pub/Linux/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.rz.tu-
bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LC_ALL="C"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="ppc emboss opengl ppc-macos slang userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

The error message:
sudo emerge recode   
Calculating dependencies ...done!
>>> emerge (1 of 1) app-text/recode-3.6-r2 to /
>>> md5 files   ;-) recode-3.6-r1.ebuild
>>> md5 files   ;-) recode-3.6-r2.ebuild
>>> md5 files   ;-) files/digest-recode-3.6-r1
>>> md5 files   ;-) files/digest-recode-3.6-r2
>>> md5 files   ;-) files/recode-3.6-debian-11.patch
>>> md5 files   ;-) files/recode-3.6-ppc-macos.diff
>>> md5 src_uri ;-) recode-3.6.tar.gz
>>> Unpacking source...
>>> Unpacking recode-3.6.tar.gz to /var/tmp/portage/recode-3.6-r2/work
 * Applying recode-3.6-debian-11.patch ...                                [ ok ]
 * Applying recode-3.6-ppc-macos.diff ...                                 [ ok ]
 * Running elibtoolize in: recode-3.6
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
 *   Applying uclibc-ltconf-1.3.0.patch ...
 *   Applying darwin-ltconf-1.3.0.patch ...
 *   Applying darwin-ltmain-1.3.0.patch ...
>>> Source unpacked.
 * econf: updating recode-3.6/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating recode-3.6/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/
share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-nls --
build=powerpc-apple-darwin
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking how to suppress newlines using echo... option
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe  -lgettextlib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/recode-3.6-r2/work/recode-3.6/config.log

!!! ERROR: app-text/recode-3.6-r2 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

I get the same error on two different machines (G4 and G5), both running OS X 10.4.2.
Comment 7 Kito (RETIRED) gentoo-dev 2005-10-18 08:13:08 UTC
I still can't reproduce this. It looks like it can't find the libgettext.dylib. Have you completed emerge 
system yet? 

Do as the error says:

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/recode-3.6-r2/work/recode-3.6/config.log

Comment 8 Thomas 2005-10-19 03:45:19 UTC
Sorry, should have done this immediately. The problem was with libgettext. I emerged gettext, and now 
recode emerges flawlessly. gettext should be in its dependencies.
Sorry for being lazy.
Comment 9 Fabian Groffen gentoo-dev 2008-02-29 20:51:45 UTC
it's in prefxi.