Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921638 - dev-perl/Net-CUPS-0.640.0-r1: fails to build with net-print/cups-filters-2.0.0 (./const-c.inc:730:20: error: use of undeclared identifier 'CUPS_IMAGE_RGB'; did you mean 'CF_IMAGE_RGB'?)
Summary: dev-perl/Net-CUPS-0.640.0-r1: fails to build with net-print/cups-filters-2.0....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 925038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-01-09 08:21 UTC by Toralf Förster
Modified: 2024-04-08 21:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,23.78 KB, text/plain)
2024-01-09 08:21 UTC, Toralf Förster
Details
dev-perl:Net-CUPS-0.640.0-r1:20240109-071816.log.xz (dev-perl:Net-CUPS-0.640.0-r1:20240109-071816.log.xz,8.24 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,113.00 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
environment (environment,94.47 KB, text/plain)
2024-01-09 08:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.81 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,109.79 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.68 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,1.80 KB, application/x-xz)
2024-01-09 08:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-01-09 08:21:43 UTC
  448 |       *iv_return = CUPS_VERSION;
      |                  ~ ^~~~~~~~~~~~
/usr/include/cups/cups.h:46:26: note: expanded from macro 'CUPS_VERSION'
   46 | #  define CUPS_VERSION                  2.0407
      |                                         ^~~~~~
In file included from CUPS.xs:27:
./const-c.inc:730:20: error: use of undeclared identifier 'CUPS_IMAGE_RGB'; did
      you mean 'CF_IMAGE_RGB'?
  730 |       *iv_return = CUPS_IMAGE_RGB;

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20231225-172010

  -------------------------------------------------------------------

CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
3)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
5)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17 
  [5]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 4b37235f16d106fbcfd71437c7e086f645826c8d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 9 06:48:23 2024 +0000

    2024-01-09 06:48:22 UTC

emerge -qpvO dev-perl/Net-CUPS
[ebuild  N    ] dev-perl/Net-CUPS-0.640.0-r1  USE="examples -test"
Comment 1 Toralf Förster gentoo-dev 2024-01-09 08:21:44 UTC
Created attachment 881710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-09 08:21:46 UTC
Created attachment 881711 [details]
dev-perl:Net-CUPS-0.640.0-r1:20240109-071816.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-09 08:21:48 UTC
Created attachment 881712 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-01-09 08:21:49 UTC
Created attachment 881713 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-09 08:21:50 UTC
Created attachment 881714 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-09 08:21:51 UTC
Created attachment 881715 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-09 08:21:53 UTC
Created attachment 881716 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-09 08:21:54 UTC
Created attachment 881717 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-09 08:21:54 UTC
Created attachment 881718 [details]
var.tmp.clang.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-28 01:50:01 UTC
*** Bug 925038 has been marked as a duplicate of this bug. ***
Comment 11 CaptainBlood 2024-04-02 15:54:35 UTC
Same here,

Build history
qlop -tv Net-CUPS
2022-04-20T00:10:14 >>> dev-perl/Net-CUPS-0.640.0-r1: 11s
2022-12-18T14:08:55 >>> dev-perl/Net-CUPS-0.640.0-r1: 13s
2023-09-01T19:38:00 >>> dev-perl/Net-CUPS-0.640.0-r1: 16s
2024-02-20T09:29:33 >>> dev-perl/Net-CUPS-0.640.0-r1: 13s
2024-02-20T09:31:22 >>> dev-perl/Net-CUPS-0.640.0-r1: 13s
Comment 12 CaptainBlood 2024-04-07 23:21:25 UTC
Sorry for the noise
Comment 13 Larry the Git Cow gentoo-dev 2024-04-08 16:34:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc2412c04c278b9140cdedf3b2d24ea3bbe9a415

commit fc2412c04c278b9140cdedf3b2d24ea3bbe9a415
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-08 16:24:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-08 16:34:17 +0000

    dev-perl/Net-CUPS: fix build w/ libcupsfilters-2
    
    Closes: https://bugs.gentoo.org/921638
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-perl/Net-CUPS/Net-CUPS-0.640.0-r2.ebuild       |  31 ++
 .../files/Net-CUPS-0.640.0-libcupsfilters-2.patch  | 340 +++++++++++++++++++++
 2 files changed, 371 insertions(+)
Comment 14 CaptainBlood 2024-04-08 21:24:15 UTC
+1