Bug#517566: kdebase - FTBFS: error: redefinition of 'struct ucred'

2009-03-03 Thread peter green

I have done test builds, the package FTBFS in sid and builds fine in lenny. I 
have not tried squeeze.

A notable difference between the suceeding (non-binnmu) and the failing (+b1) 
build is

original build

checking "struct ucred"... yes


binnmu build

checking "struct ucred"... no


in configure.in we see
configure.in:AC_EGREP_HEADER([struct ucred], [sys/socket.h], have_ucred=yes)

I'm not sure why this succeeds in lenny and fails in sid but I suspect some 
form of header dependency cleanup.

I changing the filename in that line to bits/socket.h should fix that issue. 


Unfortunately I can't provide a fix for the FTBFS for two reasons
1: cdbs-edit-patch does not seem to work with your setup so i'm not sure how to 
integate the modification and regeneration of the autotools stuff.
2: when testbuilding with the autoconf change in place I ran into another 
(probablly unrelated) failure






--
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#517566: kdebase - FTBFS: error: redefinition of 'struct ucred'

2009-03-03 Thread Julien Cristau
On Tue, Mar  3, 2009 at 20:29:09 +, peter green wrote:

> I have done test builds, the package FTBFS in sid and builds fine in lenny. I 
> have not tried squeeze.
>
> A notable difference between the suceeding (non-binnmu) and the failing (+b1) 
> build is
>
> original build
>> checking "struct ucred"... yes
>
> binnmu build
>> checking "struct ucred"... no
>
> in configure.in we see
> configure.in:AC_EGREP_HEADER([struct ucred], [sys/socket.h], have_ucred=yes)
>
> I'm not sure why this succeeds in lenny and fails in sid but I suspect some 
> form of header dependency cleanup.
>
Different glibc version.

> I changing the filename in that line to bits/socket.h should fix that 
> issue. 
>
Sounds like the wrong fix (and also sounds like it wouldn't work).
struct ucred is only defined if you define _GNU_SOURCE.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#517566: kdebase - FTBFS: error: redefinition of 'struct ucred'

2009-02-28 Thread Bastian Blank
Package: kdebase
Version: 4:3.5.9.dfsg.1-6+b1
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of kdebase_4:3.5.9.dfsg.1-6+b1 on lxdebian.bfinv.de by 
> sbuild/s390 98
[...]
> g++ -DHAVE_CONFIG_H -I. -I/build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud 
> -I../.. -I/usr/include/kde -I/usr/share/qt3/include -I.  -I/usr/include/sasl  
> -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1  
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
> -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 
> -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall 
> -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor 
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
> -D_GNU_SOURCE -fPIE -c -o kdesud.all_cpp.o kdesud.all_cpp.cpp
> In file included from /usr/include/kde/kaboutdata.h:24,
>  from 
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/kdesud.cpp:68,
>  from kdesud.all_cpp.cpp:2:
> /usr/share/qt3/include/qimage.h: In member function 'bool 
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
> /usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && 
> within ||
> In file included from 
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/handler.h:13,
>  from 
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/kdesud.cpp:74,
>  from kdesud.all_cpp.cpp:2:
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/secure.h: At global scope:
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/secure.h:19: error: 
> redefinition of 'struct ucred'
> /usr/include/bits/socket.h:321: error: previous definition of 'struct ucred'
> In file included from kdesud.all_cpp.cpp:4:
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/lexer.cpp: In member 
> function 'int Lexer::lex()':
> /build/buildd/kdebase-3.5.9.dfsg.1/./kdesu/kdesud/lexer.cpp:57: warning: 
> suggest a space before ';' or explicit braces around empty body in 'while' 
> statement
> make[4]: *** [kdesud.all_cpp.o] Error 1
> make[4]: Leaving directory 
> `/build/buildd/kdebase-3.5.9.dfsg.1/obj-s390-linux-gnu/kdesu/kdesud'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/build/buildd/kdebase-3.5.9.dfsg.1/obj-s390-linux-gnu/kdesu'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/build/buildd/kdebase-3.5.9.dfsg.1/obj-s390-linux-gnu'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory 
> `/build/buildd/kdebase-3.5.9.dfsg.1/obj-s390-linux-gnu'
> make: *** [debian/stamp-makefile-build] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org