Package: dhttpd
Version: 1.02a-16
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of dhttpd_1.02a-16 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/dhttpd-1.02a/src'
> g++ -O2 -pipe -Wall -Wshadow -DHAVE_SENDFILE -c -o main.o main.cc
> main.cc: In function 'int main(int, char**)':
> main.cc:102: warning: deprecated conversion from string constant to 'char*'
> main.cc:134: warning: comparison between signed and unsigned integer 
> expressions
> g++ -O2 -pipe -Wall -Wshadow -DHAVE_SENDFILE -c -o socket.o socket.cc
> g++ -O2 -pipe -Wall -Wshadow -DHAVE_SENDFILE -c -o httpsock.o httpsock.cc
> httpsock.cc:20:1: error: "_GNU_SOURCE" redefined
> <command-line>: error: this is the location of the previous definition
^^^^^^^^^^^^^^^^^^^^^^

> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:52: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:57: warning: deprecated conversion from string constant to 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:105: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc: In function 'char* guessType(char*)':
> httpsock.cc:148: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc: In function 'void screwed(FILE*)':
> httpsock.cc:232: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:232: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:232: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc: In function 'void sendError(FILE*, int)':
> httpsock.cc:245: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:245: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:245: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:255: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:255: warning: deprecated conversion from string constant to 
> 'char*'
> httpsock.cc:255: warning: deprecated conversion from string constant to 
> 'char*'
> make[1]: *** [httpsock.o] Error 1
> make[1]: Leaving directory `/build/tbm/dhttpd-1.02a/src'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: /usr/bin/fakeroot debian/rules binary-arch gave 
> error exit status 2

-- 
Martin Michlmayr
http://www.cyrius.com/



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

Reply via email to