Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 294918

Summary: [java-overlay] dev-java/icedtea-7.1.12 fails to build: autoconf: "possibly undefined macro"
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 257596    
Attachments: Depend on !=sys-devel/autoconf-2.64:2.5.

Description Dennis Schridde 2009-11-28 00:23:29 UTC
***** autoconf *****
***** PWD: /var/tmp/portage/dev-java/icedtea-1.12/work/icedtea-1.12
***** autoconf

configure:1670: error: possibly undefined macro: _m4_text_wrap_word
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


Reproducible: Always
Comment 1 Dennis Schridde 2009-11-28 00:25:00 UTC
Portage 2.2_rc52 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================                                     
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Fri, 27 Nov 2009 23:45:01 +0000                                                          
app-shells/bash:     4.0_p35                                                                                
dev-java/java-config: 2.1.9-r1                                                                              
dev-lang/python:     2.6.4, 3.1.1-r1                                                                        
dev-python/pycrypto: 2.1.0_beta1                                                                            
dev-util/cmake:      2.8.0                                                                                  
sys-apps/baselayout: 2.0.1                                                                                  
sys-apps/openrc:     0.5.2-r2                                                                               
sys-apps/sandbox:    2.2                                                                                    
sys-devel/autoconf:  2.13, 2.64                                                                             
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                       
sys-devel/binutils:  2.20                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                 
sys-devel/libtool:   2.2.6b                                                                                 
virtual/os-headers:  2.6.30-r1                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                              
ACCEPT_LICENSE="* -@EULA"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                
CFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"                                  
CHOST="x86_64-pc-linux-gnu"                                                                                 
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
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="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/kde-testing /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/sunrise /var/cache/portage/layman/java-overlay /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/mpd /var/cache/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
[...]
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Dennis Schridde 2009-12-16 15:38:14 UTC
The issue persists.
Comment 3 Bohdan Popovych 2009-12-25 12:44:43 UTC
take a look here:
http://old.nabble.com/nested----with-whitespace-in-misc-description-leads-to-_m4_text_wrap_word-errors-td25944510.html

upgrade to unstable autoconf 2.65 helped with this.
Comment 4 Dennis Schridde 2009-12-27 13:32:17 UTC
Issue is fixed with sys-devel/autoconf-2.65.
dev-java/icedtea-1.12 should depend on !sys-devel/autoconf-2.64.
Comment 5 Dennis Schridde 2009-12-27 15:40:52 UTC
Created attachment 214311 [details, diff]
Depend on !=sys-devel/autoconf-2.64:2.5.

(In reply to comment #4)
> Issue is fixed with sys-devel/autoconf-2.65.
> dev-java/icedtea-1.12 should depend on !sys-devel/autoconf-2.64.
Patch attached.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-05 09:56:53 UTC
Fixed in 7.1.12, thanks.