Subject: | doesn't compile with perl 5.16 |
$ /usr/bin/perl Build.PL installdirs=vendor
Good, I found libcdio version 0.83 installed.
Checking for SWIG...ok
Checking if gcc supports "-Wno-strict-aliasing"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-value"...yes
Checking if gcc supports "-Wno-unused-function"...yes
Checking if gcc supports "-Wno-unused-variable"...yes
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Device-Cdio' version 'v0.3.0'
$ ./Build 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
Building Device-Cdio
In file included from /usr/include/cdio/cdio.h:65:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/device.h:368:39: error: unknown type name 'bool'
/usr/include/cdio/device.h:378:7: error: unknown type name 'bool'
/usr/include/cdio/device.h:443:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:469:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:971:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:980:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:991:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:1041:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:68:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/disc.h:102:3: error: unknown type name 'bool'
/usr/include/cdio/disc.h:107:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:73:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/read.h:138:13: error: unknown type name 'bool'
/usr/include/cdio/read.h:151:7: error: unknown type name 'bool'
/usr/include/cdio/read.h:169:13: error: unknown type name 'bool'
/usr/include/cdio/read.h:194:7: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:79:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/track.h:163:3: error: unknown type name 'bool'
/usr/include/cdio/track.h:245:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/mmc.h:43:0,
from ./perlmmc_wrap.c:1532:
/usr/include/cdio/mmc_util.h:114:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:115:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:116:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:117:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:118:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:119:5: error: unknown type name 'bool'
In file included from ./perlmmc_wrap.c:1532:0:
/usr/include/cdio/mmc.h:637:3: error: unknown type name 'bool'
error building ./perlmmc_wrap.o from './perlmmc_wrap.c' at
/usr/lib/perl5/5.16.0/ExtUtils/CBuilder/Base.pm line 177.
+ :
+ chmod u+w -R .
+ ./Build 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
Building Device-Cdio
In file included from /usr/include/cdio/cdio.h:65:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/device.h:368:39: error: unknown type name 'bool'
/usr/include/cdio/device.h:378:7: error: unknown type name 'bool'
/usr/include/cdio/device.h:443:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:469:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:971:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:980:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:991:3: error: unknown type name 'bool'
/usr/include/cdio/device.h:1041:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:68:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/disc.h:102:3: error: unknown type name 'bool'
/usr/include/cdio/disc.h:107:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:73:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/read.h:138:13: error: unknown type name 'bool'
/usr/include/cdio/read.h:151:7: error: unknown type name 'bool'
/usr/include/cdio/read.h:169:13: error: unknown type name 'bool'
/usr/include/cdio/read.h:194:7: error: unknown type name 'bool'
In file included from /usr/include/cdio/cdio.h:79:0,
from ./perlmmc_wrap.c:1531:
/usr/include/cdio/track.h:163:3: error: unknown type name 'bool'
/usr/include/cdio/track.h:245:3: error: unknown type name 'bool'
In file included from /usr/include/cdio/mmc.h:43:0,
from ./perlmmc_wrap.c:1532:
/usr/include/cdio/mmc_util.h:114:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:115:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:116:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:117:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:118:5: error: unknown type name 'bool'
/usr/include/cdio/mmc_util.h:119:5: error: unknown type name 'bool'
In file included from ./perlmmc_wrap.c:1532:0:
/usr/include/cdio/mmc.h:637:3: error: unknown type name 'bool'
error building ./perlmmc_wrap.o from './perlmmc_wrap.c' at
/usr/lib/perl5/5.16.0/ExtUtils/CBuilder/Base.pm line 177.
i guess it's related to boolean change in perl 5.16, cf another example
at https://rt.cpan.org/Ticket/Display.html?id=76442