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

Bug 290129

Summary: app-arch/gzip-1.3.13 is broken for all non-GNU compilers
Product: Gentoo/Alt Reporter: Stuart Shelton <srcshelton>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: IRIX   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix GCC-specific #defines in gzip

Description Stuart Shelton 2009-10-22 13:21:35 UTC
gzip fails to link because the symbol '__printf__' cannot be resolved.

I originally patched gzip's source simply to check whether __GNUC__ was defined - but for some reason this wasn't sufficient (or I got the condition wrong ;)

(Does the check for whether __GNUC__ is defined have to come before the check for what value it has?)

This patch will not affect builds using GCC and will work on IRIX - but other compilers suites (__SUNPRO_C, __DECC, etc.) will presumably still be broken...
Comment 1 Stuart Shelton 2009-10-22 13:23:42 UTC
Created attachment 207901 [details, diff]
Fix GCC-specific #defines in gzip
Comment 2 Fabian Groffen gentoo-dev 2009-10-29 21:17:03 UTC
does upstream know about this problem?
Comment 3 Fabian Groffen gentoo-dev 2009-12-09 14:29:53 UTC
can you give the compilation error please?  It seems this file hasn't been changed in gnulib looking at their git (http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=history;f=lib/stdio.in.h;h=d0ffa59863492649cb12d6000845a4d3cfcb411f;hb=HEAD)
Comment 4 Fabian Groffen gentoo-dev 2011-04-24 17:06:33 UTC
This is hopefully fixed in gzip-1.4 and beyond