libnet-cups-perl 0.64-3 FTBFS against libcupsfilters 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnet-cups-perl (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
The version of libcupsfilters in Ubuntu is ahead of Debian's.
libcupsfilters-dev | 1.28.17-3 | unstable | amd64, arm64, armel, armhf, i386, mips64el, ppc64el, riscv64, s390x
libcupsfilters-dev | 2.0.0-0ubuntu1 | noble | amd64, arm64, armhf, ppc64el, riscv64, s390x
libnet-cups-perl 0.64-3, which was synced from Debian, still uses constant names that are defined in libcupsfilters 1.28 but were renamed in libcupsfilters 2.0.
This makes the build fail with:
const-c.inc:730:20: error: ‘CUPS_IMAGE_RGB’ undeclared (first use in this function); did you mean ‘CF_IMAGE_RGB’?
730 | *iv_return = CUPS_IMAGE_RGB;
| ^~~~~~~~~~~~~~
| CF_IMAGE_RGB
const-c.inc:730:20: note: each undeclared identifier is reported only once for each function it appears in
const-c.inc:889:20: error: ‘CUPS_IMAGE_CMY’ undeclared (first use in this function); did you mean ‘CF_IMAGE_CMY’?
889 | *iv_return = CUPS_IMAGE_CMY;
| ^~~~~~~~~~~~~~
| CF_IMAGE_CMY
const-c.inc: In function ‘constant_15’:
const-c.
1029 | *iv_return = CUPS_IMAGE_CMYK;
| ^~~~~~~~~~~~~~~
| CF_IMAGE_CMYK
const-c.inc: In function ‘constant_16’:
const-c.
1176 | *iv_return = CUPS_IMAGE_BLACK;
| ^~~~~~~~~~~~~~~~
| CF_IMAGE_BLACK
const-c.
1233 | *iv_return = CUPS_IMAGE_WHITE;
| ^~~~~~~~~~~~~~~~
| CF_IMAGE_WHITE
const-c.inc: In function ‘constant_19’:
const-c.
1880 | *iv_return = CUPS_IMAGE_
| ^~~~~~~~~~~~~~~~~~~
| CF_IMAGE_RGB_CMYK
Changed in libnet-cups-perl (Ubuntu): | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | New → In Progress |
Uploading .debdiff fixing the build.
Package is uploaded to PPA ogayot/ noble-proposed /launchpad. net/~ogayot/ +archive/ ubuntu/ noble-proposed/ +build/ 27010765
Green build: https:/