Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290207 - sys-apps/module-init-tools-3.10+ fail with: unterminated call to function `addprefix': missing `)'
Summary: sys-apps/module-init-tools-3.10+ fail with: unterminated call to function `ad...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 08:12 UTC by Brian Dolbec
Modified: 2009-10-24 08:27 UTC (History)
0 users

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


Attachments
-3.10 build.log (build.log,3.73 KB, text/plain)
2009-10-23 14:57 UTC, Brian Dolbec (RETIRED)
Details
-3.11 build.log (build.log,3.83 KB, text/plain)
2009-10-23 14:59 UTC, Brian Dolbec (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Dolbec (RETIRED) gentoo-dev 2009-10-23 08:12:52 UTC
077330 Makefile:350: *** unterminated call to function `addprefix': missing `)'.  Stop.


Reproducible: Always

Steps to Reproduce:
1.emerge module-init-tools
2.
3.

Actual Results:  
077325 config.status: executing buildir commands
077326 config.status: create top_srcdir/Makefile guessed from local Makefile
077327 config.status: build in build (HOST=)
077328 config.status: executing depfiles commands
077329 make -j16 
077330 Makefile:350: *** unterminated call to function `addprefix': missing `)'.  Stop.
077331 make: INTERNAL: Exiting with 17 jobserver tokens available; should be 16!
077332  * ERROR: sys-apps/module-init-tools-3.11 failed:
077333  *   emake module-init-tools failed
077334  * 
077335  * Call stack:
077336  *     ebuild.sh, line  49:  Called src_compile
077337  *   environment, line 2342:  Called die
077338  * The specific snippet of code:
077339  *       emake || die "emake module-init-tools failed"



I am running an "~amd64" system.  I'd give the full emerge --info, but the error seems quite clear it's a typo.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2009-10-23 08:14:21 UTC
cc'ing vapier as he seems to be the maintainer.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-23 09:35:04 UTC
Please don't CC maintainers/herds yourself. Leave that to the bug-wranglers.

Please post the output of "emerge --info modules-init-tools" and attach the build.log file of the failed emerge to this bug since I cannot reproduce the problem on my machines.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2009-10-23 14:57:52 UTC
Created attachment 208002 [details]
-3.10 build.log

brian@big_daddy ~ $ emerge --info
Portage 2.2_rc46 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8400_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 23 Oct 2009 00:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.3, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -pipe -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch parralell-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amd64 avahi berkdb bidi bluetooth bonobo branding bzip2 cairo cddb cdr cleartype cli consolekit cracklib crypt css cups curl dbus dlloader dri dts dv dvd dvdr dvdread eds emboss encode evo fam fame fbcon ffmpeg flac fortran ftp gdbm gecko gif gimpprint gnome gpm gs gstreamer gtk gtk2 gtkhtml hal howl iconv imagemagic imap imlib2 innodb isdnlog java javascript jikes joystick jpeg lcms ldap libnotify lm_sensors mad md5sum messages mikmod mime mmx modules moxnomail mozdevelop mp3 mp4 mpeg mpi mplayer mudflap multilib mysql nautilus ncurses nfs nls no-old-linux nptl nptlonly nptonly numeric nvidia ogg opengl openmp pam pcre pda pdf perl png posix ppds pppd python qt3support quicktime readline reflection rtc samba sdl session sndfile sox speex spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification svg swat sysfs syslog tcpd threadsonly thumbnail thunar thunar-vfs tiff tk transcode truetype unicode usb utf8 v4l v4l2 vcd vdpau vorbis x264 xine xml xorg xosd xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

brian@big_daddy ~ $
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2009-10-23 14:59:39 UTC
Created attachment 208003 [details]
-3.11 build.log
Comment 5 SpanKY gentoo-dev 2009-10-23 17:20:38 UTC
the line is:
SGML = $(addprefix doc/,  $(MAN5:
    @ HOST="$(HOST)" \
    ......

dont know why it fails for you but no one else
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2009-10-24 03:29:11 UTC
I've been doing a little more checking.  And it now fails the same for -3.9 as well, but 3.9 is currently installed.  So at one point it did not fail and successfully built and installed.

I don't know what I'm doing with autotools, so I tried merging/unmerging different versions of automake to no avail. All attempts at module-init-tools fail the same way.  I tried 3.11, 3.10, 3.9, 3.8,  they all failed, but 3.6-r1 built and installed OK.  Now I'm down to 3.6-r1 and unable to get back up to 3.9 even.

Any idea what might be causing it to fail like that.  

Here is the relevant portion of the bad MakeFile.  All were exactly the same:  loading them into scite with the language set to makefile it clearly identifies that line as not being complete until a ")" is added.

MAN5 = modprobe.conf.5 modules.dep.5 depmod.conf.5 modprobe.d.5
MAN8 = depmod.8 insmod.8 lsmod.8 rmmod.8 modprobe.8 modinfo.8
SGML = $(addprefix doc/,  $(MAN5:
	@ HOST="$(HOST)" \
	; test ".$$HOST" = "." && HOST=` sh /var/tmp/portage/sys-apps/module-init-tools-3.9/work/module-init-tools-3.9/config.guess ` \
	; BUILD=` grep "^#### $$HOST " Makefile | sed -e 's/.*|//' ` \
	; use=` basename "$@" -all `; n=` echo $$BUILD | wc -w ` \
	; echo "MAKE $$HOST : $$n * $@"; if test "$$n" = "0" ; then : \
	; BUILD=` grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' ` ; fi \
	; test ".$$BUILD" = "." && BUILD="." \
	; test "$$use" = "$@" && BUILD=` echo "$$BUILD" | tail -1 ` \
	; for i in $$BUILD ; do test ".$$i" = "." && continue \
	; (cd "$$i" && test ! -f configure && $(MAKE) $$use) || exit; done
dist_man_MANS = $(MAN5) $(MAN8)
Comment 7 SpanKY gentoo-dev 2009-10-24 08:27:17 UTC
it's a bug in the ugly sed foo that's in AX_ENABLE_BUILDDIR

ive changed the ebuild to force out-of-tree building and thus avoid the whole problem

http://sources.gentoo.org/sys-apps/module-init-tools/module-init-tools-3.11.ebuild?r1=1.2&r2=1.3