Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233286 - sys-apps/shadow-4.1.2.1 USE="-nls" - configure.in:412: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
Summary: sys-apps/shadow-4.1.2.1 USE="-nls" - configure.in:412: error: possibly undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 249403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-29 15:31 UTC by Sergey Dryabzhinsky
Modified: 2008-12-01 04:07 UTC (History)
3 users (show)

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 Sergey Dryabzhinsky 2008-07-29 15:31:01 UTC
I'm trying to build tiny system without any 'stuff' and I'm switch off almost all USE-flags, and also 'nls'. Just unpacked latest (2008.0) stage3 for i686.

# cat /etc/make.conf
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
CHOST="i686-gentoo-linux-gnu"
FEATURES="buildpkg noinfo noman nodoc userpriv"
ACCEPT_KEYWORDS="~x86"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
PORTAGE_NICENESS=19
USE="-* minimal nocxx -cxx unicode ipv6 logrotate"


# emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-20-generic i686)
=================================================================
System uname: 2.6.24-20-generic i686 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Mon, 28 Jul 2008 01:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-gentoo-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-gentoo-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ipv6 logrotate minimal nocxx unicode x86" 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="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Reproducible: Always

Steps to Reproduce:
1. Rebuild system with USE="-nls"
2. Unmerge sys-devel/gettext (not needed, check emerge --depclean)
3. Try to build sys-apps/shadow-4.1.2.1

Actual Results:  
Unpack stops with autoconf fail:

***** autoconf *****
***** autoconf

configure.in:412: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:413: error: possibly undefined macro: AM_GNU_GETTEXT


Expected Results:  
Dont check for any gettext stuff, or need it only for compile time...
Comment 1 Sergey Dryabzhinsky 2008-07-30 08:17:50 UTC
BTW, stable sys-apps/shadow-4.0.18.2 compiles fine
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2008-07-30 13:24:26 UTC
The issue is we're running autoreconf and libtoolize inside of the unpack stage of this ebuild. Which means that gettext is a depend since that autoconf macro is provided by gettext.
Comment 3 Sergey Dryabzhinsky 2008-07-31 10:31:09 UTC
Change in line with 'eautoreconf' to 'eautoconf || die' solve unpack problem, but is it right?
Comment 4 SpanKY gentoo-dev 2008-11-30 03:16:35 UTC
should be safe i think as openpam only touches the configure file, and none of the stuff it adds requires a regen of other autotools from what i can see

http://sources.gentoo.org/sys-apps/shadow/shadow-4.1.2.1.ebuild?r1=1.2&r2=1.3
http://sources.gentoo.org/sys-apps/shadow/shadow-4.1.2.2.ebuild?r1=1.1&r2=1.2
Comment 5 Walter Meinl 2008-11-30 22:09:59 UTC
(In reply to comment #4)
> should be safe i think as openpam only touches the configure file, and none of
> the stuff it adds requires a regen of other autotools from what i can see
> 
but it broke not yet clear why, one difference is that it doesn't use libtool after eautoconf, error lines see bug249403
Comment 6 Walter Meinl 2008-11-30 22:47:05 UTC
(In reply to comment #5)
> (In reply to comment #4)
> but it broke not yet clear why, one difference is that it doesn't use libtool
> after eautoconf, error lines see bug249403
> 
USE='-pam' works, but not USE='pam'
Comment 7 SpanKY gentoo-dev 2008-12-01 03:41:33 UTC
*** Bug 249403 has been marked as a duplicate of this bug. ***