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

Bug 424892

Summary: net-dialup/capisuite-0.4.5-r6 fails to build with automake >= 1.11.2
Product: Gentoo Linux Reporter: Dennis Freise <dennis.freise>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal CC: tb
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 425332    
Attachments: capisuite-0.4.5-Makefile.patch

Description Dennis Freise 2012-07-05 12:23:47 UTC
Created attachment 317284 [details, diff]
capisuite-0.4.5-Makefile.patch

Building capisuite-0.4.5-r6 with recent ~amd64 automake fails with the following error:

-------------------------------------------------------------------------

 * Package:    net-dialup/capisuite-0.4.5-r6
 * Repository: gentoo
 * Maintainer: net-dialup@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking capisuite-0.4.5.tar.gz to /var/tmp/portage/net-dialup/capisuite-0.4.5-r6/work
 * Applying capisuite-0.4.5-as-needed.patch ...
 [ ok ]
 * Applying capisuite-0.4.5-capi4linux_v3.diff ...
 [ ok ]
 * Applying capisuite-0.4.5-date-header.patch ...
 [ ok ]
 * Applying capisuite-fax-compatibility.patch ...
 [ ok ]
 * Applying capisuite-0.4.5-syntax.patch ...
 [ ok ]
 * Applying capisuite-0.4.5-gcc43.patch ...
 [ ok ]
 * Applying capisuite-0.4.5-python25.patch ...
 [ ok ]
 * Applying capisuite-0.4.5-sox.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-dialup/capisuite-0.4.5-r6/work/capisuite-0.4.5' ...
 * Running aclocal ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-dialup/capisuite-0.4.5-r6/temp/automake.out

 * ERROR: net-dialup/capisuite-0.4.5-r6 failed (unpack phase):
 *   Failed Running automake !
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_unpack
 *   environment, line 5714:  Called eautoreconf
 *   environment, line 1524:  Called eautomake
 *   environment, line 1477:  Called autotools_run_tool 'automake' '--add-missing' '--copy'
 *   environment, line 1290:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";

-------------------------------------------------------------------------

Contents of /var/tmp/portage/net-dialup/capisuite-0.4.5-r6/temp/automake.out:

***** automake *****
***** PWD: /var/tmp/portage/net-dialup/capisuite-0.4.5-r6/work/capisuite-0.4.5
***** automake --add-missing --copy

scripts/Makefile.am:4: error: 'pkglibdir' is not a legitimate directory for 'DATA'

-------------------------------------------------------------------------

emerge --info:

Portage 2.1.11.4 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r2, 3.4.4-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.4.4-hardened-r1-x86_64-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-2.1
Timestamp of tree: Thu, 05 Jul 2012 03:15:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo anarchy hardened-dev local-gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=atom -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ http://gentoo.mneisen.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de_DE@euro de en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/anarchy /var/lib/layman/hardened-development /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip acl ads amavis amd64 apache2 async bash-completion bcmath berkdb bittorrent bzip2 caps cli corefonts cracklib crypt ctype cxx diskio dkim dri exif expat extensions fam fastbuild filter fontconfig ftp gd gdbm geoip git gocr hardened iconv idled idn imagemagick imap ipv6 ithreads jbig jpeg justify kerberos ldap libnl libnotify lm_sensors logrotate magic mhash mmx modules mudflap multilib multiuser mysql mysqli mysqlnd ncurses nls nptl ocrad openmp openssl pam pax_kernel pcntl pcre pdo perl png posix pppd python python3 razor rcapid readline samba sasl session slang snmp sockets spamassassin spl sqlite sqlite3 sse sse2 ssl sslv2 suhosin sysvipc tcp tcpd tesseract threads tiff truetype unicode urandom usb vhosts webinterface winbind xml xmlreader xmlrpc xorg xsl zlib" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de_DE@euro de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

-------------------------------------------------------------------------

Attaching proposed patch, fixes compilation.
Comment 1 Rafał Mużyło 2012-07-05 14:28:16 UTC
IIRC, that's not just automake 1.12, but >=1.11.2.
Comment 2 Thomas Beutin 2013-01-10 10:07:04 UTC
the attached patch works for me, too.
Comment 3 Sergey Popov (RETIRED) gentoo-dev 2013-04-01 16:33:41 UTC
+  01 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> capisuite-0.4.5-r6.ebuild,
+  +files/capisuite-0.4.5-automake-1.11.patch:
+  Fix building with automake >=1.11.2, wrt bug #424892. Thanks to Dennis Freise
+  for discovering this issue and for providing patch