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

Bug 234654

Summary: net-firewall/ipset-2.3.1.20080612 fails to compile w/ glibc-2.8 (‘UINT_MAX’ undeclared)
Product: Gentoo Linux Reporter: Olivier Huber <oli.huber>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED WONTFIX    
Severity: normal CC: pchrist, pva
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 225459    
Attachments: patch proposal

Description Olivier Huber 2008-08-13 17:50:30 UTC
Example :

ipset_ipporthash.c: In function ‘create_parse’:
ipset_ipporthash.c:68: erreur: ‘UINT_MAX’ undeclared (first use in this function)
ipset_ipporthash.c:68: erreur: (Each undeclared identifier is reported only once
ipset_ipporthash.c:68: erreur: for each function it appears in.)

Upstream has released ipset-2.3.2 which solves this issue : 

Changelog: including limits.h for UINT_MAX is required with glibc-2.8 (pud)
Comment 1 Olivier Huber 2008-08-13 17:53:23 UTC
Created attachment 162834 [details, diff]
patch proposal

This patch has been created with a diff between 2.3.3a and 2.3.1
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-08-13 17:56:33 UTC
Wouldn't it be easier to just bump to 2.3.3a? :)
Comment 3 Olivier Huber 2008-08-13 18:01:50 UTC
(In reply to comment #2)
> Wouldn't it be easier to just bump to 2.3.3a? :)
> 
see bug #233763 :)
I think this would hurt too :)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-08-14 00:06:38 UTC
go and use 2.3.3a.