Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 178134
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jochen Schlick <josch09@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178134 depends on: Show dependency tree
Bug 178134 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-12 01:50 0000
Hi 
I'm totally new to gentoo and this is my very first bug report. 
This compile bug doesn'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 'static std::string
MHashPP::getAlgorithmName(hashid)':
MHashPP.cc:123: error: invalid conversion from 'uint8_t*' to 'char*'
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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-crypt/steghide-0.5.1/work/steghide-0.5.1'
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 'src_compile'
  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
'/var/tmp/portage/app-crypt/steghide-0.5.1/temp/build.log'.



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

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 ("<algorithm not found>") ;

------- Comment #1 From Ryan Hill 2007-05-12 04:11:26 0000 -------
welcome to gentoo ;)

thanks for the report.  i've applied your patch to steghide-0.5.1.  it should
hit the mirrors in about an hour.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug