Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466462 - sys-devel/autogen-5.17.3: build fails on Gentoo/FreeBSD
Summary: sys-devel/autogen-5.17.3: build fails on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 12:18 UTC by Yuta SATOH
Modified: 2013-05-07 23:21 UTC (History)
2 users (show)

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


Attachments
files/autogen-5.17.3-libintl.patch (autogen-5.17.3-libintl.patch,505 bytes, patch)
2013-04-29 12:22 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-04-19 12:18:47 UTC
The following message is displayed and fails to compile on Gentoo/FBSD.


gmake[3]: Entering directory `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/getdefs'
top_builddir=.. top_srcdir=.. PATH=`cd ../columns >/dev/null && pwd`:$PATH ; export top_builddir top_srcdir PATH ; DEPFILE= \
  /var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/agen5/autogen -L../autoopts/tpl -L../autoopts/tpl  ./opts.def
x86_64-gentoo-freebsd9.1-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I.. -I../autoopts   -O1 -pipe -ggdb -c gd.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-gentoo-freebsd9.1-gcc -std=gnu99  -O1 -pipe -ggdb   -o getdefs  gd.o ../autoopts/libopts.la -lm -lm
libtool: link: x86_64-gentoo-freebsd9.1-gcc -std=gnu99 -O1 -pipe -ggdb -o .libs/getdefs gd.o  ../autoopts/.libs/libopts.so -lm
../autoopts/.libs/libopts.so: undefined reference to `libintl_dgettext'
../autoopts/.libs/libopts.so: undefined reference to `libintl_gettext'
collect2: ld returned 1 exit status
gmake[3]: *** [getdefs] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/getdefs'
gmake[2]: *** [stamp-doc] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3/getdefs'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-devel/autogen-5.17.3/work/autogen-5.17.3'
gmake: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge sys-devel/autogen
2.
3.





sys-devel/autogen-5.15 was compiled successfully.
Comment 1 Naohiro Aota gentoo-dev 2013-04-29 12:22:39 UTC
Created attachment 346882 [details, diff]
files/autogen-5.17.3-libintl.patch

@toolchain

This patch add libintl's gettext() check to the configure. This should fix the issue. (worked here)
Comment 2 SpanKY gentoo-dev 2013-04-29 18:14:53 UTC
(In reply to comment #1)

i suspect this patch is incorrect.  pretty sure you want:
AC_SEARCH_LIBS([gettext], [intl])
Comment 3 Bruce Korb 2013-04-29 22:19:33 UTC
(In reply to comment #2)
> ...  pretty sure you want:
> AC_SEARCH_LIBS([gettext], [intl])

"Next time".  Thank you.
Comment 4 Naohiro Aota gentoo-dev 2013-05-04 04:48:41 UTC
Added AC_SEARCH_LIBS patch. Thanks.
Comment 6 Naohiro Aota gentoo-dev 2013-05-07 23:21:01 UTC
OK, I'll take care next time.