<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>106615</bug_id>
          
          <creation_ts>2005-09-19 14:47 0000</creation_ts>
          <short_desc>problem while emerge app-crypt/steghide</short_desc>
          <delta_ts>2007-03-18 20:52:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo/Alt</product>
          <component>Mac OSX</component>
          <version>unspecified</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>OS X</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirk.schoenberger@freenet.de</reporter>
          <assigned_to>ppc-macos@gentoo.org</assigned_to>
          <cc>hetfield666@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>dirk.schoenberger@freenet.de</who>
            <bug_when>2005-09-19 14:47:25 0000</bug_when>
            <thetext>while trying to emerge steghide 0.5.1 I ran into the following problem

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DLOCALEDIR=\&quot;/usr/share/locale\&quot;   -O2 -Wall -MT AuFile.o -
MD -MP -MF &quot;.deps/AuFile.Tpo&quot; \
  -c -o AuFile.o `test -f &apos;AuFile.cc&apos; || echo &apos;./&apos;`AuFile.cc; \
then mv &quot;.deps/AuFile.Tpo&quot; &quot;.deps/AuFile.Po&quot;; \
else rm -f &quot;.deps/AuFile.Tpo&quot;; exit 1; \
fi
CvrStgObject.h:40: warning: &apos;class CvrStgObject&apos; has virtual functions but non-virtual destructor
SampleValue.h: In member function &apos;size_t SampleValueHash::operator()(const SampleValue*) const&apos;:
SampleValue.h:166: error: &apos;hash&apos; is not a member of &apos;sgi&apos;
SampleValue.h:166: error: expected primary-expression before &apos;&gt;&apos; token
SampleValue.h:166: error: &apos;h&apos; was not declared in this scope
AudioData.h: At global scope:
AudioData.h:37: warning: &apos;class AudioData&apos; has virtual functions but non-virtual destructor
AuData.h:29: error: explicit specialization of &apos;BYTE AudioDataImpl&lt;AuMuLaw, BYTE, 
AudioSampleValue&lt;AuMuLaw, BYTE&gt; &gt;::readValue(BinaryIO*) const&apos; must be introduced by &apos;template 
&lt;&gt;&apos;
AuData.h:29: error: template-id &apos;readValue&lt;&gt;&apos; for &apos;BYTE AudioDataImpl&lt;AuMuLaw, BYTE, 
AudioSampleValue&lt;AuMuLaw, BYTE&gt; &gt;::readValue(BinaryIO*) const&apos; does not match any template 
declaration
AuData.h:29: error: invalid function declaration
AuData.h:30: error: explicit specialization of &apos;void AudioDataImpl&lt;AuMuLaw, BYTE, 
AudioSampleValue&lt;AuMuLaw, BYTE&gt; &gt;::writeValue(BinaryIO*, BYTE) const&apos; must be introduced by 
&apos;template &lt;&gt;&apos;
AuData.h:30: error: template-id &apos;writeValue&lt;&gt;&apos; for &apos;void AudioDataImpl&lt;AuMuLaw, BYTE, 
AudioSampleValue&lt;AuMuLaw, BYTE&gt; &gt;::writeValue(BinaryIO*, BYTE) const&apos; does not match any 
template declaration
AuData.h:30: error: invalid function declaration
AuData.h:34: error: explicit specialization of &apos;SBYTE AudioDataImpl&lt;AuPCM8, SBYTE, 
AudioSampleValue&lt;AuPCM8, SBYTE&gt; &gt;::readValue(BinaryIO*) const&apos; must be introduced by &apos;template 
&lt;&gt;&apos;
AuData.h:34: error: template-id &apos;readValue&lt;&gt;&apos; for &apos;SBYTE AudioDataImpl&lt;AuPCM8, SBYTE, 
AudioSampleValue&lt;AuPCM8, SBYTE&gt; &gt;::readValue(BinaryIO*) const&apos; does not match any template 
declaration
AuData.h:34: error: invalid function declaration
AuData.h:35: error: explicit specialization of &apos;void AudioDataImpl&lt;AuPCM8, SBYTE, 
AudioSampleValue&lt;AuPCM8, SBYTE&gt; &gt;::writeValue(BinaryIO*, SBYTE) const&apos; must be introduced by 
&apos;template &lt;&gt;&apos;
AuData.h:35: error: template-id &apos;writeValue&lt;&gt;&apos; for &apos;void AudioDataImpl&lt;AuPCM8, SBYTE, 
AudioSampleValue&lt;AuPCM8, SBYTE&gt; &gt;::writeValue(BinaryIO*, SBYTE) const&apos; does not match any 
template declaration
AuData.h:35: error: invalid function declaration
AuData.h:39: error: explicit specialization of &apos;SWORD16 AudioDataImpl&lt;AuPCM16, SWORD16, 
AudioSampleValue&lt;AuPCM16, SWORD16&gt; &gt;::readValue(BinaryIO*) const&apos; must be introduced by 
&apos;template &lt;&gt;&apos;
AuData.h:39: error: template-id &apos;readValue&lt;&gt;&apos; for &apos;SWORD16 AudioDataImpl&lt;AuPCM16, SWORD16, 
AudioSampleValue&lt;AuPCM16, SWORD16&gt; &gt;::readValue(BinaryIO*) const&apos; does not match any template 
declaration
AuData.h:39: error: invalid function declaration
AuData.h:40: error: explicit specialization of &apos;void AudioDataImpl&lt;AuPCM16, SWORD16, 
AudioSampleValue&lt;AuPCM16, SWORD16&gt; &gt;::writeValue(BinaryIO*, SWORD16) const&apos; must be 
introduced by &apos;template &lt;&gt;&apos;
AuData.h:40: error: template-id &apos;writeValue&lt;&gt;&apos; for &apos;void AudioDataImpl&lt;AuPCM16, SWORD16, 
AudioSampleValue&lt;AuPCM16, SWORD16&gt; &gt;::writeValue(BinaryIO*, SWORD16) const&apos; does not match 
any template declaration
AuData.h:40: error: invalid function declaration
AuData.h:44: error: explicit specialization of &apos;SWORD32 AudioDataImpl&lt;AuPCM32, SWORD32, 
AudioSampleValue&lt;AuPCM32, SWORD32&gt; &gt;::readValue(BinaryIO*) const&apos; must be introduced by 
&apos;template &lt;&gt;&apos;
AuData.h:44: error: template-id &apos;readValue&lt;&gt;&apos; for &apos;SWORD32 AudioDataImpl&lt;AuPCM32, SWORD32, 
AudioSampleValue&lt;AuPCM32, SWORD32&gt; &gt;::readValue(BinaryIO*) const&apos; does not match any template 
declaration
AuData.h:44: error: invalid function declaration
AuData.h:45: error: explicit specialization of &apos;void AudioDataImpl&lt;AuPCM32, SWORD32, 
AudioSampleValue&lt;AuPCM32, SWORD32&gt; &gt;::writeValue(BinaryIO*, SWORD32) const&apos; must be 
introduced by &apos;template &lt;&gt;&apos;
AuData.h:45: error: template-id &apos;writeValue&lt;&gt;&apos; for &apos;void AudioDataImpl&lt;AuPCM32, SWORD32, 
AudioSampleValue&lt;AuPCM32, SWORD32&gt; &gt;::writeValue(BinaryIO*, SWORD32) const&apos; does not match 
any template declaration
AuData.h:45: error: invalid function declaration
make[2]: *** [AuFile.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: app-crypt/steghide-0.5.1 failed.


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




!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS=&quot;ppc-macos ~ppc-macos&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;powerpc-apple-darwin&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;powerpc-apple-darwin&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig collision-protect distlocks sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;ppc emboss imagemagick nls png ppc-macos qt sdl slang tiff userland_Darwin kernel_Darwin 
elibc_Darwin&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-04 02:46:34 0000</bug_when>
            <thetext>same problem here on x86.

gcc 4 trouble.

should block bug 117482</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-03-09 23:22:58 0000</bug_when>
            <thetext>Fixed, thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-03-10 00:26:26 0000</bug_when>
            <thetext>Dirk, mind to try compiling this thing again?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-10 00:50:41 0000</bug_when>
            <thetext>works perfectly with 4.1.0 too.

wonderful job</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.schoenberger@freenet.de</who>
            <bug_when>2006-03-10 11:41:04 0000</bug_when>
            <thetext>&gt; Dirk, mind to try compiling this thing again?

Do I need to do something special beside emerge sync and keywording it?
I still get a 

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DLOCALEDIR=\&quot;/usr/share/locale\&quot;   -O2 -Wall -MT AuFile.o -MD -MP -MF &quot;.deps/AuFile.Tpo&quot; \
  -c -o AuFile.o `test -f &apos;AuFile.cc&apos; || echo &apos;./&apos;`AuFile.cc; \
then mv &quot;.deps/AuFile.Tpo&quot; &quot;.deps/AuFile.Po&quot;; \
else rm -f &quot;.deps/AuFile.Tpo&quot;; exit 1; \
fi
CvrStgObject.h:40: warning: &apos;class CvrStgObject&apos; has virtual functions but non-virtual destructor
SampleValue.h: In member function &apos;size_t SampleValueHash::operator()(const SampleValue*) const&apos;:
SampleValue.h:166: error: &apos;hash&apos; is not a member of &apos;sgi&apos;
SampleValue.h:166: error: expected primary-expression before &apos;&gt;&apos; token
SampleValue.h:166: error: &apos;h&apos; was not declared in this scope
AudioData.h: At global scope:
AudioData.h:37: warning: &apos;class AudioData&apos; has virtual functions but non-virtual destructor


;(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-03-10 12:22:53 0000</bug_when>
            <thetext>Dirk: the output of `emerge info&apos;?  Is this with 4.0 or 4.1?  If it is 4.0, please try 4.1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-03-10 12:25:05 0000</bug_when>
            <thetext>This is ppc-macos, so there is nothing but GCC 4.0.0.  Maybe this is some code that get&apos;s active through an ifdef somewhere?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirk.schoenberger@freenet.de</who>
            <bug_when>2006-03-10 13:25:40 0000</bug_when>
            <thetext>&gt; SampleValue.h:166: error: &apos;hash&apos; is not a member of &apos;sgi&apos;
&gt; SampleValue.h:166: error: expected primary-expression before &apos;&gt;&apos; token
&gt; SampleValue.h:166: error: &apos;h&apos; was not declared in this scope

The problem seem to be that the code is selected in src/wrapper_hash_set.h.
According to my tests, the part

include &lt;ext/hash_set&gt;
namespace sgi = ::__gnu_cxx ;

works for MacOSX Tiger.

Instead, somehow

  namespace sgi = std ;

is selected.
This should possibly just a matter of an additional #ifdef __APPLE__ (I am not certain about which defines are defined where)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-03-10 16:49:56 0000</bug_when>
            <thetext>It doesn&apos;t seem this is a gcc-4 specific issue any longer.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2006-03-14 08:59:26 0000</bug_when>
            <thetext>problem found.  The ifdef assumed GCC 4.0.0 didn&apos;t exist.  FC4 users have the same problem.  Easily fixable, but then we run into a bunch of linker problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>grobian@gentoo.org</who>
            <bug_when>2007-03-18 20:52:14 0000</bug_when>
            <thetext>after fixing the libtool call (for real, not like the patch) steghide compiled fine here.

in prefix.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>