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

Bug 467686

Summary: =app-text/ghostscript-gpl-9.06 with sys-devel/automake-1.13* - error: 'AM_PROG_CC_STDC': this macro is obsolete.
Product: Gentoo Linux Reporter: Kevin Meagher <meagher.kevin>
Component: Current packagesAssignee: Printing Team <printing>
Severity: normal CC: sgsdxzy, wangbin.zibo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Kevin Meagher 2013-04-28 02:29:03 UTC
>>> Emerging (1 of 1) app-text/ghostscript-gpl-9.06
 * ghostscript-9.06.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                             [ ok ]
 * ghostscript-gpl-9.06-patchset-1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...              [ ok ]
>>> Unpacking source...
>>> Unpacking ghostscript-9.06.tar.bz2 to /var/tmp/portage/app-text/ghostscript-gpl-9.06/work
>>> Unpacking ghostscript-gpl-9.06-patchset-1.tar.bz2 to /var/tmp/portage/app-text/ghostscript-gpl-9.06/work
>>> Source unpacked in /var/tmp/portage/app-text/ghostscript-gpl-9.06/work
>>> Preparing source in /var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06 ...
 * Applying various patches (bugfixes/updates) ...
 *   ghostscript-gpl-8.61-multilib.patch ...                                                 [ ok ]
 *   ghostscript-gpl-8.64-noopt.patch ...                                                    [ ok ]
 *   ghostscript-gpl-9.04-scripts.patch ...                                                  [ ok ]
 *   ghostscript-gpl-9.05-cups-filters.patch ...                                             [ ok ]
 *   ghostscript-gpl-9.05-icc-missing-check.patch ...                                        [ ok ]
 *   ghostscript-gpl-9.06-iccprofiles-initdir.patch ...                                      [ ok ]
 *   ghostscript-gpl-9.06-runlibfileifexists.patch ...                                       [ ok ]
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06' ...
 * Running aclocal ...                                                                       [ ok ]
 * Running autoconf ...                                                                      [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06/ijs' ...
 * Running libtoolize --install --copy --force --automake ...                                [ ok ]
 * Running aclocal ...                                                                       [ !! ]

 * Failed Running aclocal !
 * Include in your bugreport the contents of:
 *   /var/tmp/portage/app-text/ghostscript-gpl-9.06/temp/aclocal-1.out

 * ERROR: app-text/ghostscript-gpl-9.06 failed (prepare phase):
 *   Failed Running aclocal !
 * Call stack:
 *, line   93:  Called src_prepare
 *   environment, line 3440:  Called eautoreconf
 *   environment, line  996:  Called eaclocal
 *   environment, line  899:  Called autotools_run_tool '--at-m4flags' 'aclocal'
 *   environment, line  761:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-9.06'`,
 * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-9.06'`.
/usr/lib64/portage/bin/ line 215: wait: `Failed Running aclocal !': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.06/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-9.06/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06/ijs'
 * S: '/var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06'

# cat /var/tmp/portage/app-text/ghostscript-gpl-9.06/temp/aclocal-1.out
***** aclocal *****
***** PWD: /var/tmp/portage/app-text/ghostscript-gpl-9.06/work/ghostscript-9.06/ijs
***** aclocal error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.
/usr/share/aclocal-1.13/obsolete-err.m4:17: AM_PROG_CC_STDC is expanded from... the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.13: error: echo failed with exit status: 1

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-28 20:17:49 UTC
*** Bug 467688 has been marked as a duplicate of this bug. ***
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-28 20:20:54 UTC
Please post the output of `emerge --info` as a comment, thank you.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-28 20:23:46 UTC

*** This bug has been marked as a duplicate of bug 467100 ***
Comment 4 Kevin Meagher 2013-04-28 21:57:02 UTC
% emerge --info
Portage (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.8.10-gentoo x86_64)
System uname: Linux-3.8.10-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.2
KiB Mem:     4047688 total,     70308 free
KiB Swap:    4000180 total,   3994944 free
Timestamp of tree: Sat, 27 Apr 2013 18:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science steam-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -O3 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O3 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/steam-overlay"
USE="X a52 aac aacs acl acpi alsa amd64 apng archive berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fontforge fortran g3dvl gcj gdbm gif gles2 gnutls gpm gtk hddtemp iconv icu id3tag ipod jpeg lcms ldap libnotify libsamplerate lm_sensors mad midi mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nettle nls nptl nsplugin objc ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline samba sdl session spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff timidity transmission truetype twolame udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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" 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="en_US en" LIRC_DEVICES="serial" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"