Bug#700427: libdbd-firebird-perl: FTBFS on some archs, missing DBIXS.h

Roland Stigge stigge at antcom.de
Tue Feb 12 15:37:18 UTC 2013


Package: libdbd-firebird-perl
Version: 0.91-2
Severity: important
Tags: patch

Hi,

as you can see in the buildd logs linked from

http://packages.qa.debian.org/libd/libdbd-firebird-perl.html

the package FTBFS on s390x, ppc64, sparc64 and powerpcspe (some but not all of
them unofficial ports) like this:

/usr/bin/perl -p -e "s/~DRIVER~/Firebird/g" /usr/lib/perl5/auto/DBI/Driver.xst > Firebird.xsi
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl/5.14/ExtUtils/typemap -typemap typemap  Firebird.xs > Firebird.xsc && mv Firebird.xsc Firebird.c
cc -c  -I"" -I"/usr/lib/perl5/auto/DBI" -Wall -fno-strict-aliasing -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -maltivec -mabi=altivec -O2 -g   -DVERSION=\"0.91\" -DXS_VERSION=\"0.91\" -fPIC "-I/usr/lib/perl/5.14/CORE"   Firebird.c
In file included from Firebird.h:12:0,
                 from Firebird.xs:14:
dbdimp.h:13:67: fatal error: DBIXS.h: No such file or directory
compilation terminated.
make[1]: *** [Firebird.o] Error 1
make[1]: Leaving directory `/build/izanami-libdbd-firebird-perl_0.91-2-ppc64-1ef4O_/libdbd-firebird-perl-0.91'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2

I'm attaching a patch, ported from the upstream discussion and linked fix in
commit c72236e at

https://github.com/mariuz/perl-dbd-firebird/issues/31

that fixes this.

Thanks in advance,

Roland



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdbd-firebird-perl.patch
Type: text/x-diff
Size: 1088 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130212/707e7de0/attachment.patch>


More information about the pkg-perl-maintainers mailing list