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

Bug 629752

Summary: app-office/scribus-1.5.3 fails with poppler-0.58.0
Product: Gentoo Linux Reporter: Mark Nowiasz <mark+gentoobugs>
Component: Current packagesAssignee: Justin Lecher (RETIRED) <jlec>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, harrisl, jarausch, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.scribus.net/view.php?id=14979
Whiteboard: fixed in 1.5.4
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 629836    
Attachments: build.log
scribus-1.5.3-poppler-0.58.patch

Description Mark Nowiasz 2017-09-03 09:23:03 UTC
After upgrading poppler from 0.57 to 0.58, scribus (amongst other) failes to rebuild: 

/usr/include/poppler/Object.h:291:8: note: declared private here
   void free()
Comment 1 Mark Nowiasz 2017-09-03 09:23:43 UTC
Created attachment 492106 [details]
build.log
Comment 2 Jonas Stein gentoo-dev 2017-11-23 21:10:37 UTC
Fixed upstream https://bugs.scribus.net/view.php?id=14979
Comment 3 Andreas Sturmlechner gentoo-dev 2017-12-20 20:57:34 UTC
Created attachment 511252 [details, diff]
scribus-1.5.3-poppler-0.58.patch

Patch is not too big for FILESDIR policy, still builds fine with poppler-0.57.0-r1. Can we add this to 1.5.3 so we do not have to wait even longer for upstream with newer poppler unmasking?
Comment 4 Andreas Sturmlechner gentoo-dev 2017-12-20 23:03:27 UTC
Also successfully built against poppler-0.61.1 just now.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2017-12-25 21:32:18 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Also successfully built against poppler-0.61.1 just now.

Andreas, please go ahead and add the patch.
Comment 6 Larry the Git Cow gentoo-dev 2017-12-26 01:02:21 UTC
The bug has been closed via the following commit(s):

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

commit 82b08626d628bfe6e95ab0927ba9985243cdcdeb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-12-26 00:32:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-12-26 01:02:04 +0000

    app-office/scribus: Fix build with >=app-text/popper-0.58
    
    Closes: https://bugs.gentoo.org/629752
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../scribus/files/scribus-1.5.3-poppler-0.58.patch | 534 +++++++++++++++++++++
 app-office/scribus/scribus-1.5.3-r1.ebuild         |   1 +
 2 files changed, 535 insertions(+)