Source: dmapi
Version: 2.2.10-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

dmapi fails to build from source in unstable/amd64:

  [..]

  dm_handle2path.c: In function 'dm_handle_to_path':
  dm_handle2path.c:64:16: warning: implicit declaration of function
  'open' [-Wimplicit-function-declaration]
    if ((origfd = open(".", O_RDONLY)) < 0) {
                  ^
  dm_handle2path.c:64:26: error: 'O_RDONLY' undeclared (first use in
  this function)
    if ((origfd = open(".", O_RDONLY)) < 0) {
                            ^
  dm_handle2path.c:64:26: note: each undeclared identifier is reported
  only once for each function it appears in
  dm_handle2path.c:72:3: warning: implicit declaration of function
  'close' [-Wimplicit-function-declaration]
     close(origfd);
     ^
  dm_handle2path.c:87:13: warning: implicit declaration of function
  'fchdir' [-Wimplicit-function-declaration]
    } else if (fchdir(dirfd)) {
               ^
  dm_handle2path.c:92:8: warning: implicit declaration of function
  'getcwd' [-Wimplicit-function-declaration]
     if (!getcwd(pathbufp, buflen)) {
          ^
  dm_handle2path.c: In function 'getcomp':
  dm_handle2path.c:189:11: warning: implicit declaration of function
  'strlen' [-Wimplicit-function-declaration]
    dirlen = strlen(bufp);
             ^
  dm_handle2path.c:189:11: warning: incompatible implicit declaration of
  built-in function 'strlen'
  dm_handle2path.c:189:11: note: include '<string.h>' or provide a
  declaration of 'strlen'
  dm_handle2path.c:232:9: warning: implicit declaration of function
  'strcpy' [-Wimplicit-function-declaration]
     (void)strcpy(bufp + dirlen, dp->d_name);
           ^
  dm_handle2path.c:232:9: warning: incompatible implicit declaration of
  built-in function 'strcpy'
  dm_handle2path.c:232:9: note: include '<string.h>' or provide a
  declaration of 'strcpy'
  dm_handle2path.c:244:7: warning: implicit declaration of function
  'strcmp' [-Wimplicit-function-declaration]
    if (!strcmp(dp->d_name, ".")) {  /* the directory itself */
         ^
  dm_handle2path.c:257:16: warning: implicit declaration of function
  'strrchr' [-Wimplicit-function-declaration]
     if ((slash = strrchr(bufp, '/')) == NULL)
                  ^
  dm_handle2path.c:257:16: warning: incompatible implicit declaration of
  built-in function 'strrchr'
  dm_handle2path.c:257:16: note: include '<string.h>' or provide a
  declaration of 'strrchr'
  dm_handle2path.c: In function 'get_mnt':
  dm_handle2path.c:309:11: warning: implicit declaration of function
  'strdup' [-Wimplicit-function-declaration]
      mtpt = strdup(mntent->mnt_dir);
             ^
  dm_handle2path.c:309:11: warning: incompatible implicit declaration of
  built-in function 'strdup'
  ../include/buildrules:39: recipe for target 'dm_handle2path.lo' failed
  make[4]: *** [dm_handle2path.lo] Error 1
  make[4]: Leaving directory '/tmp/buildd/dmapi-2.2.10/libdm'
  include/buildrules:22: recipe for target 'libdm' failed
  make[3]: *** [libdm] Error 2
  make[3]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
  Makefile:30: recipe for target 'default' failed
  make[2]: *** [default] Error 2
  make[2]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
  Makefile:28: recipe for target 'default' failed
  make[1]: *** [default] Error 2
  make[1]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
  debian/rules:20: recipe for target 'built' failed
  make: *** [built] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    
https://reproducible.debian.net/logs/unstable/amd64/dmapi_2.2.10-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Mon Sep 14 09:08:42 GMT+12 2015
I: pbuilder-time-stamp: 1442264922
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: 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 <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: xfslibs-dev (>= 2.7.13), autoconf, debhelper (>= 7), libtool
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20254 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on xfslibs-dev (>= 2.7.13); however:
  Package xfslibs-dev is not installed.
 pbuilder-satisfydepends-dummy depends on autoconf; however:
  Package autoconf is not installed.
 pbuilder-satisfydepends-dummy depends on libtool; however:
  Package libtool is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
The following NEW packages will be installed:
  autoconf{a} autotools-dev{a} libreadline5{a} libsigsegv2{a} libtool{a} 
  m4{a} uuid-dev{a} xfslibs-dev{a} xfsprogs{a} 
0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 1854 kB of archives. After unpacking 7837 kB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libsigsegv2 amd64 
2.10-4+b1 [29.2 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main m4 amd64 1.4.17-4 [254 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main autoconf all 2.69-9 [338 
kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main autotools-dev all 
20150820.1 [71.7 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libreadline5 amd64 
5.2+dfsg-3 [120 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libtool all 2.4.2-1.11 
[190 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main xfsprogs amd64 4.2.0 [716 
kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main uuid-dev amd64 2.27-1 
[80.7 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main xfslibs-dev amd64 4.2.0 
[54.5 kB]
Fetched 1854 kB in 0s (4055 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20254 files and directories currently installed.)
Preparing to unpack .../libsigsegv2_2.10-4+b1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-4+b1) ...
Selecting previously unselected package m4.
Preparing to unpack .../archives/m4_1.4.17-4_amd64.deb ...
Unpacking m4 (1.4.17-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../autoconf_2.69-9_all.deb ...
Unpacking autoconf (2.69-9) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../autotools-dev_20150820.1_all.deb ...
Unpacking autotools-dev (20150820.1) ...
Selecting previously unselected package libreadline5:amd64.
Preparing to unpack .../libreadline5_5.2+dfsg-3_amd64.deb ...
Unpacking libreadline5:amd64 (5.2+dfsg-3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../libtool_2.4.2-1.11_all.deb ...
Unpacking libtool (2.4.2-1.11) ...
Selecting previously unselected package xfsprogs.
Preparing to unpack .../xfsprogs_4.2.0_amd64.deb ...
Unpacking xfsprogs (4.2.0) ...
Selecting previously unselected package uuid-dev:amd64.
Preparing to unpack .../uuid-dev_2.27-1_amd64.deb ...
Unpacking uuid-dev:amd64 (2.27-1) ...
Selecting previously unselected package xfslibs-dev.
Preparing to unpack .../xfslibs-dev_4.2.0_amd64.deb ...
Unpacking xfslibs-dev (4.2.0) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libsigsegv2:amd64 (2.10-4+b1) ...
Setting up m4 (1.4.17-4) ...
Setting up autoconf (2.69-9) ...
Setting up autotools-dev (20150820.1) ...
Setting up libreadline5:amd64 (5.2+dfsg-3) ...
Setting up libtool (2.4.2-1.11) ...
Setting up xfsprogs (4.2.0) ...
Setting up uuid-dev:amd64 (2.27-1) ...
Setting up xfslibs-dev (4.2.0) ...
Processing triggers for libc-bin (2.19-20) ...
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.
I: Copying source file
I: copying [dmapi_2.2.10-1.dsc]
I: copying [./dmapi_2.2.10.orig.tar.gz]
I: copying [./dmapi_2.2.10-1.diff.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Mon Jun  8 15:28:29 2009 GMT+12 using DSA key ID 73CDA455
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./dmapi_2.2.10-1.dsc
dpkg-source: info: extracting dmapi in dmapi-2.2.10
dpkg-source: info: unpacking dmapi_2.2.10.orig.tar.gz
dpkg-source: info: applying dmapi_2.2.10-1.diff.gz
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package dmapi
dpkg-buildpackage: source version 2.2.10-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Anibal Monsalve Salazar <ani...@debian.org>
 dpkg-source --before-build dmapi-2.2.10
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
== dpkg-buildpackage: clean
test -f debian/rules
rm -f debian/compat && echo 7 > debian/compat
rm -f built .census
/usr/bin/make distclean
make[1]: Entering directory '/tmp/buildd/dmapi-2.2.10'
rm -f config.log .dep config.status config.cache confdefs.h conftest* Logs/* 
built .census install.* install-dev.* *.gz autom4te.cache/* libtool 
include/builddefs
make[1]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
rm -rf debian/libdm0-dev debian/libdm0
rm -f debian/*substvars debian/files* debian/*.debhelper
 debian/rules build
== dpkg-buildpackage: configure
test -f debian/rules
export DEBUG=-DNDEBUG DISTRIBUTION=debian INSTALL_USER=root INSTALL_GROUP=root 
; /usr/bin/make configure
make[1]: Entering directory '/tmp/buildd/dmapi-2.2.10'
make[1]: 'configure' is up to date.
make[1]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
touch .census
== dpkg-buildpackage: build
/usr/bin/make default
make[1]: Entering directory '/tmp/buildd/dmapi-2.2.10'
./configure \
        --prefix=/ \
        --exec-prefix=/ \
        --sbindir=/bin \
        --bindir=/usr/bin \
        --libdir=/lib \
        --libexecdir=/usr/lib \
        --enable-lib64=yes \
        --includedir=/usr/include \
        --mandir=/usr/share/man \
        --datadir=/usr/share \
        $LOCAL_CONFIGURE_OPTIONS
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gmake... no
checking for make... /usr/bin/make
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for makedepend... /bin/true
checking for awk... /usr/bin/awk
checking for sort... /usr/bin/sort
checking whether ln -s works... yes
checking for rpm... no
checking xfs/handle.h usability... yes
checking xfs/handle.h presence... yes
checking for xfs/handle.h... yes
configure: creating ./config.status
config.status: creating include/builddefs
config.status: executing libtool commands
touch .census
/usr/bin/make -C . default
make[2]: Entering directory '/tmp/buildd/dmapi-2.2.10'
/usr/bin/make include libdm m4 man doc debian build
make[3]: Entering directory '/tmp/buildd/dmapi-2.2.10'
/usr/bin/make -C include
make[4]: Entering directory '/tmp/buildd/dmapi-2.2.10/include'
ln -s . xfs
make[4]: Leaving directory '/tmp/buildd/dmapi-2.2.10/include'
/usr/bin/make -C libdm
make[4]: Entering directory '/tmp/buildd/dmapi-2.2.10/libdm'
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dmapi_lib.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dmapi_lib.c  -fPIC -DPIC -o .libs/dmapi_lib.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dmapi_lib.c -o dmapi_lib.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_attr.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_attr.c  -fPIC -DPIC -o .libs/dm_attr.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_attr.c -o dm_attr.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_bulkattr.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_bulkattr.c  -fPIC -DPIC -o .libs/dm_bulkattr.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_bulkattr.c -o dm_bulkattr.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_config.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_config.c  -fPIC -DPIC -o .libs/dm_config.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_config.c -o dm_config.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_dmattr.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_dmattr.c  -fPIC -DPIC -o .libs/dm_dmattr.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_dmattr.c -o dm_dmattr.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_event.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_event.c  -fPIC -DPIC -o .libs/dm_event.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_event.c -o dm_event.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_handle.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_handle.c  -fPIC -DPIC -o .libs/dm_handle.o
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_handle.c -o dm_handle.o >/dev/null 2>&1
/bin/sh ../libtool --mode=compile gcc -g -O2 -DDEBUG -funsigned-char 
-fno-strict-aliasing -Wall -DVERSION=\"2.2.10\" 
-DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"dmapi\" -I../include 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64   -c dm_handle2path.c
libtool: compile:  gcc -g -O2 -DDEBUG -funsigned-char -fno-strict-aliasing 
-Wall -DVERSION=\"2.2.10\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"dmapi\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
dm_handle2path.c  -fPIC -DPIC -o .libs/dm_handle2path.o
dm_handle2path.c: In function 'dm_handle_to_path':
dm_handle2path.c:64:16: warning: implicit declaration of function 'open' 
[-Wimplicit-function-declaration]
  if ((origfd = open(".", O_RDONLY)) < 0) {
                ^
dm_handle2path.c:64:26: error: 'O_RDONLY' undeclared (first use in this 
function)
  if ((origfd = open(".", O_RDONLY)) < 0) {
                          ^
dm_handle2path.c:64:26: note: each undeclared identifier is reported only once 
for each function it appears in
dm_handle2path.c:72:3: warning: implicit declaration of function 'close' 
[-Wimplicit-function-declaration]
   close(origfd);
   ^
dm_handle2path.c:87:13: warning: implicit declaration of function 'fchdir' 
[-Wimplicit-function-declaration]
  } else if (fchdir(dirfd)) {
             ^
dm_handle2path.c:92:8: warning: implicit declaration of function 'getcwd' 
[-Wimplicit-function-declaration]
   if (!getcwd(pathbufp, buflen)) {
        ^
dm_handle2path.c: In function 'getcomp':
dm_handle2path.c:189:11: warning: implicit declaration of function 'strlen' 
[-Wimplicit-function-declaration]
  dirlen = strlen(bufp);
           ^
dm_handle2path.c:189:11: warning: incompatible implicit declaration of built-in 
function 'strlen'
dm_handle2path.c:189:11: note: include '<string.h>' or provide a declaration of 
'strlen'
dm_handle2path.c:232:9: warning: implicit declaration of function 'strcpy' 
[-Wimplicit-function-declaration]
   (void)strcpy(bufp + dirlen, dp->d_name);
         ^
dm_handle2path.c:232:9: warning: incompatible implicit declaration of built-in 
function 'strcpy'
dm_handle2path.c:232:9: note: include '<string.h>' or provide a declaration of 
'strcpy'
dm_handle2path.c:244:7: warning: implicit declaration of function 'strcmp' 
[-Wimplicit-function-declaration]
  if (!strcmp(dp->d_name, ".")) {  /* the directory itself */
       ^
dm_handle2path.c:257:16: warning: implicit declaration of function 'strrchr' 
[-Wimplicit-function-declaration]
   if ((slash = strrchr(bufp, '/')) == NULL)
                ^
dm_handle2path.c:257:16: warning: incompatible implicit declaration of built-in 
function 'strrchr'
dm_handle2path.c:257:16: note: include '<string.h>' or provide a declaration of 
'strrchr'
dm_handle2path.c: In function 'get_mnt':
dm_handle2path.c:309:11: warning: implicit declaration of function 'strdup' 
[-Wimplicit-function-declaration]
    mtpt = strdup(mntent->mnt_dir);
           ^
dm_handle2path.c:309:11: warning: incompatible implicit declaration of built-in 
function 'strdup'
../include/buildrules:39: recipe for target 'dm_handle2path.lo' failed
make[4]: *** [dm_handle2path.lo] Error 1
make[4]: Leaving directory '/tmp/buildd/dmapi-2.2.10/libdm'
include/buildrules:22: recipe for target 'libdm' failed
make[3]: *** [libdm] Error 2
make[3]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
Makefile:30: recipe for target 'default' failed
make[2]: *** [default] Error 2
make[2]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
Makefile:28: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/tmp/buildd/dmapi-2.2.10'
debian/rules:20: recipe for target 'built' failed
make: *** [built] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//42934 and its subdirectories
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to