Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171540 - app-text/recode-3.6-r2 fails to compile
Summary: app-text/recode-3.6-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 11:12 UTC by Carmine Paolino
Modified: 2007-03-20 13:43 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 Carmine Paolino 2007-03-20 11:12:48 UTC
app-text/recode-3.6-r2 fails to compile in gentoo/freebsd-6.2:
[cut]
creating librecode.la
(cd .libs && rm -f librecode.la && ln -s ../librecode.la librecode.la)
gcc -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I../libiconv    -O2 -march=prescott -pipe -c main.c
gcc -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I../libiconv    -O2 -march=prescott -pipe -c freeze.c
gcc -DLIBDIR=\"/usr/lib\" -DHAVE_CONFIG_H -I.. -I. -I../lib -I../libiconv    -O2 -march=prescott -pipe -c mixed.c
/bin/sh ../libtool --mode=link gcc  -O2 -march=prescott -pipe  -o recode  main.o freeze.o mixed.o librecode.la ../lib/libreco.a 
gcc -O2 -march=prescott -pipe -o .libs/recode main.o freeze.o mixed.o .libs/librecode.so ../lib/libreco.a
main.o: In function `task_perror':
main.c:(.text+0x23): undefined reference to `libintl_gettext'
main.c:(.text+0x31): undefined reference to `libintl_gettext'
main.c:(.text+0x3f): undefined reference to `libintl_gettext'
main.c:(.text+0x4d): undefined reference to `libintl_gettext'
main.c:(.text+0x5b): undefined reference to `libintl_gettext'
main.o:main.c:(.text+0x69): more undefined references to `libintl_gettext' follow
main.o: In function `main':
main.c:(.text+0x2f8): undefined reference to `libintl_bindtextdomain'
main.c:(.text+0x304): undefined reference to `libintl_textdomain'
main.c:(.text+0x594): undefined reference to `libintl_gettext'
main.c:(.text+0x609): undefined reference to `libintl_gettext'
main.c:(.text+0x847): undefined reference to `libintl_gettext'
main.c:(.text+0x881): undefined reference to `libintl_gettext'
main.c:(.text+0x8cb): undefined reference to `libintl_gettext'
main.o:main.c:(.text+0x905): more undefined references to `libintl_gettext' follow
collect2: ld returned 1 exit status
gmake[2]: *** [recode] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/app-text/recode-3.6-r2/work/recode-3.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/app-text/recode-3.6-r2/work/recode-3.6'
gmake: *** [all-recursive-am] Error 2

!!! ERROR: app-text/recode-3.6-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3546:   Called src_compile
  recode-3.6-r2.ebuild, line 37:   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 '/var/tmp/portage/app-text/recode-3.6-r2/temp/build.log'.


Here is my emerge --info:
Portage 2.1.2.2 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r0, 6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Tue, 20 Mar 2007 11:00:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-devel/autoconf:  2.61
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  6.2
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.2"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo"
LINGUAS="it"
PKGDIR="/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X bash-completion berkdb cli crypt dri gdbm iconv java5 libg++ midi mmx mmxext ncurses nls oss pam pcre perl ppds python readline reflection session spl sqlite sse sse2 ssl symlink tcpd unicode x86-fbsd xorg zlib" 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" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="BSD" VIDEO_CARDS="vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1. emerge recode
Comment 1 ebfe 2007-03-20 13:11:13 UTC
compiling with -nls will fix the problem for the time
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-03-20 13:43:07 UTC
Fixed