Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20053 - aide-0.x does not work mhash-0.8.18 on multiple arches
Summary: aide-0.x does not work mhash-0.8.18 on multiple arches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-27 12:20 UTC by Jason Wever (RETIRED)
Modified: 2003-05-01 16:43 UTC (History)
1 user (show)

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 Jason Wever (RETIRED) gentoo-dev 2003-04-27 12:20:18 UTC
aide cannot find what it needs from mhash-0.8.18 on either sparc or x86 and the
configure script dies.  mhash-0.8.16 works fine however.  One difference I do
notice though is that /usr/lib/libmhash.a exists in mhash-0.8.16 and not in
mhash-0.8.18


Output from configure;

checking for mhash_get_block_size in -lmhash... no
You must have libmhash properly installed.

!!! ERROR: app-admin/aide-0.8 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed


Output from config.log;

configure:2932: checking for mhash_get_block_size in -lmhash
configure:2951: gcc -o conftest -static  -I/var/tmp/portage/aide-0.8/work/aide-0
.8 -I/var/tmp/portage/aide-0.8/work/aide-0.8/src  conftest.c -lmhash  -lz  1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: c
annot find -lmhash
collect2: ld returned 1 exit status
configure: failed program was:
#line 2940 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mhash_get_block_size();


Reproducible: Always
Steps to Reproduce:
1. emerge aide
2.
3.

Actual Results:  
checking for mhash_get_block_size in -lmhash... no
You must have libmhash properly installed.

!!! ERROR: app-admin/aide-0.8 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed

Expected Results:  
Sucessfully completed the configure script and built aide

emerge info from x86;

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Duron(tm) processor
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses
pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang
readline tetex bonobo svga tcltk guile X sdl gpm tcpd pam ssl perl python imlib
oggvorbis gtk motif opengl mozilla snmp aalib -arts cdr -crypt cups dvd esd
ethereal evo -gnome -java -kde -qt -nls usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe"
CXXFLAGS="-march=athlon -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"


emerge info from sparc

Portage 2.0.47-r10 (default-sparc64-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-sparc-r7 sparc64 sun4u
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/home/weeve/cvsroot/gentoo-x86"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="sparc apm avi crypt cups encode fbcon gif gnome jpeg mikmod mpeg ncurses
nls oss png pdflib spell truetype xv xml2 xmms zlib gtkhtml gdbm berkdb slang
readline arts tetex bonobo tcltk java guile X sdl gpm tcpd pam libwww ssl perl
python esd imlib oggvorbis gtk qt kde motif opengl mozilla ldap snmp"
COMPILER="gcc3"
CHOST="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
ACCEPT_KEYWORDS="sparc ~sparc"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-01 16:43:38 UTC
Fixed it now. There was an upstream change that wasn't mentioned in their Changelog for some reason. 
Previously the package built both static and shared libraries, but in .18, the default changed to shared only.