Package: wmbattery Version: 2.35 Severity: serious Justification: no longer builds from source
Building in an AMD64 pbulider chroot, I encountered the following FTBFS: In file included from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/types.h:46: error: conflicting types for 'loff_t' /usr/include/linux/types.h:30: error: previous declaration of 'loff_t' was here /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here In file included from /usr/include/sys/types.h:133, from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/time.h:105: error: conflicting types for 'timer_t' /usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here In file included from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/types.h:198: error: conflicting types for 'int64_t' /usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here /usr/include/sys/types.h:204: error: conflicting types for 'u_int64_t' A full build log is attached. --Ken -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wmbattery depends on: ii libapm1 3.2.2-8.1 Library for interacting with APM d ii libc6 2.7-6 GNU C Library: Shared libraries ii libdbus-1-3 1.1.2-1 simple interprocess messaging syst ii libhal1 0.5.10-5 Hardware Abstraction Layer - share ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxpm4 1:3.5.7-1 X11 pixmap library Versions of packages wmbattery recommends: ii hal 0.5.10-5 Hardware Abstraction Layer -- no debconf information
dpkg-buildpackage: source package wmbattery dpkg-buildpackage: source version 2.35 dpkg-buildpackage: source changed by Joey Hess <[EMAIL PROTECTED]> fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp /usr/bin/make distclean make[1]: Entering directory `/home/bloom/scratch/wmbattery-2.35' Makefile:5: makeinfo: No such file or directory autoconf ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for XOpenDisplay in -lX11... yes checking for XShapeCombineMask in -lXext... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for apm_read in -lapm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking apm.h usability... yes checking apm.h presence... yes checking for apm.h... yes checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for strdup... yes configure: creating ./config.status config.status: creating makeinfo config.status: WARNING: autoconf/makeinfo.in seems to ignore the --datarootdir setting config.status: creating config.h ./config.status config.status: creating makeinfo config.status: WARNING: autoconf/makeinfo.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: config.h is unchanged make[1]: Leaving directory `/home/bloom/scratch/wmbattery-2.35' make[1]: Entering directory `/home/bloom/scratch/wmbattery-2.35' rm -f wmbattery *.o rm -f config.status config.cache config.log makeinfo config.h configure make[1]: Leaving directory `/home/bloom/scratch/wmbattery-2.35' dh_clean dpkg-source -i -b wmbattery-2.35 dpkg-source: building wmbattery in wmbattery_2.35.tar.gz dpkg-source: building wmbattery in wmbattery_2.35.dsc dpkg-genchanges -S >../wmbattery_2.35_source.changes dpkg-genchanges: including full source code in upload dpkg-buildpackage: source only upload: Debian-native package -> Running in no-targz mode I: using fakeroot in build. Current time: Sun Feb 3 09:33:04 CST 2008 pbuilder-time-stamp: 1202052784 -> copying local configuration -> mounting /proc filesystem -> mounting /dev/pts filesystem -> policy-rc.d already exists Obtaining the cached apt archive contents Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team <[EMAIL PROTECTED]> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder and should Depends: autoconf, debhelper (>= 5), dpkg-dev (>= 1.9.0), libapm-dev, libhal-dev, libxext-dev, libxpm-dev, libxt-dev dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Reading package lists... Building dependency tree... Reading state information... aptitude is already the newest version. The following packages were automatically installed and are no longer required: libgomp1 libcwidget0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Selecting previously deselected package pbuilder-satisfydepends-dummy. (Reading database ... 10121 files and directories currently installed.) Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ... dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy: pbuilder-satisfydepends-dummy depends on autoconf; however: Package autoconf is not installed. pbuilder-satisfydepends-dummy depends on debhelper (>= 5); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libapm-dev; however: Package libapm-dev is not installed. pbuilder-satisfydepends-dummy depends on libhal-dev; however: Package libhal-dev is not installed. pbuilder-satisfydepends-dummy depends on libxext-dev; however: Package libxext-dev is not installed. pbuilder-satisfydepends-dummy depends on libxpm-dev; however: Package libxpm-dev is not installed. pbuilder-satisfydepends-dummy depends on libxt-dev; however: Package libxt-dev is not installed. dpkg: error processing pbuilder-satisfydepends-dummy (--install): dependency problems - leaving unconfigured Errors were encountered while processing: pbuilder-satisfydepends-dummy Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... The following NEW packages will be installed: autoconf{a} automake{a} autotools-dev{a} debhelper{a} file{a} gettext{a} gettext-base{a} html2text{a} intltool-debian{a} libapm-dev{a} libapm1{a} libdbus-1-3{a} libdbus-1-dev{a} libglib2.0-0{a} libhal-dev{a} libhal1{a} libice-dev{a} libice6{a} libmagic1{a} libpcre3{a} libsm-dev{a} libsm6{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxpm-dev{a} libxpm4{a} libxt-dev{a} libxt6{a} m4{a} module-init-tools{a} pkg-config{a} po-debconf{a} powermgmt-base{a} x11-common{a} x11proto-core-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a} x11proto-xext-dev{a} xtrans-dev{a} The following packages will be REMOVED: libcwidget0{u} The following partially installed packages will be configured: pbuilder-satisfydepends-dummy 0 packages upgraded, 46 newly installed, 1 to remove and 0 not upgraded. Need to get 3460kB/11.5MB of archives. After unpacking 35.8MB will be used. Writing extended state information... Get:1 http://mirrors.kernel.org sid/main autotools-dev 20070725.1 [61.8kB] Get:2 http://mirrors.kernel.org sid/main automake 1:1.10.1-2 [550kB] Get:3 http://mirrors.kernel.org sid/main m4 1.4.10-1 [250kB] Get:4 http://mirrors.kernel.org sid/main autoconf 2.61-5 [448kB] Get:5 http://mirrors.kernel.org sid/main module-init-tools 3.3-pre11-4 [76.4kB] Get:6 http://mirrors.kernel.org sid/main powermgmt-base 1.29 [11.2kB] Get:7 http://mirrors.kernel.org sid/main libapm1 3.2.2-8.1 [25.6kB] Get:8 http://mirrors.kernel.org sid/main libapm-dev 3.2.2-8.1 [26.3kB] Get:9 http://mirrors.kernel.org sid/main libdbus-1-3 1.1.2-1 [148kB] Get:10 http://mirrors.kernel.org sid/main libpcre3 7.6-1 [209kB] Get:11 http://mirrors.kernel.org sid/main libglib2.0-0 2.14.5-2 [610kB] Get:12 http://mirrors.kernel.org sid/main libdbus-1-dev 1.1.2-1 [246kB] Get:13 http://mirrors.kernel.org sid/main libhal1 0.5.10-5 [397kB] Get:14 http://mirrors.kernel.org sid/main libhal-dev 0.5.10-5 [402kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 3460kB in 51s (67.7kB/s) Selecting previously deselected package autotools-dev. (Reading database ... 10121 files and directories currently installed.) Unpacking autotools-dev (from .../autotools-dev_20070725.1_all.deb) ... Selecting previously deselected package automake. Unpacking automake (from .../automake_1%3a1.10.1-2_all.deb) ... Selecting previously deselected package m4. Unpacking m4 (from .../archives/m4_1.4.10-1_amd64.deb) ... Selecting previously deselected package autoconf. Unpacking autoconf (from .../autoconf_2.61-5_all.deb) ... Selecting previously deselected package libmagic1. Unpacking libmagic1 (from .../libmagic1_4.23-1_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../archives/file_4.23-1_amd64.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-3_amd64.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.17-2_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.17-2_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.11_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_6.0.4_all.deb) ... Selecting previously deselected package module-init-tools. Unpacking module-init-tools (from .../module-init-tools_3.3-pre11-4_amd64.deb) ... Selecting previously deselected package powermgmt-base. Unpacking powermgmt-base (from .../powermgmt-base_1.29_amd64.deb) ... Selecting previously deselected package libapm1. Unpacking libapm1 (from .../libapm1_3.2.2-8.1_amd64.deb) ... Selecting previously deselected package libapm-dev. Unpacking libapm-dev (from .../libapm-dev_3.2.2-8.1_amd64.deb) ... Selecting previously deselected package libdbus-1-3. Unpacking libdbus-1-3 (from .../libdbus-1-3_1.1.2-1_amd64.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_7.6-1_amd64.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.14.5-2_amd64.deb) ... Selecting previously deselected package pkg-config. Unpacking pkg-config (from .../pkg-config_0.22-1_amd64.deb) ... Selecting previously deselected package libdbus-1-dev. Unpacking libdbus-1-dev (from .../libdbus-1-dev_1.1.2-1_amd64.deb) ... Selecting previously deselected package libhal1. Unpacking libhal1 (from .../libhal1_0.5.10-5_amd64.deb) ... Selecting previously deselected package libhal-dev. Unpacking libhal-dev (from .../libhal-dev_0.5.10-5_amd64.deb) ... Selecting previously deselected package x11-common. Unpacking x11-common (from .../x11-common_1%3a7.3+10_amd64.deb) ... Selecting previously deselected package libxau6. Unpacking libxau6 (from .../libxau6_1%3a1.0.3-2_amd64.deb) ... Selecting previously deselected package libxdmcp6. Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.2-2_amd64.deb) ... Setting up x11-common (1:7.3+10) ... Selecting previously deselected package libx11-data. (Reading database ... 11282 files and directories currently installed.) Unpacking libx11-data (from .../libx11-data_2%3a1.0.3-7_all.deb) ... Selecting previously deselected package libx11-6. Unpacking libx11-6 (from .../libx11-6_2%3a1.0.3-7_amd64.deb) ... Selecting previously deselected package libxext6. Unpacking libxext6 (from .../libxext6_1%3a1.0.3-2_amd64.deb) ... Selecting previously deselected package x11proto-core-dev. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.11-1_all.deb) ... Selecting previously deselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_1.4.2-1_all.deb) ... Selecting previously deselected package libxau-dev. Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.3-2_amd64.deb) ... Selecting previously deselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.0.2-5_all.deb) ... Selecting previously deselected package libxdmcp-dev. Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.2-2_amd64.deb) ... Selecting previously deselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.3-2_all.deb) ... Selecting previously deselected package xtrans-dev. Unpacking xtrans-dev (from .../xtrans-dev_1.0.4-1_all.deb) ... Selecting previously deselected package libx11-dev. Unpacking libx11-dev (from .../libx11-dev_2%3a1.0.3-7_amd64.deb) ... Selecting previously deselected package libxext-dev. Unpacking libxext-dev (from .../libxext-dev_1%3a1.0.3-2_amd64.deb) ... Selecting previously deselected package libxpm4. Unpacking libxpm4 (from .../libxpm4_1%3a3.5.7-1_amd64.deb) ... Selecting previously deselected package libxpm-dev. Unpacking libxpm-dev (from .../libxpm-dev_1%3a3.5.7-1_amd64.deb) ... Selecting previously deselected package libice6. Unpacking libice6 (from .../libice6_2%3a1.0.4-1_amd64.deb) ... Selecting previously deselected package libsm6. Unpacking libsm6 (from .../libsm6_2%3a1.0.3-1+b1_amd64.deb) ... Selecting previously deselected package libxt6. Unpacking libxt6 (from .../libxt6_1%3a1.0.5-3_amd64.deb) ... Selecting previously deselected package libice-dev. Unpacking libice-dev (from .../libice-dev_2%3a1.0.4-1_amd64.deb) ... Selecting previously deselected package libsm-dev. Unpacking libsm-dev (from .../libsm-dev_2%3a1.0.3-1+b1_amd64.deb) ... Selecting previously deselected package libxt-dev. Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.5-3_amd64.deb) ... (Reading database ... 12727 files and directories currently installed.) Removing libcwidget0 ... Setting up autotools-dev (20070725.1) ... Setting up m4 (1.4.10-1) ... Setting up libmagic1 (4.23-1) ... Setting up file (4.23-1) ... Setting up html2text (1.3.2a-3) ... Setting up gettext-base (0.17-2) ... Setting up gettext (0.17-2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.11) ... Setting up debhelper (6.0.4) ... Setting up module-init-tools (3.3-pre11-4) ... Setting up powermgmt-base (1.29) ... /var/lib/dpkg/info/powermgmt-base.postinst: line 7: ./MAKEDEV: No such file or directory Setting up libapm1 (3.2.2-8.1) ... Setting up libapm-dev (3.2.2-8.1) ... Setting up libdbus-1-3 (1.1.2-1) ... Setting up libpcre3 (7.6-1) ... Setting up libglib2.0-0 (2.14.5-2) ... Setting up pkg-config (0.22-1) ... Setting up libdbus-1-dev (1.1.2-1) ... Setting up libhal1 (0.5.10-5) ... Setting up libhal-dev (0.5.10-5) ... Setting up libxau6 (1:1.0.3-2) ... Setting up libxdmcp6 (1:1.0.2-2) ... Setting up libx11-data (2:1.0.3-7) ... Setting up libx11-6 (2:1.0.3-7) ... Setting up libxext6 (1:1.0.3-2) ... Setting up x11proto-core-dev (7.0.11-1) ... Setting up x11proto-input-dev (1.4.2-1) ... Setting up libxau-dev (1:1.0.3-2) ... Setting up x11proto-xext-dev (7.0.2-5) ... Setting up libxdmcp-dev (1:1.0.2-2) ... Setting up x11proto-kb-dev (1.0.3-2) ... Setting up xtrans-dev (1.0.4-1) ... Setting up libxpm4 (1:3.5.7-1) ... Setting up libice6 (2:1.0.4-1) ... Setting up libsm6 (2:1.0.3-1+b1) ... Setting up libxt6 (1:1.0.5-3) ... Setting up libice-dev (2:1.0.4-1) ... Setting up libsm-dev (2:1.0.3-1+b1) ... Setting up automake (1:1.10.1-2) ... Setting up autoconf (2.61-5) ... Setting up libxext-dev (1:1.0.3-2) ... Setting up libx11-dev (2:1.0.3-7) ... Setting up libxpm-dev (1:3.5.7-1) ... Setting up libxt-dev (1:1.0.5-3) ... Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Copying back the cached apt archive contents -> new cache content autotools-dev_20070725.1_all.deb added -> new cache content automake_1%3a1.10.1-2_all.deb added -> new cache content m4_1.4.10-1_amd64.deb added -> new cache content autoconf_2.61-5_all.deb added -> new cache content module-init-tools_3.3-pre11-4_amd64.deb added -> new cache content powermgmt-base_1.29_amd64.deb added -> new cache content libapm1_3.2.2-8.1_amd64.deb added -> new cache content libapm-dev_3.2.2-8.1_amd64.deb added -> new cache content libdbus-1-3_1.1.2-1_amd64.deb added -> new cache content libpcre3_7.6-1_amd64.deb added -> new cache content libglib2.0-0_2.14.5-2_amd64.deb added -> new cache content libdbus-1-dev_1.1.2-1_amd64.deb added -> new cache content libhal1_0.5.10-5_amd64.deb added -> new cache content libhal-dev_0.5.10-5_amd64.deb added Copying source file -> copying [/home/bloom/scratch/wmbattery_2.35.dsc] -> copying [/home/bloom/scratch/wmbattery_2.35.tar.gz] Extracting source dpkg-source: warning: extracting unsigned source package (./wmbattery_2.35.dsc) dpkg-source: extracting wmbattery in wmbattery-2.35 dpkg-source: unpacking wmbattery_2.35.tar.gz -> Building the package dpkg-buildpackage: source package wmbattery dpkg-buildpackage: source version 2.35 dpkg-buildpackage: source changed by Joey Hess <[EMAIL PROTECTED]> dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp /usr/bin/make distclean make[1]: Entering directory `/tmp/buildd/wmbattery-2.35' Makefile:5: makeinfo: No such file or directory autoconf ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for XOpenDisplay in -lX11... yes checking for XShapeCombineMask in -lXext... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for apm_read in -lapm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking apm.h usability... yes checking apm.h presence... yes checking for apm.h... yes checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for strdup... yes configure: creating ./config.status config.status: creating makeinfo config.status: WARNING: autoconf/makeinfo.in seems to ignore the --datarootdir setting config.status: creating config.h ./config.status config.status: creating makeinfo config.status: WARNING: autoconf/makeinfo.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: config.h is unchanged make[1]: Leaving directory `/tmp/buildd/wmbattery-2.35' make[1]: Entering directory `/tmp/buildd/wmbattery-2.35' rm -f wmbattery *.o rm -f config.status config.cache config.log makeinfo config.h configure make[1]: Leaving directory `/tmp/buildd/wmbattery-2.35' dh_clean dpkg-source -i -b wmbattery-2.35 dpkg-source: building wmbattery in wmbattery_2.35.tar.gz dpkg-source: building wmbattery in wmbattery_2.35.dsc debian/rules build dh_testdir autoconf ./configure --mandir=/tmp/buildd/wmbattery-2.35/debian/wmbattery/usr/share/man \ --prefix=/usr CFLAGS="-O2 -Wall -g" checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for XOpenDisplay in -lX11... yes checking for XShapeCombineMask in -lXext... yes checking for XpmReadFileToPixmap in -lXpm... yes checking for apm_read in -lapm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes checking X11/extensions/shape.h usability... yes checking X11/extensions/shape.h presence... yes checking for X11/extensions/shape.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking apm.h usability... yes checking apm.h presence... yes checking for apm.h... yes checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking for vprintf... yes checking for _doprnt... no checking for strdup... yes configure: creating ./config.status config.status: creating makeinfo config.status: WARNING: autoconf/makeinfo.in seems to ignore the --datarootdir setting config.status: creating config.h /usr/bin/make make[1]: Entering directory `/tmp/buildd/wmbattery-2.35' gcc -O2 -Wall -g -Wall -DACPI_APM -DHAL -DICONDIR=\"/usr/share/icons/wmbattery\" -c -o wmbattery.o wmbattery.c gcc -O2 -Wall -g -Wall -DACPI_APM -DHAL -DICONDIR=\"/usr/share/icons/wmbattery\" -c -o acpi.o acpi.c gcc -O2 -Wall -g -Wall -DACPI_APM -DHAL -DICONDIR=\"/usr/share/icons/wmbattery\" -c -o sonypi.o sonypi.c gcc -O2 -Wall -g -Wall -DACPI_APM -DHAL -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -c simplehal.c -o simplehal.o In file included from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/types.h:46: error: conflicting types for 'loff_t' /usr/include/linux/types.h:30: error: previous declaration of 'loff_t' was here /usr/include/sys/types.h:62: error: conflicting types for 'dev_t' /usr/include/linux/types.h:13: error: previous declaration of 'dev_t' was here In file included from /usr/include/sys/types.h:133, from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/time.h:105: error: conflicting types for 'timer_t' /usr/include/linux/types.h:22: error: previous declaration of 'timer_t' was here In file included from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/types.h:198: error: conflicting types for 'int64_t' /usr/include/linux/types.h:98: error: previous declaration of 'int64_t' was here /usr/include/sys/types.h:204: error: conflicting types for 'u_int64_t' /usr/include/linux/types.h:97: error: previous declaration of 'u_int64_t' was here In file included from /usr/include/sys/types.h:220, from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/select.h:78: error: conflicting types for 'fd_set' /usr/include/linux/types.h:12: error: previous declaration of 'fd_set' was here In file included from /usr/include/apm.h:24, from simplehal.c:5: /usr/include/sys/types.h:235: error: conflicting types for 'blkcnt_t' /usr/include/linux/types.h:124: error: previous declaration of 'blkcnt_t' was here make[1]: *** [simplehal.o] Error 1 make[1]: Leaving directory `/tmp/buildd/wmbattery-2.35' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 pbuilder: Failed autobuilding of package -> Aborting with an error -> unmounting dev/pts filesystem -> unmounting proc filesystem -> Copying COW directory -> Invoking pbuilder -> Cleaning COW directory