[pkg-bacula-devel] Bug#677616: mtx: [hurd-i386] FTBFS: mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE'

Luca Capello luca at pca.it
Fri Jun 15 11:36:43 UTC 2012


Package: mtx
Version: 1.3.12-4
Severity: normal
Usertags: debian-packaging

Hi there!

Yesterday I uploaded a new Bacula version targeted for wheezy
(5.2.6+dfsg-1) and I discovered that it can not be built on hurd-i386
because a Build-Depends: is missing, mtx.

According to the hurd-i386 buildd log for mtx:

--8<---------------cut here---------------start------------->8---
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/build/buildd-mtx_1.3.12-4-hurd-i386-frESN_/mtx-1.3.12'
gcc -g -O2 -DVERSION="\"1.3.12\"" -I. -I.  -c -o mtx.o mtx.c
In file included from mtx.c:40:0:
mtxl.h:39:1: error: unknown type name 'DEVICE_TYPE'
mtxl.h:40:41: error: unknown type name 'DEVICE_TYPE'
mtxl.h:41:25: error: unknown type name 'DEVICE_TYPE'
mtxl.h:57:24: error: unknown type name 'DEVICE_TYPE'
mtxl.h:59:37: error: unknown type name 'DEVICE_TYPE'
mtxl.h:64:28: error: unknown type name 'DEVICE_TYPE'
mtxl.h:67:29: error: unknown type name 'DEVICE_TYPE'
mtxl.h:74:33: error: unknown type name 'DEVICE_TYPE'
mtxl.h:81:33: error: unknown type name 'DEVICE_TYPE'
mtxl.h:85:15: error: unknown type name 'DEVICE_TYPE'
mtxl.h:86:16: error: unknown type name 'DEVICE_TYPE'
mtxl.h:87:15: error: unknown type name 'DEVICE_TYPE'
mtxl.h:88:16: error: unknown type name 'DEVICE_TYPE'
mtxl.h:89:23: error: unknown type name 'DEVICE_TYPE'
mtxl.h:102:26: error: unknown type name 'DEVICE_TYPE'
mtxl.h:105:17: error: unknown type name 'DEVICE_TYPE'
mtx.c:88:1: error: unknown type name 'DEVICE_TYPE'
mtx.c:88:39: error: 'DEVICE_TYPE' undeclared here (not in a function)
mtx.c: In function 'do_Erase':
mtx.c:416:15: warning: assignment makes pointer from integer without a cast [enabled by default]
mtx.c: In function 'ReportInquiry':
mtx.c:443:10: warning: assignment makes pointer from integer without a cast [enabled by default]
mtx.c: In function 'Position':
mtx.c:557:58: warning: comparison between pointer and integer [enabled by default]
mtx.c: In function 'Move':
mtx.c:566:9: warning: assignment makes pointer from integer without a cast [enabled by default]
mtx.c: In function 'Exchange':
mtx.c:728:9: warning: assignment makes pointer from integer without a cast [enabled by default]
mtx.c: In function 'execute_command':
mtx.c:924:16: warning: assignment makes pointer from integer without a cast [enabled by default]
mtx.c:931:17: warning: assignment makes pointer from integer without a cast [enabled by default]
make[1]: *** [mtx.o] Error 1
make[1]: Leaving directory `/build/buildd-mtx_1.3.12-4-hurd-i386-frESN_/mtx-1.3.12'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
--8<---------------cut here---------------end--------------->8---
  
In case this bug will be fixed excluding hurd-i386, please notice the
pkg-bacula-devel@ mailing list (Cc:ed), so we can do the same for
Bacula.

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120615/a081fe4f/attachment.pgp>


More information about the pkg-bacula-devel mailing list