Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409719 - ~app-office/scribus-1.3.9 fails to compile with >=net-print/cups-1.5
Summary: ~app-office/scribus-1.3.9 fails to compile with >=net-print/cups-1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL: http://bugs.scribus.net/view.php?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks: 413713
  Show dependency tree
 
Reported: 2012-03-26 06:00 UTC by Azamat H. Hackimov
Modified: 2012-04-27 10:47 UTC (History)
0 users

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


Attachments
build.log (build.log,77.81 KB, text/plain)
2012-03-26 06:00 UTC, Azamat H. Hackimov
Details
scribus-1.3.9_cups-1.5-compile-fix.patch (scribus-1.3.9_cups-1.5-compile-fix.patch,813 bytes, patch)
2012-03-26 06:02 UTC, Azamat H. Hackimov
Details | Diff
emerge --info (emerge-info,4.71 KB, text/plain)
2012-03-26 08:19 UTC, Azamat H. Hackimov
Details

Note You need to log in before you can comment on or make changes to this bug.
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
+