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

Bug 83840

Summary: app-crypt/steghide emerge fails
Product: Gentoo Linux Reporter: Thomas Beinicke <merlin>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: steghide.diff

Description Thomas Beinicke 2005-03-02 09:13:49 UTC
When I emerge steghide I get an error and the compilation process stops with the following messages:

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -DLOCALEDIR=\"/usr/share/locale\"   -O2 -Wall -MT DFSAPHeuristic.o -MD -MP -MF ".deps/DFSAPHeuristic.Tpo" \
  -c -o DFSAPHeuristic.o `test -f 'DFSAPHeuristic.cc' || echo './'`DFSAPHeuristic.cc; \
then mv ".deps/DFSAPHeuristic.Tpo" ".deps/DFSAPHeuristic.Po"; \
else rm -f ".deps/DFSAPHeuristic.Tpo"; exit 1; \
fi
AuSampleValues.cc:24: error: too few template-parameter-lists
AuSampleValues.cc:24: error: expected `,' or `;' before '=' token
AuSampleValues.cc:25: error: too few template-parameter-lists
AuSampleValues.cc:25: error: expected `,' or `;' before '=' token
AuSampleValues.cc:28: error: too few template-parameter-lists
AuSampleValues.cc:28: error: expected `,' or `;' before '=' token
AuSampleValues.cc:29: error: too few template-parameter-lists
AuSampleValues.cc:29: error: expected `,' or `;' before '=' token
AuSampleValues.cc:32: error: too few template-parameter-lists
AuSampleValues.cc:32: error: expected `,' or `;' before '=' token
AuSampleValues.cc:33: error: too few template-parameter-lists
AuSampleValues.cc:33: error: expected `,' or `;' before '=' token
AuSampleValues.cc:36: error: too few template-parameter-lists
AuSampleValues.cc:36: error: expected `,' or `;' before '=' token
AuSampleValues.cc:37: error: too few template-parameter-lists
AuSampleValues.cc:37: error: expected `,' or `;' before '=' token
make[2]: *** [AuSampleValues.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/steghide-0.5.1/work/steghide-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/steghide-0.5.1/work/steghide-0.5.1'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge steghide


Expected Results:  
Emerge successfully
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-03-02 11:53:13 UTC
reopen with output from emerge --info
Comment 2 Thomas Beinicke 2005-03-02 12:09:14 UTC
sorry, here is my emerge --info output:

Portage 2.0.51.18 (default-linux/x86/2004.2/gcc34, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11-rc4-nitro1 i686)
=================================================================
System uname: 2.6.11-rc4-nitro1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.4-r2,dev-lang/python-2.3.5 [2.4 (#1, Feb 28 2005, 12:09:59)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4-r2, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.scphost.com"
LDFLAGS="-Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de /home/merlin/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac aalib acpi alsa apm arts avi berkdb bitmap-fonts bzip2 cdparanoia cdr cjk crypt cups curl dvd dvdr dvdread emboss encode f77 fam flac font-server foomaticdb fortran gdbm gif gnokii gnutls gpg gpm gstreamer gtk gtk2 imagemagick imap imlib java joystick jpeg jpeg2k kde kdeenablefinal libg++ libwww lm_sensors mad maildir matroska mikmod mmx mmx2 motif mpeg ncurses net network nls nodrm nptl nptlonly oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime readline real rtc samba sdl silc slang speex spell sse ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb x86 xine xml xml2 xmms xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 3 Thomas Beinicke 2005-03-02 12:12:06 UTC
I also commented out my cflags and ldflags (after emerge failed) so that cannot be the problem.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-02 19:18:38 UTC
I think this may be a case where old code is not gcc-3.4 compatible.
try it with gcc-3.3 in the meantime.
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2005-03-24 16:21:58 UTC
I can confirm;

[1] i686-pc-linux-gnu-3.3.4 -> builds fine
[2] i686-pc-linux-gnu-3.4.3-20050110 -> same compile problem
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2005-03-24 17:34:53 UTC
Created attachment 54398 [details, diff]
steghide.diff

This patch does not work, but instead, it generates even more errors. Fun, fun,
fun! :-)
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2005-03-29 17:49:00 UTC
Fixed it using patch from Debian folks. Contrary to my own patch, it actually works and lets you compile steghide with gcc-3.4. More information about the patch can be found at:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274184