Bug 1154078

Summary: perl-Net-CUPS-0.61-18.fc22 FTBFS: The version of the Common Unix Printing System installed on your system is too old for this module to work properly.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Net-CUPSAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, mmaslano, paul, perl-devel, psabata
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=7894959
Whiteboard:
Fixed In Version: perl-Net-CUPS-0.61-19.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-17 15:06:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2014-10-17 13:15:56 UTC
perl-Net-CUPS-0.61-18.fc22 fails to build in F22 because the build script states:

+ perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard'
Net::CUPS Configuration
Running cups-config ... 2.0.0
The version of the Common Unix Printing System installed
on your system is too old for this module to work properly.
Please upgrade the version of CUPS on your system to version 
1.2.2 or higher and re-run Makefile.PL to install this module.

The difference is between last working and failing build root is:

Removed packages:
	cups-devel-1.7.5
	cups-filters-devel-1.0.58
	cups-filters-libs-1.0.58
	cups-libs-1.7.5
	openldap-2.4.39
Added packages:
	cups-devel-2.0.0
	cups-filters-devel-1.0.59
	cups-filters-libs-1.0.59
	cups-libs-2.0.0
	openldap-2.4.40

This looks like this Perl module is not compatible with CUPS 2.0.0.

Comment 1 Paul Howarth 2014-10-17 15:06:41 UTC
Build done: http://koji.fedoraproject.org/koji/taskinfo?taskID=7895757

The FTBFS was due to a version check in Makefile.PL that did not take into account the major version number.