[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#519881: kdelibs: FTBFS



Package: kdelibs
Version: 4:3.5.10.dfsg.1-1
Severity: serious

<--  snip  -->

$ dpkg-buildpackage -b
....
In file included from /usr/include/asm/fcntl.h:1,
                 from /usr/include/linux/fcntl.h:4,
                 from /usr/include/linux/inotify.h:11,
                 from /tmp/kdelibs-3.5.10.dfsg.1/./kio/kio/kdirwatch.cpp:74,
                 from libksycoca_la.all_cpp.cpp:2:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct flock'
/usr/include/bits/fcntl.h:159: error: previous definition of 'struct flock'
/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct flock64'
/usr/include/bits/fcntl.h:174: error: previous definition of 'struct flock64'
....
make[4]: *** [libksycoca_la.all_cpp.lo] Error 1
make[4]: Leaving directory `/tmp/kdelibs-3.5.10.dfsg.1/obj-x86_64-linux-gnu/kio/kio'
....
make[1]: Leaving directory `/tmp/kdelibs-3.5.10.dfsg.1/obj-x86_64-linux-gnu'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
$ 

<--  snip  -->


#include <linux/inotify.h> is known to no longer compile easily with
kernel headers >= 2.6.27.

The correct solution is to use sys/inotify.h instead.




-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.19-rc1 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: