--- Begin Message ---
Source: libdevice-cdio-perl
Version: 0.3.0-5
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer,
libdevice-cdio-perl fails to build from source in unstable/amd64:
[..]
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_last_session':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in
definition of macro 'EXPECT'
[..]
error building ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.o from
'./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c' at
/usr/share/perl/5.20/ExtUtils/CBuilder/Base.pm line 175.
dh_auto_build: perl Build returned exit code 2
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
debian/rules:4: recipe for target 'build' failed
make: *** [build] 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/libdevice-cdio-perl_0.3.0-5.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: Sun Sep 13 04:02:59 GMT+12 2015
I: pbuilder-time-stamp: 1442160179
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: debhelper (>= 9.20120312), libcdio-dev (>= 0.82),
libextutils-pkgconfig-perl, libiso9660-dev, libmodule-build-perl (>= 0.380000),
libtest-pod-coverage-perl, libtest-pod-perl, perl, perl (>= 5.13.8) |
libextutils-cbuilder-perl (>= 0.280000), swig
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20260 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 libcdio-dev (>= 0.82); however:
Package libcdio-dev is not installed.
pbuilder-satisfydepends-dummy depends on libextutils-pkgconfig-perl; however:
Package libextutils-pkgconfig-perl is not installed.
pbuilder-satisfydepends-dummy depends on libiso9660-dev; however:
Package libiso9660-dev is not installed.
pbuilder-satisfydepends-dummy depends on libmodule-build-perl (>= 0.380000);
however:
Package libmodule-build-perl is not installed.
pbuilder-satisfydepends-dummy depends on libtest-pod-coverage-perl; however:
Package libtest-pod-coverage-perl is not installed.
pbuilder-satisfydepends-dummy depends on libtest-pod-perl; however:
Package libtest-pod-perl is not installed.
pbuilder-satisfydepends-dummy depends on swig; however:
Package swig 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:
libcdio-dev{a} libcdio13{a} libcpan-meta-perl{a} libdevel-symdump-perl{a}
libextutils-pkgconfig-perl{a} libiso9660-8{a} libiso9660-dev{a}
libmodule-build-perl{a} libpod-coverage-perl{a}
libtest-pod-coverage-perl{a} libtest-pod-perl{a} pkg-config{a} swig{a}
swig2.0{a}
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 2682 kB of archives. After unpacking 7443 kB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libcdio13 amd64 0.83-4.2
[168 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main libcdio-dev amd64
0.83-4.2 [268 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main libcpan-meta-perl all
2.150005-1 [129 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main libdevel-symdump-perl all
2.15-1 [17.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main pkg-config amd64 0.28-1
[57.5 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main
libextutils-pkgconfig-perl all 1.15-1 [11.1 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libiso9660-8 amd64
0.83-4.2 [135 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main libiso9660-dev amd64
0.83-4.2 [148 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libmodule-build-perl all
0.421400-2 [259 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main libpod-coverage-perl all
0.23-1 [23.9 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main
libtest-pod-coverage-perl all 1.10-1 [15.2 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libtest-pod-perl all
1.51-1 [14.7 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main swig2.0 amd64 2.0.12-1
[1150 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main swig amd64 2.0.12-1 [285
kB]
Fetched 2682 kB in 0s (6375 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libcdio13.
(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 ... 20260 files and directories currently installed.)
Preparing to unpack .../libcdio13_0.83-4.2_amd64.deb ...
Unpacking libcdio13 (0.83-4.2) ...
Selecting previously unselected package libcdio-dev.
Preparing to unpack .../libcdio-dev_0.83-4.2_amd64.deb ...
Unpacking libcdio-dev (0.83-4.2) ...
Selecting previously unselected package libcpan-meta-perl.
Preparing to unpack .../libcpan-meta-perl_2.150005-1_all.deb ...
Unpacking libcpan-meta-perl (2.150005-1) ...
Selecting previously unselected package libdevel-symdump-perl.
Preparing to unpack .../libdevel-symdump-perl_2.15-1_all.deb ...
Unpacking libdevel-symdump-perl (2.15-1) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1_amd64.deb ...
Unpacking pkg-config (0.28-1) ...
Selecting previously unselected package libextutils-pkgconfig-perl.
Preparing to unpack .../libextutils-pkgconfig-perl_1.15-1_all.deb ...
Unpacking libextutils-pkgconfig-perl (1.15-1) ...
Selecting previously unselected package libiso9660-8.
Preparing to unpack .../libiso9660-8_0.83-4.2_amd64.deb ...
Unpacking libiso9660-8 (0.83-4.2) ...
Selecting previously unselected package libiso9660-dev.
Preparing to unpack .../libiso9660-dev_0.83-4.2_amd64.deb ...
Unpacking libiso9660-dev (0.83-4.2) ...
Selecting previously unselected package libmodule-build-perl.
Preparing to unpack .../libmodule-build-perl_0.421400-2_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.421400-2) ...
Selecting previously unselected package libpod-coverage-perl.
Preparing to unpack .../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 .../libtest-pod-coverage-perl_1.10-1_all.deb ...
Unpacking libtest-pod-coverage-perl (1.10-1) ...
Selecting previously unselected package libtest-pod-perl.
Preparing to unpack .../libtest-pod-perl_1.51-1_all.deb ...
Unpacking libtest-pod-perl (1.51-1) ...
Selecting previously unselected package swig2.0.
Preparing to unpack .../swig2.0_2.0.12-1_amd64.deb ...
Unpacking swig2.0 (2.0.12-1) ...
Selecting previously unselected package swig.
Preparing to unpack .../swig_2.0.12-1_amd64.deb ...
Unpacking swig (2.0.12-1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libcdio13 (0.83-4.2) ...
Setting up libcdio-dev (0.83-4.2) ...
Setting up libcpan-meta-perl (2.150005-1) ...
Setting up libdevel-symdump-perl (2.15-1) ...
Setting up pkg-config (0.28-1) ...
Setting up libextutils-pkgconfig-perl (1.15-1) ...
Setting up libiso9660-8 (0.83-4.2) ...
Setting up libiso9660-dev (0.83-4.2) ...
Setting up libmodule-build-perl (0.421400-2) ...
Setting up libpod-coverage-perl (0.23-1) ...
Setting up libtest-pod-coverage-perl (1.10-1) ...
Setting up libtest-pod-perl (1.51-1) ...
Setting up swig2.0 (2.0.12-1) ...
Setting up swig (2.0.12-1) ...
Processing triggers for libc-bin (2.19-19) ...
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 [libdevice-cdio-perl_0.3.0-5.dsc]
I: copying [./libdevice-cdio-perl_0.3.0.orig.tar.gz]
I: copying [./libdevice-cdio-perl_0.3.0-5.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sun Jul 26 05:21:51 2015 GMT+12 using RSA key ID 8649AA06
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on
./libdevice-cdio-perl_0.3.0-5.dsc
dpkg-source: info: extracting libdevice-cdio-perl in libdevice-cdio-perl-0.3.0
dpkg-source: info: unpacking libdevice-cdio-perl_0.3.0.orig.tar.gz
dpkg-source: info: unpacking libdevice-cdio-perl_0.3.0-5.debian.tar.xz
dpkg-source: info: applying 02_wrong_function_name.patch
dpkg-source: info: applying 03_version_information_in_swig.patch
dpkg-source: info: applying 05_tests-in-chroot.patch
dpkg-source: info: applying 06_spelling.patch
dpkg-source: info: applying 07_fix_perl_5.16_ftbfs.patch
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 libdevice-cdio-perl
dpkg-buildpackage: source version 0.3.0-5
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by gregor herrmann <gre...@debian.org>
dpkg-source --before-build libdevice-cdio-perl-0.3.0
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=perl_build
dh_testdir -O--buildsystem=perl_build
dh_auto_clean -O--buildsystem=perl_build
debian/rules override_dh_clean
make[1]: Entering directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
# mv backups back
for F in perlcdio perliso9660 perlmmc ; do \
[ ! -f /tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.bak ] || mv -v
/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.bak
/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.pm ; \
done
dh_clean
make[1]: Leaving directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
debian/rules build
dh build --buildsystem=perl_build
dh_testdir -O--buildsystem=perl_build
debian/rules override_dh_auto_configure
make[1]: Entering directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
dh_auto_configure -- --verbose 1
perl Build.PL --installdirs vendor --config "optimize=-g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2" --config "ld=cc -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wl,-z,relro" --verbose 1
Good, I found libcdio version 0.83 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 cc supports "-Wno-strict-aliasing"...yes
Checking if cc supports "-Wno-unused-function"...yes
Checking if cc supports "-Wno-unused-value"...yes
Checking if cc supports "-Wno-unused-function"...yes
Checking if cc supports "-Wno-unused-variable"...yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Device-Cdio' version 'v0.3.0'
make[1]: Leaving directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
# 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 /tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.pm ] || mv -v
/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.pm
/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/$F.bak ; \
done
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perlcdio.pm' ->
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perlcdio.bak'
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perliso9660.pm' ->
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perliso9660.bak'
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perlmmc.pm' ->
'/tmp/buildd/libdevice-cdio-perl-0.3.0/lib/perlmmc.bak'
dh_auto_build
perl Build
Building Device-Cdio
Copying lib/Device/Cdio/ISO9660/FS.pm -> blib/lib/Device/Cdio/ISO9660/FS.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
Copying lib/Device/Cdio.pm -> blib/lib/Device/Cdio.pm
Copying lib/Device/Cdio/ISO9660.pm -> blib/lib/Device/Cdio/ISO9660.pm
Copying lib/Device/Cdio/ISO9660/IFS.pm -> blib/lib/Device/Cdio/ISO9660/IFS.pm
Copying lib/Device/Cdio/Device.pm -> blib/lib/Device/Cdio/Device.pm
process swig files
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/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/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.280217
(CC) ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c -> perlcdio.so
cc -I/usr/lib/x86_64-linux-gnu/perl/5.20/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 -fstack-protector-strong -Wformat
-Werror=format-security -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.o
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c
In file included from /usr/include/cdio/cdio.h:65:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1534:
/usr/include/cdio/device.h:368:39: error: unknown type name 'bool'
cdio_fs_anal_t capabilities, bool b_any);
^
/usr/include/cdio/device.h:378:7: error: unknown type name 'bool'
bool b_any,
^
/usr/include/cdio/device.h:443:3: error: unknown type name 'bool'
bool cdio_get_hwinfo ( const CdIo_t *p_cdio,
^
/usr/include/cdio/device.h:469:3: error: unknown type name 'bool'
bool cdio_have_driver (driver_id_t driver_id);
^
/usr/include/cdio/device.h:971:3: error: unknown type name 'bool'
bool cdio_is_nrg(const char *psz_nrg);
^
/usr/include/cdio/device.h:980:3: error: unknown type name 'bool'
bool cdio_is_tocfile(const char *psz_toc);
^
/usr/include/cdio/device.h:991:3: error: unknown type name 'bool'
bool cdio_is_device(const char *psz_source, driver_id_t driver_id);
^
/usr/include/cdio/device.h:1041:3: error: unknown type name 'bool'
bool cdio_init(void);
^
In file included from /usr/include/cdio/cdio.h:68:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1534:
/usr/include/cdio/disc.h:102:3: error: unknown type name 'bool'
bool cdio_is_discmode_cdrom (discmode_t discmode);
^
/usr/include/cdio/disc.h:107:3: error: unknown type name 'bool'
bool cdio_is_discmode_dvd (discmode_t discmode);
^
In file included from /usr/include/cdio/cdio.h:73:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1534:
/usr/include/cdio/read.h:138:13: error: unknown type name 'bool'
bool b_form2);
^
/usr/include/cdio/read.h:151:7: error: unknown type name 'bool'
bool b_form2,
^
/usr/include/cdio/read.h:169:13: error: unknown type name 'bool'
bool b_form2);
^
/usr/include/cdio/read.h:194:7: error: unknown type name 'bool'
bool b_form2,
^
In file included from /usr/include/cdio/cdio.h:79:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1534:
/usr/include/cdio/track.h:163:3: error: unknown type name 'bool'
bool cdio_get_track_green(const CdIo_t *p_cdio, track_t i_track);
^
/usr/include/cdio/track.h:245:3: error: unknown type name 'bool'
bool cdio_get_track_msf(const CdIo_t *p_cdio, track_t i_track,
^
In file included from /usr/include/cdio/iso9660.h:234:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1537:
/usr/include/cdio/rock.h:281:3: error: unknown type name 'bool'
bool b_used; /**< If true, field has been set and is valid.
^
/usr/include/cdio/rock.h:283:3: error: unknown type name 'bool'
bool b_longdate; /**< If true date format is a iso9660_ltime_t.
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1537:0:
/usr/include/cdio/iso9660.h:521:3: error: unknown type name 'bool'
bool b_xa;
^
/usr/include/cdio/iso9660.h:561:3: error: unknown type name 'bool'
bool iso9660_close (iso9660_t * p_iso);
^
/usr/include/cdio/iso9660.h:617:3: error: unknown type name 'bool'
bool iso9660_ifs_fuzzy_read_superblock (iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:644:3: error: unknown type name 'bool'
bool iso9660_fs_read_pvd ( const CdIo_t *p_cdio,
^
/usr/include/cdio/iso9660.h:651:3: error: unknown type name 'bool'
bool iso9660_ifs_read_pvd (const iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:659:3: error: unknown type name 'bool'
bool iso9660_fs_read_superblock (CdIo_t *p_cdio,
^
/usr/include/cdio/iso9660.h:667:3: error: unknown type name 'bool'
bool iso9660_ifs_read_superblock (iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:713:3: error: unknown type name 'bool'
bool iso9660_get_dtime (const iso9660_dtime_t *idr_date, bool b_localtime,
^
/usr/include/cdio/iso9660.h:713:60: error: unknown type name 'bool'
bool iso9660_get_dtime (const iso9660_dtime_t *idr_date, bool b_localtime,
^
/usr/include/cdio/iso9660.h:721:3: error: unknown type name 'bool'
bool iso9660_get_ltime (const iso9660_ltime_t *p_ldate,
^
/usr/include/cdio/iso9660.h:732:3: error: unknown type name 'bool'
bool iso9660_is_dchar (int c);
^
/usr/include/cdio/iso9660.h:739:3: error: unknown type name 'bool'
bool iso9660_is_achar (int c);
^
/usr/include/cdio/iso9660.h:801:3: error: unknown type name 'bool'
bool iso9660_dirname_valid_p (const char psz_path[]);
^
/usr/include/cdio/iso9660.h:822:3: error: unknown type name 'bool'
bool iso9660_pathname_valid_p (const char psz_path[]);
^
/usr/include/cdio/iso9660.h:929:44: error: unknown type name 'bool'
bool b_mode2);
^
/usr/include/cdio/iso9660.h:951:34: error: unknown type name 'bool'
bool b_mode2);
^
/usr/include/cdio/iso9660.h:969:1: error: unknown type name 'bool'
bool iso9660_ifs_get_application_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1008:3: error: unknown type name 'bool'
bool iso9660_ifs_get_preparer_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1021:3: error: unknown type name 'bool'
bool iso9660_ifs_get_publisher_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1047:3: error: unknown type name 'bool'
bool iso9660_ifs_get_system_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1066:3: error: unknown type name 'bool'
bool iso9660_ifs_get_volume_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1079:3: error: unknown type name 'bool'
bool iso9660_ifs_get_volumeset_id(iso9660_t *p_iso,
^
/usr/include/cdio/iso9660.h:1112:3: error: unknown type name 'bool'
bool iso9660_ifs_is_xa (const iso9660_t * p_iso);
^
In file included from /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:5100:0,
from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'audio_get_status':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1770:21: warning: implicit
declaration of function 'cdio_from_bcd8' [-Wimplicit-function-declaration]
newSVuv(cdio_from_bcd8(sub.abs_addr.m)), 0);
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/embed.h:213: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)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1769:5: note: in expansion
of macro 'hv_store'
hv_store(audio_st, "abs_m", 5,
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1770:13: note: in expansion
of macro 'newSVuv'
newSVuv(cdio_from_bcd8(sub.abs_addr.m)), 0);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: At top level:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:1996:39: error: unknown type
name 'bool'
SWIG_From_bool SWIG_PERL_DECL_ARGS_1(bool value)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:936:80: note: in definition
of macro 'SWIG_PERL_DECL_ARGS_1'
#define SWIG_PERL_DECL_ARGS_1(arg1) (SWIG_PERL_OBJECT_DECL
arg1)
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:0:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'SWIG_AsCharPtrAndSize':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3162:52: note: in expansion of
macro 'cBOOL'
#define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2066:10: note: in expansion of
macro 'LIKELY'
if (LIKELY((dst) != (src))) { \
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2080:3: note: in expansion of
macro 'SvSetSV_and'
SvSetSV_and(dst,src,/*nothing*/;)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2050:6: note: in expansion
of macro 'SvSetSV'
SvSetSV(tmp, obj);
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: note: each undeclared
identifier is reported only once for each function it appears in
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3162:52: note: in expansion of
macro 'cBOOL'
#define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2066:10: note: in expansion of
macro 'LIKELY'
if (LIKELY((dst) != (src))) { \
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2080:3: note: in expansion of
macro 'SvSetSV_and'
SvSetSV_and(dst,src,/*nothing*/;)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2050:6: note: in expansion
of macro 'SvSetSV'
SvSetSV(tmp, obj);
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3162:52: note: in expansion of
macro 'cBOOL'
#define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2066:10: note: in expansion of
macro 'LIKELY'
if (LIKELY((dst) != (src))) { \
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/sv.h:2080:3: note: in expansion of
macro 'SvSetSV_and'
SvSetSV_and(dst,src,/*nothing*/;)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2050:6: note: in expansion
of macro 'SvSetSV'
SvSetSV(tmp, obj);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: At top level:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2180:48: error: unknown type
name 'bool'
SWIG_AsVal_bool SWIG_PERL_DECL_ARGS_2(SV *obj, bool* val)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:938:86: note: in definition
of macro 'SWIG_PERL_DECL_ARGS_2'
#define SWIG_PERL_DECL_ARGS_2(arg1, arg2) (SWIG_PERL_OBJECT_DECL
arg1, arg2)
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2197:50: error: unknown type
name 'bool'
get_devices_with_cap (unsigned int capabilities, bool b_any) {
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2204:54: error: unknown type
name 'bool'
get_devices_with_cap_ret (unsigned int capabilities, bool b_any,
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2223:1: error: unknown type
name 'bool'
bool
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2230:1: error: unknown type
name 'bool'
bool
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function 'get_hwinfo':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2255:3: error: unknown type
name 'bool'
bool b_got_hwinfo = cdio_get_hwinfo(p_cdio, &hw_info);
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:0:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_audio_get_volume_levels':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2587:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2587:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2590:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_audio_get_status':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2699:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2699:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2702:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function '_wrap_read_cd':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2801:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2801:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2804:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_read_sectors':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2884:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2884:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2887:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2890:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg6)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2893:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_read_data_bytes':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2978:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2978:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg5)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2981:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_long, new_flags); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2984:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_long
SWIG_PERL_CALL_ARGS_1((*arg6)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:2987:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_long, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_is_track_green':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3261:5: error: unknown type
name 'bool'
bool result;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3277:15: error: 'bool'
undeclared (first use in this function)
result = (bool)cdio_get_track_green((CdIo_t const *)arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3277:20: error: expected ';'
before 'cdio_get_track_green'
result = (bool)cdio_get_track_green((CdIo_t const *)arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3278:17: warning: implicit
declaration of function 'SWIG_From_bool' [-Wimplicit-function-declaration]
ST(argvi) = SWIG_From_bool SWIG_PERL_CALL_ARGS_1((bool)(result)); argvi++
;
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:0:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_close_tray':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3605:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3605:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3608:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_default_device_driver':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3831:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3831:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:3834:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_devices_ret':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4033:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4033:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4036:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_devices_with_cap':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4052:5: error: unknown type
name 'bool'
bool arg2 ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4055:5: error: unknown type
name 'bool'
bool val2 ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4069:14: warning: implicit
declaration of function 'SWIG_AsVal_bool' [-Wimplicit-function-declaration]
ecode2 = SWIG_AsVal_bool SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4073:13: error: 'bool'
undeclared (first use in this function)
arg2 = (bool)(val2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4074:28: warning: implicit
declaration of function 'get_devices_with_cap' [-Wimplicit-function-declaration]
result = (DeviceList_t)get_devices_with_cap(arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4074:14: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]
result = (DeviceList_t)get_devices_with_cap(arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_devices_with_cap_ret':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4125:5: error: unknown type
name 'bool'
bool arg2 ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4129:5: error: unknown type
name 'bool'
bool val2 ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4150:13: error: 'bool'
undeclared (first use in this function)
arg2 = (bool)(val2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4151:28: warning: implicit
declaration of function 'get_devices_with_cap_ret'
[-Wimplicit-function-declaration]
result = (DeviceList_t)get_devices_with_cap_ret(arg1,arg2,arg3);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4151:14: warning: cast to
pointer from integer of different size [-Wint-to-pointer-cast]
result = (DeviceList_t)get_devices_with_cap_ret(arg1,arg2,arg3);
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:0:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4189:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4192:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_drive_cap__SWIG_0':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4238:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4238:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4241:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4244:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4247:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4250:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4253:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_drive_cap__SWIG_1':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4304:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4304:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4307:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4310:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4313:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4316:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_int
SWIG_PERL_CALL_ARGS_1((*arg4)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4319:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_int, new_flags); argvi++
;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_last_session':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4479:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4479:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4482:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_have_ATAPI':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4533:5: error: unknown type
name 'bool'
bool result;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4544:15: error: 'bool'
undeclared (first use in this function)
result = (bool)have_ATAPI(arg1);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4544:20: error: expected ';'
before 'have_ATAPI'
result = (bool)have_ATAPI(arg1);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_is_device':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4625:5: error: unknown type
name 'bool'
bool result;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4643:15: error: 'bool'
undeclared (first use in this function)
result = (bool)is_device((char const *)arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4643:20: error: expected ';'
before 'is_device'
result = (bool)is_device((char const *)arg1,arg2);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function '_wrap_is_nrg':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4663:5: error: unknown type
name 'bool'
bool result;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4674:15: error: 'bool'
undeclared (first use in this function)
result = (bool)cdio_is_nrg((char const *)arg1);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4674:20: error: expected ';'
before 'cdio_is_nrg'
result = (bool)cdio_is_nrg((char const *)arg1);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_is_tocfile':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4692:5: error: unknown type
name 'bool'
bool result;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4703:15: error: 'bool'
undeclared (first use in this function)
result = (bool)cdio_is_tocfile((char const *)arg1);
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4703:20: error: expected ';'
before 'cdio_is_tocfile'
result = (bool)cdio_is_tocfile((char const *)arg1);
^
In file included from ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:731:0:
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_hwinfo':
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: 'bool'
undeclared (first use in this function)
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4793:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4793:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_int
SWIG_PERL_CALL_ARGS_1((*arg2)); argvi++ ;
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:39: error: expected ':'
before numeric constant
#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3158:62: note: in definition of
macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:3163:52: note: in expansion of
macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/pp.h:282:31: note: in expansion of
macro 'UNLIKELY'
# define EXTEND(p,n) (void)(UNLIKELY(PL_stack_max - p < (SSize_t)(n)) &&
\
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4796:27: note: in expansion
of macro 'EXTEND'
if (argvi >= items) EXTEND(sp,1); ST(argvi) =
SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags); argvi++ ;
^
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c: In function
'_wrap_get_tray_status':
./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c:4826:19: warning: implicit
declaration of function 'mmc_get_tray_status' [-Wimplicit-function-declaration]
result = (int)mmc_get_tray_status((CdIo_t const *)arg1);
^
error building ./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.o from
'./.pc/07_fix_perl_5.16_ftbfs.patch/perlcdio_wrap.c' at
/usr/share/perl/5.20/ExtUtils/CBuilder/Base.pm line 175.
dh_auto_build: perl Build returned exit code 2
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/tmp/buildd/libdevice-cdio-perl-0.3.0'
debian/rules:4: recipe for target 'build' failed
make: *** [build] 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//61867 and its subdirectories
--- End Message ---