Bug#883673: fix build with libcdio 1.0

Dominic Hargreaves dom at earth.li
Wed Dec 6 12:59:39 UTC 2017


On Wed, Dec 06, 2017 at 11:46:31AM +0100, Matthias Klose wrote:
> Package: src:libdevice-cdio-perl
> Version: 0.4.0-2
> Severity: serious
> Tags: sid buster patch
> 
> One driver is gone upstream.
> 
> patch at
> http://launchpadlibrarian.net/348274120/libdevice-cdio-perl_0.4.0-2build1_0.4.0-2ubuntu1.diff.gz

Hi Matthew,

I tried applying this patch (both to the Debian package and to upstream
git ready for forwarding) but I get the following build failures on sid:

./perlcdio_wrap.c: In function 'get_cdtext':
./perlcdio_wrap.c:2439:14: error: too many arguments to function 'cdio_get_cdtex
t'
     cdtext = cdio_get_cdtext (p_cdio, (track_t) track);
              ^~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:62:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/disc.h:77:13: note: declared here
   cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
             ^~~~~~~~~~~~~~~
./perlcdio_wrap.c:2448:29: warning: passing argument 1 of 'cdtext_get_const' makes pointer from integer without a cast [-Wint-conversion]
         if(cdtext_get_const(num,cdtext)) {
                             ^~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: expected 'const cdtext_t * {aka const struct cdtext_s *}' but argument is of type 'int'
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
./perlcdio_wrap.c:2448:33: error: incompatible type for argument 2 of 'cdtext_get_const'
         if(cdtext_get_const(num,cdtext)) {
                                 ^~~~~~

[...]

(full log attached).

Do you have any suggestions about how to resolve this?

Cheers,
Dominic.
-------------- next part --------------
sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on himalia.internal.semmle.com

+==============================================================================+
| libdevice-cdio-perl 0.4.0-3 (amd64)          Wed, 06 Dec 2017 12:53:07 +0000 |
+==============================================================================+

Package: libdevice-cdio-perl
Version: 0.4.0-3
Source Version: 0.4.0-3
Distribution: sid
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-da6941f7-b7da-4f42-9d95-94af0fb241a3' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Hit:1 http://localhost:3142/debian sid InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Local sources
-------------

/home/dom/working/debian/pkg-perl/libdevice-cdio-perl_0.4.0-3.dsc exists in /home/dom/working/debian/pkg-perl; copying to chroot
I: NOTICE: Log filtering will replace 'build/libdevice-cdio-perl-3ngYLQ/libdevice-cdio-perl-0.4.0' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/libdevice-cdio-perl-3ngYLQ' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-5QCaU6/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Release [957 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Packages [432 B]
Fetched 1738 B in 0s (140 kB/s)
Reading package lists...
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 13993 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (amd64 included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9.20120312), libcdio-dev (>= 0.92), libextutils-pkgconfig-perl, libiso9660-dev (>= 0.92), libmodule-build-perl, libtest-pod-coverage-perl, libtest-pod-perl, perl, swig
Filtered Build-Depends: debhelper (>= 9.20120312), libcdio-dev (>= 0.92), libextutils-pkgconfig-perl, libiso9660-dev (>= 0.92), libmodule-build-perl, libtest-pod-coverage-perl, libtest-pod-perl, perl, swig
dpkg-deb: building package 'sbuild-build-depends-libdevice-cdio-perl-dummy' in '/<<BUILDDIR>>/resolver-5QCaU6/apt_archive/sbuild-build-depends-libdevice-cdio-perl-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-libdevice-cdio-perl-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
Ign:1 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Release [963 B]
Ign:3 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Release.gpg
Get:4 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Sources [568 B]
Get:5 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ Packages [650 B]
Fetched 2181 B in 0s (193 kB/s)
Reading package lists...
Reading package lists...

Install libdevice-cdio-perl build dependencies (apt-based resolver)
-------------------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libbsd0 libcdio-dev libcdio17 libcroco3
  libdevel-symdump-perl libextutils-pkgconfig-perl
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libiso9660-10
  libiso9660-dev libmagic-mgc libmagic1 libmodule-build-perl libpipeline1
  libpod-coverage-perl libsigsegv2 libtest-pod-coverage-perl libtest-pod-perl
  libtool libxml2 m4 man-db pkg-config po-debconf swig swig3.0
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make dwz gettext-doc libasprintf-dev libgettextpo-dev groff
  libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc less www-browser
  apparmor libmail-box-perl swig-doc swig-examples swig3.0-examples
  swig3.0-doc
Recommended packages:
  curl | wget | lynx-cur libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs libmodule-signature-perl libpod-readme-perl
  libsoftware-license-perl libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism file gettext gettext-base groff-base
  intltool-debian libarchive-zip-perl libbsd0 libcdio-dev libcdio17 libcroco3
  libdevel-symdump-perl libextutils-pkgconfig-perl
  libfile-stripnondeterminism-perl libglib2.0-0 libicu57 libiso9660-10
  libiso9660-dev libmagic-mgc libmagic1 libmodule-build-perl libpipeline1
  libpod-coverage-perl libsigsegv2 libtest-pod-coverage-perl libtest-pod-perl
  libtool libxml2 m4 man-db pkg-config po-debconf
  sbuild-build-depends-libdevice-cdio-perl-dummy swig swig3.0
0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.4 MB of archives.
After this operation, 74.7 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-5QCaU6/apt_archive ./ sbuild-build-depends-libdevice-cdio-perl-dummy 0.invalid.0 [936 B]
Get:2 http://localhost:3142/debian sid/main amd64 groff-base amd64 1.22.3-9 [1160 kB]
Get:3 http://localhost:3142/debian sid/main amd64 libbsd0 amd64 0.8.6-3 [91.4 kB]
Get:4 http://localhost:3142/debian sid/main amd64 bsdmainutils amd64 9.0.14 [186 kB]
Get:5 http://localhost:3142/debian sid/main amd64 libpipeline1 amd64 1.5.0-1 [29.0 kB]
Get:6 http://localhost:3142/debian sid/main amd64 man-db amd64 2.7.6.1-4 [1047 kB]
Get:7 http://localhost:3142/debian sid/main amd64 libmagic-mgc amd64 1:5.32-1 [225 kB]
Get:8 http://localhost:3142/debian sid/main amd64 libmagic1 amd64 1:5.32-1 [111 kB]
Get:9 http://localhost:3142/debian sid/main amd64 file amd64 1:5.32-1 [64.4 kB]
Get:10 http://localhost:3142/debian sid/main amd64 gettext-base amd64 0.19.8.1-4 [122 kB]
Get:11 http://localhost:3142/debian sid/main amd64 libicu57 amd64 57.1-8 [7699 kB]
Get:12 http://localhost:3142/debian sid/main amd64 libxml2 amd64 2.9.4+dfsg1-5.1 [730 kB]
Get:13 http://localhost:3142/debian sid/main amd64 libsigsegv2 amd64 2.11-1 [29.9 kB]
Get:14 http://localhost:3142/debian sid/main amd64 m4 amd64 1.4.18-1 [202 kB]
Get:15 http://localhost:3142/debian sid/main amd64 autoconf all 2.69-11 [341 kB]
Get:16 http://localhost:3142/debian sid/main amd64 autotools-dev all 20161112.1+nmu1 [74.2 kB]
Get:17 http://localhost:3142/debian sid/main amd64 automake all 1:1.15.1-3 [736 kB]
Get:18 http://localhost:3142/debian sid/main amd64 autopoint all 0.19.8.1-4 [434 kB]
Get:19 http://localhost:3142/debian sid/main amd64 libtool all 2.4.6-2 [545 kB]
Get:20 http://localhost:3142/debian sid/main amd64 dh-autoreconf all 15 [16.2 kB]
Get:21 http://localhost:3142/debian sid/main amd64 libarchive-zip-perl all 1.59-1 [95.5 kB]
Get:22 http://localhost:3142/debian sid/main amd64 libfile-stripnondeterminism-perl all 0.040-1 [18.4 kB]
Get:23 http://localhost:3142/debian sid/main amd64 dh-strip-nondeterminism all 0.040-1 [11.8 kB]
Get:24 http://localhost:3142/debian sid/main amd64 libglib2.0-0 amd64 2.54.2-1 [2822 kB]
Get:25 http://localhost:3142/debian sid/main amd64 libcroco3 amd64 0.6.12-1 [144 kB]
Get:26 http://localhost:3142/debian sid/main amd64 gettext amd64 0.19.8.1-4 [1302 kB]
Get:27 http://localhost:3142/debian sid/main amd64 intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:28 http://localhost:3142/debian sid/main amd64 po-debconf all 1.0.20 [247 kB]
Get:29 http://localhost:3142/debian sid/main amd64 debhelper all 10.10.9 [975 kB]
Get:30 http://localhost:3142/debian sid/main amd64 libcdio17 amd64 1.0.0-1 [197 kB]
Get:31 http://localhost:3142/debian sid/main amd64 libcdio-dev amd64 1.0.0-1 [305 kB]
Get:32 http://localhost:3142/debian sid/main amd64 libdevel-symdump-perl all 2.18-1 [17.1 kB]
Get:33 http://localhost:3142/debian sid/main amd64 pkg-config amd64 0.29-4+b1 [63.3 kB]
Get:34 http://localhost:3142/debian sid/main amd64 libextutils-pkgconfig-perl all 1.16-1 [10.7 kB]
Get:35 http://localhost:3142/debian sid/main amd64 libiso9660-10 amd64 1.0.0-1 [161 kB]
Get:36 http://localhost:3142/debian sid/main amd64 libiso9660-dev amd64 1.0.0-1 [175 kB]
Get:37 http://localhost:3142/debian sid/main amd64 libmodule-build-perl all 0.422400-1 [259 kB]
Get:38 http://localhost:3142/debian sid/main amd64 libpod-coverage-perl all 0.23-1 [23.9 kB]
Get:39 http://localhost:3142/debian sid/main amd64 libtest-pod-coverage-perl all 1.10-2 [14.5 kB]
Get:40 http://localhost:3142/debian sid/main amd64 libtest-pod-perl all 1.51-1 [14.7 kB]
Get:41 http://localhost:3142/debian sid/main amd64 swig3.0 amd64 3.0.12-1 [1395 kB]
Get:42 http://localhost:3142/debian sid/main amd64 swig amd64 3.0.12-1 [309 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 22.4 MB in 0s (26.1 MB/s)
Selecting previously unselected package groff-base.
(Reading database ... 13993 files and directories currently installed.)
Preparing to unpack .../00-groff-base_1.22.3-9_amd64.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../01-libbsd0_0.8.6-3_amd64.deb ...
Unpacking libbsd0:amd64 (0.8.6-3) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../02-bsdmainutils_9.0.14_amd64.deb ...
Unpacking bsdmainutils (9.0.14) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../03-libpipeline1_1.5.0-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.0-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.7.6.1-4_amd64.deb ...
Unpacking man-db (2.7.6.1-4) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.32-1_amd64.deb ...
Unpacking libmagic-mgc (1:5.32-1) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../06-libmagic1_1%3a5.32-1_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.32-1) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.32-1_amd64.deb ...
Unpacking file (1:5.32-1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.19.8.1-4_amd64.deb ...
Unpacking gettext-base (0.19.8.1-4) ...
Selecting previously unselected package libicu57:amd64.
Preparing to unpack .../09-libicu57_57.1-8_amd64.deb ...
Unpacking libicu57:amd64 (57.1-8) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../10-libxml2_2.9.4+dfsg1-5.1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.4+dfsg1-5.1) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../11-libsigsegv2_2.11-1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.11-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../12-m4_1.4.18-1_amd64.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../13-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../14-autotools-dev_20161112.1+nmu1_all.deb ...
Unpacking autotools-dev (20161112.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../15-automake_1%3a1.15.1-3_all.deb ...
Unpacking automake (1:1.15.1-3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../16-autopoint_0.19.8.1-4_all.deb ...
Unpacking autopoint (0.19.8.1-4) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../18-dh-autoreconf_15_all.deb ...
Unpacking dh-autoreconf (15) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../19-libarchive-zip-perl_1.59-1_all.deb ...
Unpacking libarchive-zip-perl (1.59-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_0.040-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.040-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_0.040-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.040-1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../22-libglib2.0-0_2.54.2-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.54.2-1) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../23-libcroco3_0.6.12-1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.12-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../24-gettext_0.19.8.1-4_amd64.deb ...
Unpacking gettext (0.19.8.1-4) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../25-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../26-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../27-debhelper_10.10.9_all.deb ...
Unpacking debhelper (10.10.9) ...
Selecting previously unselected package libcdio17:amd64.
Preparing to unpack .../28-libcdio17_1.0.0-1_amd64.deb ...
Unpacking libcdio17:amd64 (1.0.0-1) ...
Selecting previously unselected package libcdio-dev:amd64.
Preparing to unpack .../29-libcdio-dev_1.0.0-1_amd64.deb ...
Unpacking libcdio-dev:amd64 (1.0.0-1) ...
Selecting previously unselected package libdevel-symdump-perl.
Preparing to unpack .../30-libdevel-symdump-perl_2.18-1_all.deb ...
Unpacking libdevel-symdump-perl (2.18-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../31-pkg-config_0.29-4+b1_amd64.deb ...
Unpacking pkg-config (0.29-4+b1) ...
Selecting previously unselected package libextutils-pkgconfig-perl.
Preparing to unpack .../32-libextutils-pkgconfig-perl_1.16-1_all.deb ...
Unpacking libextutils-pkgconfig-perl (1.16-1) ...
Selecting previously unselected package libiso9660-10:amd64.
Preparing to unpack .../33-libiso9660-10_1.0.0-1_amd64.deb ...
Unpacking libiso9660-10:amd64 (1.0.0-1) ...
Selecting previously unselected package libiso9660-dev:amd64.
Preparing to unpack .../34-libiso9660-dev_1.0.0-1_amd64.deb ...
Unpacking libiso9660-dev:amd64 (1.0.0-1) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../35-libmodule-build-perl_0.422400-1_all.deb ...
Adding 'diversion of /usr/bin/config_data to /usr/bin/config_data.diverted by libmodule-build-perl'
Adding 'diversion of /usr/share/man/man1/config_data.1.gz to /usr/share/man/man1/config_data.diverted.1.gz by libmodule-build-perl'
Unpacking libmodule-build-perl (0.422400-1) ...
Selecting previously unselected package libpod-coverage-perl.
Preparing to unpack .../36-libpod-coverage-perl_0.23-1_all.deb ...
Unpacking libpod-coverage-perl (0.23-1) ...
Selecting previously unselected package libtest-pod-coverage-perl.
Preparing to unpack .../37-libtest-pod-coverage-perl_1.10-2_all.deb ...
Unpacking libtest-pod-coverage-perl (1.10-2) ...
Selecting previously unselected package libtest-pod-perl.
Preparing to unpack .../38-libtest-pod-perl_1.51-1_all.deb ...
Unpacking libtest-pod-perl (1.51-1) ...
Selecting previously unselected package swig3.0.
Preparing to unpack .../39-swig3.0_3.0.12-1_amd64.deb ...
Unpacking swig3.0 (3.0.12-1) ...
Selecting previously unselected package swig.
Preparing to unpack .../40-swig_3.0.12-1_amd64.deb ...
Unpacking swig (3.0.12-1) ...
Selecting previously unselected package sbuild-build-depends-libdevice-cdio-perl-dummy.
Preparing to unpack .../41-sbuild-build-depends-libdevice-cdio-perl-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-libdevice-cdio-perl-dummy (0.invalid.0) ...
Setting up libdevel-symdump-perl (2.18-1) ...
Setting up libarchive-zip-perl (1.59-1) ...
Setting up swig3.0 (3.0.12-1) ...
Setting up libsigsegv2:amd64 (2.11-1) ...
Setting up groff-base (1.22.3-9) ...
Setting up libglib2.0-0:amd64 (2.54.2-1) ...
No schema files found: doing nothing.
Setting up gettext-base (0.19.8.1-4) ...
Setting up libpipeline1:amd64 (1.5.0-1) ...
Setting up m4 (1.4.18-1) ...
Setting up libicu57:amd64 (57.1-8) ...
Setting up libbsd0:amd64 (0.8.6-3) ...
Setting up libxml2:amd64 (2.9.4+dfsg1-5.1) ...
Setting up libmagic-mgc (1:5.32-1) ...
Setting up libmagic1:amd64 (1:5.32-1) ...
Setting up libcroco3:amd64 (0.6.12-1) ...
Setting up pkg-config (0.29-4+b1) ...
Setting up libextutils-pkgconfig-perl (1.16-1) ...
Processing triggers for libc-bin (2.25-3) ...
Setting up autotools-dev (20161112.1+nmu1) ...
Setting up libtest-pod-perl (1.51-1) ...
Setting up bsdmainutils (9.0.14) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libmodule-build-perl (0.422400-1) ...
Setting up libcdio17:amd64 (1.0.0-1) ...
Setting up autopoint (0.19.8.1-4) ...
Setting up libpod-coverage-perl (0.23-1) ...
Setting up libfile-stripnondeterminism-perl (0.040-1) ...
Setting up swig (3.0.12-1) ...
Setting up libcdio-dev:amd64 (1.0.0-1) ...
Setting up gettext (0.19.8.1-4) ...
Setting up autoconf (2.69-11) ...
Setting up file (1:5.32-1) ...
Setting up libiso9660-10:amd64 (1.0.0-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up libtest-pod-coverage-perl (1.10-2) ...
Setting up automake (1:1.15.1-3) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.7.6.1-4) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-2) ...
Setting up po-debconf (1.0.20) ...
Setting up libiso9660-dev:amd64 (1.0.0-1) ...
Setting up dh-autoreconf (15) ...
Setting up dh-strip-nondeterminism (0.040-1) ...
Setting up debhelper (10.10.9) ...
Setting up sbuild-build-depends-libdevice-cdio-perl-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.25-3) ...

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-4-amd64 amd64 (x86_64)
Toolchain package versions: binutils_2.29.1-10 dpkg-dev_1.19.0.4 g++-4.9_4.9.4-2 g++-7_7.2.0-17 gcc-4.9_4.9.4-2 gcc-7_7.2.0-17 libc6-dev_2.25-3 libstdc++-4.9-dev_4.9.4-2 libstdc++-7-dev_7.2.0-17 libstdc++6_7.2.0-17 linux-libc-dev_4.14.2-1
Package versions: acl_2.2.52-3+b1 adduser_3.116 apt_1.6~alpha5 autoconf_2.69-11 automake_1:1.15.1-3 autopoint_0.19.8.1-4 autotools-dev_20161112.1+nmu1 base-files_10 base-passwd_3.5.44 bash_4.4-5 binutils_2.29.1-10 binutils-common_2.29.1-10 binutils-x86-64-linux-gnu_2.29.1-10 bsdmainutils_9.0.14 bsdutils_1:2.30.2-0.1 build-essential_12.4 bzip2_1.0.6-8.1 coreutils_8.28-1 cpp_4:7.2.0-1d1 cpp-4.9_4.9.4-2 cpp-7_7.2.0-17 dash_0.5.8-2.5 debconf_1.5.65 debfoster_2.7-2.1+b1 debhelper_10.10.9 debian-archive-keyring_2017.6 debianutils_4.8.3 dh-autoreconf_15 dh-strip-nondeterminism_0.040-1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1 dpkg_1.19.0.4 dpkg-dev_1.19.0.4 e2fslibs_1.43.7-1 e2fsprogs_1.43.7-1 fakeroot_1.22-2 fdisk_2.30.2-0.1 file_1:5.32-1 findutils_4.6.0+git+20170828-2 g++_4:7.2.0-1d1 g++-4.9_4.9.4-2 g++-7_7.2.0-17 gcc_4:7.2.0-1d1 gcc-4.7-base_4.7.4-3 gcc-4.8-base_4.8.5-4 gcc-4.9_4.9.4-2 gcc-4.9-base_4.9.4-2 gcc-5-base_5.5.0-5 gcc-6-base_6.4.0-10 gcc-7_7.2.0-17 gcc-7-base_7.2.0-17 gettext_0.19.8.1-4 gettext-base_0.19.8.1-4 gpgv_2.2.3-1 grep_3.1-2 groff-base_1.22.3-9 gzip_1.6-5+b1 hostname_3.18+b1 init_1.51 init-system-helpers_1.51 initscripts_2.88dsf-59.10 insserv_1.14.0-5.4+b1 intltool-debian_0.35.0+20060710.4 libacl1_2.2.52-3+b1 libapparmor1_2.11.1-3 libapt-pkg4.12_1.0.9.10 libapt-pkg5.0_1.6~alpha5 libarchive-zip-perl_1.59-1 libasan1_4.9.4-2 libasan4_7.2.0-17 libatomic1_7.2.0-17 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.8.1-2 libaudit1_1:2.8.1-2 libbinutils_2.29.1-10 libblkid1_2.30.2-0.1 libbsd0_0.8.6-3 libbz2-1.0_1.0.6-8.1 libc-bin_2.25-3 libc-dev-bin_2.25-3 libc6_2.25-3 libc6-dev_2.25-3 libcap-ng0_0.7.7-3.1+b1 libcap2_1:2.25-1.2 libcap2-bin_1:2.25-1.2 libcc1-0_7.2.0-17 libcdio-dev_1.0.0-1 libcdio17_1.0.0-1 libcilkrts5_7.2.0-17 libcloog-isl4_0.18.4-1+b1 libcomerr2_1.43.7-1 libcroco3_0.6.12-1 libcryptsetup4_2:1.7.5-1 libdb5.3_5.3.28-13.1+b1 libdebconfclient0_0.235 libdevel-symdump-perl_2.18-1 libdevmapper1.02.1_2:1.02.145-4.1 libdpkg-perl_1.19.0.4 libextutils-pkgconfig-perl_1.16-1 libfakeroot_1.22-2 libfdisk1_2.30.2-0.1 libffi6_3.2.1-6 libfile-stripnondeterminism-perl_0.040-1 libgc1c2_1:7.4.2-8 libgcc-4.9-dev_4.9.4-2 libgcc-7-dev_7.2.0-17 libgcc1_1:7.2.0-17 libgcrypt20_1.8.1-4 libgdbm3_1.8.3-14 libglib2.0-0_2.54.2-1 libgmp10_2:6.1.2+dfsg-1.1 libgnutls30_3.5.16-1 libgomp1_7.2.0-17 libgpg-error0_1.27-5 libhogweed4_3.3-2 libicu57_57.1-8 libidn11_1.33-2 libidn2-0_2.0.4-1.1 libip4tc0_1.6.1-2+b1 libisl10_0.12.2-2 libisl15_0.18-1 libiso9660-10_1.0.0-1 libiso9660-dev_1.0.0-1 libitm1_7.2.0-17 libkmod2_24-1 liblsan0_7.2.0-17 liblz4-1_0.0~r131-2+b1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.32-1 libmagic1_1:5.32-1 libmodule-build-perl_0.422400-1 libmount1_2.30.2-0.1 libmpc3_1.0.3-2 libmpfr4_3.1.6-1 libmpx2_7.2.0-17 libncurses5_6.0+20171125-1 libncursesw5_6.0+20171125-1 libnettle6_3.3-2 libp11-kit0_0.23.9-2 libpam-modules_1.1.8-3.6 libpam-modules-bin_1.1.8-3.6 libpam-runtime_1.1.8-3.6 libpam0g_1.1.8-3.6 libpcre3_2:8.39-8 libperl5.26_5.26.1-3 libpipeline1_1.5.0-1 libpod-coverage-perl_0.23-1 libprocps3_2:3.3.9-9 libprocps6_2:3.3.12-3 libquadmath0_7.2.0-17 libreadline6_6.3-9 libseccomp2_2.3.1-2.1 libselinux1_2.7-2 libsemanage-common_2.7-2 libsemanage1_2.7-2 libsepol1_2.7-1 libsigsegv2_2.11-1 libslang2_2.3.1a-1 libsmartcols1_2.30.2-0.1 libss2_1.43.7-1 libstdc++-4.9-dev_4.9.4-2 libstdc++-7-dev_7.2.0-17 libstdc++6_7.2.0-17 libsystemd0_235-3 libtasn1-6_4.12-3 libtest-pod-coverage-perl_1.10-2 libtest-pod-perl_1.51-1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20171125-1 libtool_2.4.6-2 libtsan0_7.2.0-17 libubsan0_7.2.0-17 libudev1_235-3 libunistring2_0.9.8-1 libusb-0.1-4_2:0.1.12-31 libustr-1.0-1_1.0.4-6 libuuid1_2.30.2-0.1 libxml2_2.9.4+dfsg1-5.1 linux-libc-dev_4.14.2-1 login_1:4.5-1 lsb-base_9.20170808 m4_1.4.18-1 make_4.1-9.1 man-db_2.7.6.1-4 mawk_1.3.3-17+b3 mount_2.30.2-0.1 multiarch-support_2.25-3 ncurses-base_6.0+20171125-1 ncurses-bin_6.0+20171125-1 passwd_1:4.5-1 patch_2.7.5-1+b2 perl_5.26.1-3 perl-base_5.26.1-3 perl-modules-5.26_5.26.1-3 pkg-config_0.29-4+b1 po-debconf_1.0.20 procps_2:3.3.12-3 readline-common_7.0-3 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-libdevice-cdio-perl-dummy_0.invalid.0 sed_4.4-1 sensible-utils_0.0.11 startpar_0.59-4 swig_3.0.12-1 swig3.0_3.0.12-1 systemd_235-3 systemd-sysv_235-3 sysv-rc_2.88dsf-59.10 sysvinit-utils_2.88dsf-59.10 tar_1.29b-2 tzdata_2017c-1 udev_235-3 util-linux_2.30.2-0.1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.8.dfsg-5

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

dpkg-source: warning: extracting unsigned source package (libdevice-cdio-perl_0.4.0-3.dsc)
dpkg-source: info: extracting libdevice-cdio-perl in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking libdevice-cdio-perl_0.4.0.orig.tar.gz
dpkg-source: info: unpacking libdevice-cdio-perl_0.4.0-3.debian.tar.xz
dpkg-source: info: applying remove-driver-bsdi.diff

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_GB.utf8
LC_ALL=POSIX
LOGNAME=dom
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=sid-amd64-sbuild
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=dom
SCHROOT_SESSION_ID=sid-amd64-sbuild-da6941f7-b7da-4f42-9d95-94af0fb241a3
SCHROOT_UID=1000
SCHROOT_USER=dom
SHELL=/bin/sh
USER=dom

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package libdevice-cdio-perl
dpkg-buildpackage: info: source version 0.4.0-3
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Damyan Ivanov <dmn at debian.org>
 dpkg-source --before-build libdevice-cdio-perl-0.4.0
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean --buildsystem=perl_build
   dh_auto_clean -O--buildsystem=perl_build
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# mv backups back
for F in perlcdio perliso9660 perlmmc ; do \
	[ ! -f /<<PKGBUILDDIR>>/lib/$F.bak ] || mv -v /<<PKGBUILDDIR>>/lib/$F.bak /<<PKGBUILDDIR>>/lib/$F.pm ; \
done
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules build
dh build --buildsystem=perl_build
   dh_update_autotools_config -O--buildsystem=perl_build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --verbose 1
	perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now" --verbose 1
Good, I found libcdio version 1.0.0 installed.
Checking whether your kit is complete...
Looks good

Adding to build_requires: ExtUtils::CBuilder => 0
Checking if compiler tools configured... ok.
Checking prerequisites...
Looks good

Checking for SWIG...ok
Checking if x86_64-linux-gnu-gcc supports "-Wno-strict-aliasing"...yes
Checking if x86_64-linux-gnu-gcc supports "-Wno-unused-function"...yes
Checking if x86_64-linux-gnu-gcc supports "-Wno-unused-value"...yes
Checking if x86_64-linux-gnu-gcc supports "-Wno-unused-function"...yes
Checking if x86_64-linux-gnu-gcc supports "-Wno-unused-variable"...yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Device-Cdio' version 'v0.4.0'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# mv shipped .pm files away to ensure that the swig-generated ones
# are used. Build.PL uses M::B's copy_if_modified().
for F in perlcdio perliso9660 perlmmc ; do \
	[ ! -f /<<PKGBUILDDIR>>/lib/$F.pm ] || mv -v /<<PKGBUILDDIR>>/lib/$F.pm /<<PKGBUILDDIR>>/lib/$F.bak ; \
done
renamed '/<<PKGBUILDDIR>>/lib/perlcdio.pm' -> '/<<PKGBUILDDIR>>/lib/perlcdio.bak'
renamed '/<<PKGBUILDDIR>>/lib/perliso9660.pm' -> '/<<PKGBUILDDIR>>/lib/perliso9660.bak'
renamed '/<<PKGBUILDDIR>>/lib/perlmmc.pm' -> '/<<PKGBUILDDIR>>/lib/perlmmc.bak'
dh_auto_build
	perl Build
Building Device-Cdio
Copying lib/Device/Cdio.pm -> blib/lib/Device/Cdio.pm
Copying lib/Device/Cdio/Device.pm -> blib/lib/Device/Cdio/Device.pm
Copying lib/Device/Cdio/ISO9660.pm -> blib/lib/Device/Cdio/ISO9660.pm
Copying lib/Device/Cdio/ISO9660/FS.pm -> blib/lib/Device/Cdio/ISO9660/FS.pm
Copying lib/Device/Cdio/ISO9660/IFS.pm -> blib/lib/Device/Cdio/ISO9660/IFS.pm
Copying lib/Device/Cdio/Track.pm -> blib/lib/Device/Cdio/Track.pm
Copying lib/Device/Cdio/Util.pm -> blib/lib/Device/Cdio/Util.pm
process swig files
swig: swig/perlmmc.swg -> perlmmc_wrap.c
swig -o perlmmc_wrap.c -perl -outdir lib swig/perlmmc.swg
Copying lib/perlmmc.pm -> blib/lib/perlmmc.pm
swig: swig/perliso9660.swg -> perliso9660_wrap.c
swig -o perliso9660_wrap.c -perl -outdir lib swig/perliso9660.swg
Copying lib/perliso9660.pm -> blib/lib/perliso9660.pm
swig: swig/perlcdio.swg -> perlcdio_wrap.c
swig -o perlcdio_wrap.c -perl -outdir lib swig/perlcdio.swg
Copying lib/perlcdio.pm -> blib/lib/perlcdio.pm
process c files
  CBuilder: 0.280225
(CC) ./perlcdio_wrap.c -> perlcdio.so
x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-strict-aliasing -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o ./perlcdio_wrap.o ./perlcdio_wrap.c
./perlcdio_wrap.c: In function 'get_cdtext':
./perlcdio_wrap.c:2439:14: error: too many arguments to function 'cdio_get_cdtext'
     cdtext = cdio_get_cdtext (p_cdio, (track_t) track);
              ^~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:62:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/disc.h:77:13: note: declared here
   cdtext_t *cdio_get_cdtext (CdIo_t *p_cdio);
             ^~~~~~~~~~~~~~~
./perlcdio_wrap.c:2448:29: warning: passing argument 1 of 'cdtext_get_const' makes pointer from integer without a cast [-Wint-conversion]
         if(cdtext_get_const(num,cdtext)) {
                             ^~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: expected 'const cdtext_t * {aka const struct cdtext_s *}' but argument is of type 'int'
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
./perlcdio_wrap.c:2448:33: error: incompatible type for argument 2 of 'cdtext_get_const'
         if(cdtext_get_const(num,cdtext)) {
                                 ^~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: expected 'cdtext_field_t {aka enum <anonymous>}' but argument is of type 'cdtext_t * {aka struct cdtext_s *}'
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
./perlcdio_wrap.c:2448:12: error: too few arguments to function 'cdtext_get_const'
         if(cdtext_get_const(num,cdtext)) {
            ^~~~~~~~~~~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: declared here
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from ./perlcdio_wrap.c:739:
./perlcdio_wrap.c:2456:42: warning: passing argument 1 of 'cdtext_get_const' makes pointer from integer without a cast [-Wint-conversion]
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                                          ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len'
 #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
                                                                             ^
./perlcdio_wrap.c:2454:13: note: in expansion of macro 'hv_store'
             hv_store(cdtext_hash, str, strlen(str),
             ^~~~~~~~
./perlcdio_wrap.c:2456:17: note: in expansion of macro 'newSVpv'
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                 ^~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: expected 'const cdtext_t * {aka const struct cdtext_s *}' but argument is of type 'int'
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from ./perlcdio_wrap.c:739:
./perlcdio_wrap.c:2456:46: error: incompatible type for argument 2 of 'cdtext_get_const'
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                                              ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len'
 #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
                                                                             ^
./perlcdio_wrap.c:2454:13: note: in expansion of macro 'hv_store'
             hv_store(cdtext_hash, str, strlen(str),
             ^~~~~~~~
./perlcdio_wrap.c:2456:17: note: in expansion of macro 'newSVpv'
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                 ^~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: expected 'cdtext_field_t {aka enum <anonymous>}' but argument is of type 'cdtext_t * {aka struct cdtext_s *}'
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5644:0,
                 from ./perlcdio_wrap.c:739:
./perlcdio_wrap.c:2456:25: error: too few arguments to function 'cdtext_get_const'
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                         ^
/usr/lib/x86_64-linux-gnu/perl/5.26/CORE/embed.h:228:77: note: in definition of macro 'hv_common_key_len'
 #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
                                                                             ^
./perlcdio_wrap.c:2454:13: note: in expansion of macro 'hv_store'
             hv_store(cdtext_hash, str, strlen(str),
             ^~~~~~~~
./perlcdio_wrap.c:2456:17: note: in expansion of macro 'newSVpv'
                 newSVpv(cdtext_get_const(num,cdtext), 0), 0);
                 ^~~~~~~
In file included from /usr/include/cdio/cdio.h:59:0,
                 from ./perlcdio_wrap.c:1562:
/usr/include/cdio/cdtext.h:262:13: note: declared here
 const char *cdtext_get_const (const cdtext_t *p_cdtext, cdtext_field_t field,
             ^~~~~~~~~~~~~~~~
error building ./perlcdio_wrap.o from './perlcdio_wrap.c' at /usr/share/perl/5.26/ExtUtils/CBuilder/Base.pm line 174.
dh_auto_build: perl Build returned exit code 2
debian/rules:20: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2017-12-06T12:53:36Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: binary
Build-Space: 3580
Build-Time: 2
Distribution: sid
Fail-Stage: build
Host Architecture: amd64
Install-Time: 25
Job: /home/dom/working/debian/pkg-perl/libdevice-cdio-perl_0.4.0-3.dsc
Machine Architecture: amd64
Package: libdevice-cdio-perl
Package-Time: 29
Source-Version: 0.4.0-3
Space: 3580
Status: attempted
Version: 0.4.0-3
--------------------------------------------------------------------------------
Finished at 2017-12-06T12:53:36Z
Build needed 00:00:29, 3580k disk space


More information about the pkg-perl-maintainers mailing list