Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234654 - net-firewall/ipset-2.3.1.20080612 fails to compile w/ glibc-2.8 (‘UINT_MAX’ undeclared)
Summary: net-firewall/ipset-2.3.1.20080612 fails to compile w/ glibc-2.8 (‘UINT_MAX’ u...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.8
  Show dependency tree
 
Reported: 2008-08-13 17:50 UTC by Olivier Huber
Modified: 2008-08-14 00:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch proposal (ipset.patch,1.41 KB, patch)
2008-08-13 17:53 UTC, Olivier Huber
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.