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

Bug 52470

Summary: app-crypt/steghide-0.5.1 compile error
Product: Gentoo Linux Reporter: Daniel Webert <rockoo>
Component: Current packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: steghide-0.5.1.ebuild.diff
fix-libtool-invocation.patch

Description Daniel Webert 2004-05-30 08:42:53 UTC
app-crypt/steghide-0.5.1 compile error

<snip>
...
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DLOCALEDIR=\"/usr/share/locale\"   -O2 -Wall -MT SMDConstructionHeuristic.o -MD -MP -MF ".deps/SMDConstructionHeuristic.Tpo" \
  -c -o SMDConstructionHeuristic.o `test -f 'SMDConstructionHeuristic.cc' || echo './'`SMDConstructionHeuristic.cc; \
then mv ".deps/SMDConstructionHeuristic.Tpo" ".deps/SMDConstructionHeuristic.Po"; \
else rm -f ".deps/SMDConstructionHeuristic.Tpo"; exit 1; \
fi
/bin/sh libtool --mode=link g++  -O2 -Wall   -o steghide  Arg.o Arguments.o AssertionFailed.o AuFile.o AuSampleValues.o DFSAPHeuristic.o BFSAPHeuristic.o BinaryIO.o BitString.o BmpFile.o BmpPaletteSampleValue.o BmpRGBSampleValue.o BmpSampleValue.o WKSConstructionHeuristic.o DMDConstructionHeuristic.o CvrStgFile.o Edge.o EdgeIterator.o EmbData.o Embedder.o EncryptionAlgorithm.o EncryptionMode.o Extractor.o Graph.o JpegFile.o JpegSampleValue.o MCryptPP.o MHashKeyGen.o MHashPP.o Matching.o MatchingAlgorithm.o ProgressOutput.o PseudoRandomSource.o RGBTriple.o RandomSource.o SampleValue.o SampleValueAdjacencyList.o Selector.o Session.o SteghideError.o Terminal.o Utils.o Vertex.o WavChunk.o WavChunkHeader.o WavChunkUnused.o WavFile.o WavFormatChunk.o WavPCMSampleValue.o error.o main.o msg.o SMDConstructionHeuristic.o  -ljpeg -lmcrypt -lmhash -lz 
libtool: line 1290: libtool: No such file or directory
libtool: line 1290: libtool: No such file or directory
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[2]: *** [steghide] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/steghide-0.5.1/work/steghide-0.5.1/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/steghide-0.5.1/work/steghide-0.5.1'
make: *** [all] Fehler 2

!!! ERROR: app-crypt/steghide-0.5.1 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! make failed
</snap>

<snip>
sys-devel/libtool :
        [   ] 1.4.1-r10 (0)
        [   ] 1.4.3-r3 (0)
        [   ] 1.4.3-r4 (0)
        [ ~ ] 1.5.2-r3 (0)
        [ ~ ] 1.5.2-r4 (0)
        [ ~I] 1.5.2-r5 (0)

app-crypt/mhash :
        [   ] 0.8.18-r1 (0)
        [  I] 0.9.1 (0)

media-libs/jpeg :
        [   ] 6b-r2 (0)
        [  I] 6b-r3 (0)

sys-libs/zlib :
        [   ] 1.1.4-r2 (0)
        [ ~ ] 1.1.4-r3 (0)
        [ ~ ] 1.1.4-r4 (0)
        [ ~ ] 1.2.1 (0)
        [ ~ ] 1.2.1-r1 (0)
        [ ~I] 1.2.1-r2 (0)

dev-libs/libmcrypt :
        [  I] 2.5.7 (0)
</snap>

<snip>
porkoo rockoo # emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-love2)
=================================================================
System uname: 2.6.6-love2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2  /share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm  /config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /us  r/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://gentoo.risq.qc.ca/ http://sunsite.cnlab-switch.ch/ftp/mirr  or/gentoo/ http://128.213.5.34/gentoo/ http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X Xaw3d adns aim amd apache2 apm arts artswrappersuid async autofs avi berk  db chroot clamav crypt cups dillo directfb dv encode escreen esd ethereal etwin   faad fam ffmpeg flac foomaticdb gd gdbm gif glut gphoto2 gpm gps gstreamer gtk g  tk2 hbci icq ieee1394 imagemagick imap imlib imlib2 ipv6 jabber java jpeg lcd li  bcaca libg++ libwww lirc live lufsusermount lzw-tiff mad matroska mikmod mldonke  ypango mmx motif mpeg msn mysql ncurses nls oav oggvorbis openal opengl oscar os  s pam pcap pdflib perl png python qt quicktime readline samba sdl skey slang sll   speex spell ssl svg svga tcltk tcpd tetex tiff truetype vim-with-x x86 xchattex  t xface xinerama xml xml2 xmms xosd xv xvid yahoo zlib"
</snap>
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-30 21:54:46 UTC
zhen, looks like you're the maintainer of this -- can you please add yourself to the metadata.xml
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2004-06-13 19:52:17 UTC
i'm not really the maintainer, but I can look into this bug.

built fine on my athlon over here - did you try the build w/o distcc?
Comment 3 Daniel Webert 2004-06-15 12:12:45 UTC
same error w/o distcc, w/o ccache
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2004-07-30 09:37:34 UTC
Created attachment 36472 [details, diff]
steghide-0.5.1.ebuild.diff
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2004-07-30 09:39:14 UTC
Created attachment 36473 [details, diff]
fix-libtool-invocation.patch

The problem here is that libtool is invoked incorrectly. This approach was
suggested on the steghide-devel mailing list, and it seems to work fine. It's
not the prettiest way of solving it, so one might look patching the configure
magic so it doesn't write out a faulty Makefile to begin with.
Anyhow, compile-tested.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2004-07-30 10:56:02 UTC
Patches committed to CVS. After a sync (give it two hours to fully propagate), steghide should build for you.