Bug#491243: FTBFS with gcc 4.3 - it needs limits.h

2008-07-20 Thread gothicx


Citando Moritz Muehlenhoff [EMAIL PROTECTED]:


On Sat, Jul 19, 2008 at 01:48:59PM +0200, Arnaud Cornet wrote:

Hello,

Can you provide a failing buildlog and the debian versions of your gcc
and libc6-dev packages please ?

I cannot reproduce the problem.


I can't either on i386 with current sid.


I've tried it with ubuntu intrepid pbuilder. There is also a bug  
reported in Ubuntu about this problem. If it gets fixed in Debian, in  
the future, it won't get FTBFS. Sorry, I didn't have time to answer.


The current Ubuntu Intrepid also has gcc 4.3.



Cheers,
Moritz







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491243: FTBFS with gcc 4.3 - it needs limits.h

2008-07-20 Thread Moritz Muehlenhoff
On Sun, Jul 20, 2008 at 09:05:18AM +0100, [EMAIL PROTECTED] wrote:

 Citando Moritz Muehlenhoff [EMAIL PROTECTED]:

 On Sat, Jul 19, 2008 at 01:48:59PM +0200, Arnaud Cornet wrote:
 Hello,

 Can you provide a failing buildlog and the debian versions of your gcc
 and libc6-dev packages please ?

 I cannot reproduce the problem.

 I can't either on i386 with current sid.

 I've tried it with ubuntu intrepid pbuilder. There is also a bug  
 reported in Ubuntu about this problem. If it gets fixed in Debian, in  
 the future, it won't get FTBFS. Sorry, I didn't have time to answer.

Don't file bugs on Debian unless you've reproduced the problem in
a Debian setup!

Cheers,
Moritz



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491243: FTBFS with gcc 4.3 - it needs limits.h

2008-07-19 Thread Arnaud Cornet
Hello,

Can you provide a failing buildlog and the debian versions of your gcc
and libc6-dev packages please ?

I cannot reproduce the problem.

Thanks
-- 
Arnaud Cornet




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491243: FTBFS with gcc 4.3 - it needs limits.h

2008-07-19 Thread Moritz Muehlenhoff
On Sat, Jul 19, 2008 at 01:48:59PM +0200, Arnaud Cornet wrote:
 Hello,
 
 Can you provide a failing buildlog and the debian versions of your gcc
 and libc6-dev packages please ?
 
 I cannot reproduce the problem.

I can't either on i386 with current sid.

Cheers,
Moritz



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#491243: FTBFS with gcc 4.3 - it needs limits.h

2008-07-17 Thread Marco Rodrigues

Package: nget
Severity: serious
Tags: patch

Build log:
g++ -g -O2 -g -Wall -O2 -Wall -MMD -MP -DHAVE_CONFIG_H   -c -o server.o 
server.cc
server.cc:130: warning: floating constant exceeds range of 'float'
server.cc: In constructor 'c_server::c_server(ulong, const CfgSection*)':
server.cc:88: error: 'INT_MAX' was not declared in this scope
server.cc: In member function 'void c_nget_config::setlist(const CfgSection*, 
const CfgSection*, const CfgSection*, const CfgSection*)':

server.cc:125: error: 'INT_MAX' was not declared in this scope
server.cc:146: error: 'ULONG_MAX' was not declared in this scope
make[1]: *** [server.o] Error 1
make[1]: Leaving directory `/tmp/buildd/nget-0.27.1'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The patch is attached in the bug report.

Thanks

--
Marco Rodrigues

http://Marco.Tondela.org
diff -u nget-0.27.1/debian/patches/series nget-0.27.1/debian/patches/series
--- nget-0.27.1/debian/patches/series
+++ nget-0.27.1/debian/patches/series
@@ -2,0 +3 @@
+glibc_api_fixes.patch
only in patch2:
unchanged:
--- nget-0.27.1.orig/debian/patches/glibc_api_fixes.patch
+++ nget-0.27.1/debian/patches/glibc_api_fixes.patch
@@ -0,0 +1,10 @@
+--- a/server.cc.old	2008-07-16 16:16:19.0 +
 b/server.cc	2008-07-16 16:16:32.0 +
+@@ -20,6 +20,7 @@
+ #include strreps.h
+ #include nget.h
+ #include status.h
++#include limits.h
+ #include sys/types.h
+ #include dirent.h
+ #include algorithm