Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497922 - net-analyzer/iftop-1.0_pre* - configure.in:109: error: possibly undefined macro: AC_MSG_CHECKING / AC_TRY_LINK
Summary: net-analyzer/iftop-1.0_pre* - configure.in:109: error: possibly undefined mac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 18:31 UTC by cyberbat
Modified: 2014-01-13 01:35 UTC (History)
0 users

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 cyberbat 2014-01-12 18:31:23 UTC
amd64-hardened

The same thing with net-analyzer/iftop-1.0_pre3. net-analyzer/iftop-0.17 emerges normally. Can't repeat this on amd64 not hardened or on x86-hardened.

cat build.log 
 * Package:    net-analyzer/iftop-1.0_pre2
 * Repository: gentoo
 * Maintainer: netmon@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs
 * Package:    net-analyzer/iftop-1.0_pre2
 * Repository: gentoo
 * Maintainer: netmon@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs
>>> Unpacking source...
>>> Unpacking iftop-1.0pre2.tar.gz to /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work
>>> Source unpacked in /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work
>>> Preparing source in /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2 ...
 * Applying iftop-1.0_pre2-tinfo.patch ...                                                                                      [ ok ]
 * Applying iftop-1.0_pre2-pthread.patch ...                                                                                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2' ...
 * Running aclocal ...                                                                                                          [ ok ]
 * Running autoconf ...                                                                                                         [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-analyzer/iftop-1.0_pre2/temp/autoconf.out

 * ERROR: net-analyzer/iftop-1.0_pre2::gentoo failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 2616:  Called eautoreconf
 *   environment, line  801:  Called eautoconf
 *   environment, line  720:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  560:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=net-analyzer/iftop-1.0_pre2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-analyzer/iftop-1.0_pre2::gentoo'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 188: wait: `Failed Running autoconf !': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/net-analyzer/iftop-1.0_pre2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/iftop-1.0_pre2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2'
 * S: '/var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2'

cat autoconf.out 
***** autoconf *****
***** PWD: /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2
***** autoconf

configure.in:110: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:110: the top level
configure.in:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.in:209: the top level
configure.in:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.in:209: the top level
configure.in:238: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:238: the top level
configure.in:109: error: possibly undefined macro: AC_MSG_CHECKING
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:359: error: possibly undefined macro: AC_TRY_LINK

cat aclocal.out 
***** aclocal *****
***** PWD: /var/tmp/portage/net-analyzer/iftop-1.0_pre2/work/iftop-1.0pre2
***** aclocal

aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:110: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:110: the top level
configure.in:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.in:209: the top level
configure.in:209: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
configure.in:209: the top level
configure.in:238: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2729: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2748: AC_RUN_IFELSE is expanded from...
configure.in:238: the top level
Comment 1 cyberbat 2014-01-12 18:32:08 UTC
emerge --info
Portage 2.2.7 (hardened/linux/amd64/no-multilib, gcc-4.7.3, glibc-2.17, 3.11.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.11.7-hardened-r1-x86_64-Intel-R-_Pentium-R-_CPU_G2020T_@_2.50GHz-with-gentoo-2.2
KiB Mem:    16395864 total,  14404324 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of tree: Fri, 10 Jan 2014 05:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.2-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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=""
SYNC="rsync://rsync1.ru.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion bzip2 caps cli cracklib cron crypt cxx device-mapper dri hardened iconv icu idn ipv6 justify lm_sensors mmx modules mudflap ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl ssse3 udev unicode urandom vim-syntax 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" 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" DRACUT_MODULES="caps lvm" 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 ublox 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="ru en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga 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"
USE_PYTHON="3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 cyberbat 2014-01-12 18:50:38 UTC
I get that it's caused by /usr/portage/net-analyzer/iftop/files/iftop-1.0_pre?-tinfo.patch. If I try

rm configure; autoconf

on vanila sources it's ok. But after appling this patch I got error described.
Comment 3 cyberbat 2014-01-12 19:12:17 UTC
And resolution is that net-analyzer/iftop-1.0_pre* should DEPEND on virtual/pkgconfig
Comment 4 cyberbat 2014-01-12 19:47:38 UTC
I post patch for fixing this bug in bug 497926.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-13 01:35:10 UTC
It seems you already addressed this in bug #497926.