Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99384 - net-analyzer/scanssh-2.1 fails to configure due to "undefined macros"
Summary: net-analyzer/scanssh-2.1 fails to configure due to "undefined macros"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 17:59 UTC by Flophouse Joe
Modified: 2005-08-04 02:20 UTC (History)
1 user (show)

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


Attachments
emerge error output for scanssh (scanssh-2.1.txt,4.51 KB, text/plain)
2005-07-17 18:04 UTC, Flophouse Joe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flophouse Joe 2005-07-17 17:59:43 UTC
I am unable to emerge net-analyzer/scanssh-2.1.  The compile fails during
initial autoconf portion.

It appears that the file
/var/tmp/portage/scanssh-2.1/work/scanssh-2.1/configure.in is at fault: autoconf
complains that there are undefined marcos in configure.in on lines 3, 72, 77, &
191, and then exits.  (See compilation errors, attached)

Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. emerge scanssh
Actual Results:  
scanssh failed to compile.  The last few lines of output read:
autoconf: Undefined macros:
configure.in:191:}, AC_MSG_RESULT(yes), AC_WARNING(your version of libdnet is
buggy - working around it), AC_MSG_RESULT(yes))
configure.in:3:AC_CONFIG_SRCDIR(scanssh.c)
configure.in:72:   AC_LIBOBJ(md5)
configure.in:77:   AC_LIBOBJ(err)


Expected Results:  
scanssh should have compiled successfully

joe@chester ~ $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.7, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo-rsync.halibutdepot.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg kde libg++ libwww
mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd
tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Flophouse Joe 2005-07-17 18:04:45 UTC
Created attachment 63658 [details]
emerge error output for scanssh

This is the output from "emerge scanssh", which includes the "undefined marco"
errors that prevent the app from compiling.
Comment 2 Jonathan Smith (RETIRED) gentoo-dev 2005-07-17 19:14:31 UTC
i get the same problem
Comment 3 Marco Morales 2005-07-18 05:34:33 UTC
Here works with libdnet-1.7 , what libdnet version are you trying guys?
Comment 4 Flophouse Joe 2005-07-18 16:03:29 UTC
I also have libdnet 1.7; it was automatically installed by portage as a
dependency.  Just for fun, I tried "emerge -C libdnet scanssh ; emerge scanssh",
but the problem still persists.

I suspect that libdnet itself is not to blame even though the configure error
mentions it.  Rather, I suspect that the file configure.in is either malformed
or not getting generated correctly, and that the line that's incorrect just
happens to refer libdnet.  Unfortunately, I don't know how to persue this theory
because I'm not familiar with autoconf.
Comment 5 Jonathan Smith (RETIRED) gentoo-dev 2005-07-18 16:09:03 UTC
its broken on libdnet-0.8, 0.8-r1, 0.10 too

thats the first thing i tried :-)
Comment 6 Thomas Heinz 2005-07-24 05:06:55 UTC
Note that `autoconf` is executed although 'configure' already exists. Clearly,
this should work anyway but as temporary workaround you may do the following:

- emerge scanssh
- suspend after 'Source unpacked.' (press ctrl+z)
- touch /var/tmp/portage/scanssh-2.1/work/scanssh-2.1/configure
- resume emerge (enter fg)
Comment 7 Pieter Baele 2005-07-28 04:55:07 UTC
Same problem here...

Thomas Heinz, can you explain the last step of your workaround?
Comment 8 Daniel Webert 2005-08-03 09:16:11 UTC
can we fix this plz - it is a STABLE package
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-08-04 02:20:28 UTC
fixed =- thanks Thomas and co.