<?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>178134</bug_id>
          
          <creation_ts>2007-05-12 01:50 0000</creation_ts>
          <short_desc>app-crypt/steghide emerge fails - simple gcc-4.1 issue</short_desc>
          <delta_ts>2007-05-12 04:11:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>josch09@gmail.com</reporter>
          <assigned_to>bug-wranglers@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>josch09@gmail.com</who>
            <bug_when>2007-05-12 01:50:28 0000</bug_when>
            <thetext>Hi 
I&apos;m totally new to gentoo and this is my very first bug report. 
This compile bug doesn&apos;t depend on the platform, because I remember that I had to fix this bug in February for my homebrewed Fedora32/OpenSuse64-RPMs.  

############################################################

/usr/include/mutils/mhash_config.h:228:1: warning: this is the location of the previous definition
MHashPP.cc: In static member function &apos;static std::string MHashPP::getAlgorithmName(hashid)&apos;:
MHashPP.cc:123: error: invalid conversion from &apos;uint8_t*&apos; to &apos;char*&apos;
make[2]: *** [MHashPP.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-crypt/steghide-0.5.1/work/steghide-0.5.1/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/steghide-0.5.1/work/steghide-0.5.1&apos;
make: *** [all] Error 2

!!! ERROR: app-crypt/steghide-0.5.1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call &apos;src_compile&apos;
  ebuild.sh, line 44:   Called src_compile
  steghide-0.5.1.ebuild, line 29:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at &apos;/var/tmp/portage/app-crypt/steghide-0.5.1/temp/build.log&apos;.



########################################################################

Here the quick and dirty fix:



diff -ur steghide-0.5.1.org/src/MHashPP.cc steghide-0.5.1/src/MHashPP.cc
--- steghide-0.5.1.org/src/MHashPP.cc   2003-10-05 12:17:50.000000000 +0200
+++ steghide-0.5.1/src/MHashPP.cc       2007-02-20 02:21:56.000000000 +0100
@@ -120,7 +120,7 @@

 std::string MHashPP::getAlgorithmName (hashid id)
 {
-       char *name = mhash_get_hash_name (id) ;
+  char *name = (char*)(mhash_get_hash_name (id)) ;
        std::string retval ;
        if (name == NULL) {
                retval = std::string (&quot;&lt;algorithm not found&gt;&quot;) ;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2007-05-12 04:11:26 0000</bug_when>
            <thetext>welcome to gentoo ;)

thanks for the report.  i&apos;ve applied your patch to steghide-0.5.1.  it should hit the mirrors in about an hour.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>