Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728090 - app-office/scribus-1.5.5-r1 with app-text/podofo-0.9.6_p20200526 - .../work/scribus-1.5.5/scribus/pdf_analyzer.cpp:141:36: error: ‘void PoDoFo::PdfObject::SetOwner(PoDoFo::PdfVecObjects*)’ is private within this context
Summary: app-office/scribus-1.5.5-r1 with app-text/podofo-0.9.6_p20200526 - .../work/s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2019-9199, CVE-2019-9687
  Show dependency tree
 
Reported: 2020-06-12 18:17 UTC by Pavel Volkov
Modified: 2020-07-01 13:41 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,57.87 KB, application/gzip)
2020-06-12 18:18 UTC, Pavel Volkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2020-06-12 18:17:08 UTC
With new podofo 0.9.6_p20200526:

/var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5/scribus/pdf_analyzer.cpp:141:36: error: ‘void PoDoFo::PdfObject::SetOwner(PoDoFo::PdfVecObjects*)’ is private within this context
  141 |      pBase->SetOwner(cs->GetOwner());
      |                                    ^

With older podofo 0.9.6_p20180715 it builds fine.

Reproducible: Always
Comment 1 Pavel Volkov 2020-06-12 18:18:12 UTC
Created attachment 644534 [details]
build.log
Comment 2 cyrillic 2020-06-14 21:19:13 UTC
I am seeing the same error in scribus-9999 , so no help from upstream yet ...
Comment 3 Andreas Sturmlechner gentoo-dev 2020-06-17 11:53:31 UTC
If I had to guess it was this change in podofo:

https://sourceforge.net/p/podofo/code/2000/
Comment 4 Russell Dwiggins 2020-06-19 21:20:51 UTC
(In reply to Andreas Sturmlechner from comment #3)
> If I had to guess it was this change in podofo:
> 
> https://sourceforge.net/p/podofo/code/2000/

Downgrading podofo to 0.9.6_p20180715, then rebuilding scribus-9999 allowed the build to complete. It looks as if you are correct. I let the folks on #scribus know.
Comment 5 Tomáš Mózes 2020-06-24 06:48:54 UTC
app-text/podofo-0.9.6_p20180715 and app-office/scribus-1.5.5-r1 works fine. 

Maybe we should add a version constraint on podofo?
Comment 6 Larry the Git Cow gentoo-dev 2020-06-29 04:41:10 UTC
The bug has been referenced in the following commit(s):

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

commit bb5d2536ee9fe7736ec040306021ff09a347cc4f
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-06-29 04:39:20 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-06-29 04:39:46 +0000

    app-text/podofo: Remove 0.9.6_p20200526
    
    This version broke scribus builds as reported in bug 728090.
    
    Bug: https://bugs.gentoo.org/717792
    Bug: https://bugs.gentoo.org/728090
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-text/podofo/Manifest                      |   1 -
 app-text/podofo/podofo-0.9.6_p20200526.ebuild | 141 --------------------------
 2 files changed, 142 deletions(-)
Comment 7 cyrillic 2020-06-30 01:21:44 UTC
app-text/podofo-0.9.6_p20190928 is working with both
app-office/scribus-1.5.5-r1 and
app-office/scribus-9999

... at least they compile.
Comment 8 Andreas Sturmlechner gentoo-dev 2020-07-01 13:41:57 UTC
Perfect, thanks for testing.