Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256497 - net-firewall/conntrack-tools-0.9.10 - mcast.c:165: error: 'INT_MAX' undeclared (first use in this function)
Summary: net-firewall/conntrack-tools-0.9.10 - mcast.c:165: error: 'INT_MAX' undeclare...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Cédric Krier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-27 08:32 UTC by Joost Ruis
Modified: 2009-03-08 13:47 UTC (History)
4 users (show)

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


Attachments
conntrack-tools-0.9.10-int_max.patch (conntrack-tools-0.9.10-int_max.patch,511 bytes, patch)
2009-01-28 09:53 UTC, Guillaume Castagnino
Details | Diff
error_log (log.txt,21.73 KB, text/plain)
2009-01-30 14:53 UTC, Joost Ruis
Details
patch for conntrack-tools-0.9.11 (conntrack-tools-0.9.11-int_max.patch,583 bytes, text/plain)
2009-03-03 21:30 UTC, emerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joost Ruis 2009-01-27 08:32:25 UTC
On both x86_86 && x86:

http://rafb.net/p/nYJSJL56.html

Reproducible: Always

Steps to Reproduce:
emerge net-firewall/conntrack-tools
Comment 1 Guillaume Castagnino 2009-01-28 09:53:46 UTC
Created attachment 179931 [details, diff]
conntrack-tools-0.9.10-int_max.patch

There is (again) missing limits.h includes (upstream should seriously consider upgrade ther userland : the problem occurs only with recent glibc, older glibc are not affected)

The attached patch fixes the issue.

It's the same kind of problem as #226655
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-29 18:03:23 UTC
(In reply to comment #0)
> On both x86_86 && x86:
> 
> http://rafb.net/p/nYJSJL56.html

Gives me a 404 - this happens to be exactly why we ask bug reporters to attach files instead of pointing to external resources - so please attach that log file to this bug report.
Comment 3 Joost Ruis 2009-01-30 14:53:26 UTC
Created attachment 180284 [details]
error_log

@Jer
here it is.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-31 02:54:26 UTC
Thanks.
Comment 5 Jonathan-Christofer Demay 2009-02-16 21:18:47 UTC
Worked for me on amd64 with glibc 2.9 and gcc 4.3.3.
Anybody to push this fix in CVS ?
Comment 6 Graham Murray 2009-03-03 14:33:29 UTC
net-firewall/conntrack-tools-0.9.11 has the same problem.
Comment 7 emerald 2009-03-03 21:30:11 UTC
Created attachment 183809 [details]
patch for conntrack-tools-0.9.11
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2009-03-08 13:47:20 UTC
Thank you guys. Patch was added upstream, so I backported it into our tree:
https://git.netfilter.org/cgi-bin/gitweb.cgi?p=conntrack-tools.git;a=commitdiff;h=9bf002ff7935e7dff625683787fc3a06ac2ef2cb;hp=87c8c090e1b64eac27edb968845cb1e8ee65b06b

FIXED.