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

Bug 140003

Summary: p7zip 4.20 fails to emerge with gcc 4.1.1
Product: Gentoo Linux Reporter: John Whitlock <John-Whitlock>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of make in the /var/tmp/portage/p7zip_4.20/work/p7zip_4.20
emerge --info for user

Description John Whitlock 2006-07-11 09:13:28 UTC
p7zip 4.20 fails to compile/emerge with gcc 4.1.1.  This came up while doing an "emerge -e world" after the upgrade to gcc 4.1.1.  The first error is on the file 7zip/Compress/Deflate/DeflateDecoder.h.  I will attach the output of make (as resumed in the /var/tmp/portage/etc folder)  The error is on line 50:

../../Archive/7z/../../Compress/Deflate/DeflateDecoder.h:50: error: extra qualification 'NCompress::NDeflate::NDecoder::CCoder::' on member 'ReleaseStreams'

Line 50 is a function declared in struct CCoder:
 void CCoder::ReleaseStreams()

Removing the extra qualifier lets it compiles:
 void ReleaseStreams()

however, there are similar declarations in other files.  Here is the list:
 7zip/Compress/Deflate/DeflateDecoder.h line 50
 7zip/Compress/Deflate/DeflateEncoder.h line 119
 7zip/Archive/7z/7zIn.h line 247
 7zip/UI/Console/ExtractCallbackConsole.h line 55

A check of the latest SF version (4.42) shows that all of these have been corrected.

I'll attach emerge --info as well.
Comment 1 John Whitlock 2006-07-11 09:15:10 UTC
Created attachment 91479 [details]
Output of make in the /var/tmp/portage/p7zip_4.20/work/p7zip_4.20
Comment 2 John Whitlock 2006-07-11 09:15:38 UTC
Created attachment 91480 [details]
emerge --info for user
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-11 09:21:39 UTC

*** This bug has been marked as a duplicate of 120925 ***