Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409719

Summary: ~app-office/scribus-1.3.9 fails to compile with >=net-print/cups-1.5
Product: Gentoo Linux Reporter: Azamat H. Hackimov <azamat.hackimov>
Component: New packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.scribus.net/view.php?id=10037
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 413713    
Attachments: build.log
scribus-1.3.9_cups-1.5-compile-fix.patch
emerge --info

Description Azamat H. Hackimov 2012-03-26 06:00:41 UTC
Created attachment 306675 [details]
build.log

During compiling I get these errors:

^[[0m/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp: In constructor 'CupsOptions::CupsOptions(QWidget*, QString)':
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:77:2: error: 'ppd_file_t' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:77:14: error: 'ppd' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:78:2: error: 'ppd_group_t' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:78:15: error: 'group' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:81:98: error: 'ppdOpenFile' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:83:22: error: 'ppdMarkDefaults' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:84:56: error: 'cupsMarkOptions' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:92:4: error: 'ppd_option_t' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:92:18: error: 'option' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:93:4: error: 'ppd_choice_t' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:93:18: error: 'choice' was not declared in this scope
/var/tmp/portage/app-office/scribus-1.3.9/work/scribus-1.3.9/scribus/cupsoptions.cpp:127:15: error: 'ppdClose' was not declared in this scope
Comment 1 Azamat H. Hackimov 2012-03-26 06:02:18 UTC
Created attachment 306677 [details, diff]
scribus-1.3.9_cups-1.5-compile-fix.patch

Patch for scribus-1.3.9 and cups-1.5. Works with cups-1.4 too.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-03-26 07:29:27 UTC
Actually I cannot reproduce the issue. Which USE do you use for cups?
Comment 3 Azamat H. Hackimov 2012-03-26 08:19:54 UTC
Created attachment 306687 [details]
emerge --info

Here:
[ebuild   R   ~] net-print/cups-1.5.2-r1  USE="X acl dbus filters java jpeg ldap pam png ssl threads tiff usb -debug -gnutls -kerberos -perl -python -slp -static-libs -xinetd" LINGUAS="ru -da -de -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -sv -zh -zh_TW"
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2012-03-26 10:39:42 UTC
Okay, it needs to be something along the changes from your USE to mine.
USE="X acl dbus filters gnutls* jpeg pam perl* png python* ssl threads tiff -debug -java* -kerberos -ldap* -slp -static-libs -usb* -xinetd"
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-03-26 12:09:58 UTC
+  26 Mar 2012; Justin Lecher <jlec@gentoo.org> scribus-1.3.9-r2.ebuild,
+  +files/scribus-1.3.9-cups-1.5.patch:
+  Cups-1.5 compatibility patch backported from scribus-1.4, #409719
+