Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949396 - app-office/scribus-1.7.0 w/ app-text/poppler-25.02.0: error: invalid conversion from ‘const OCGs*’ to ‘OCGs*’ [-fpermissive]
Summary: app-office/scribus-1.7.0 w/ app-text/poppler-25.02.0: error: invalid conversi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Miroslav Šulc
URL: https://bugs.scribus.net/view.php?id=...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 950281
  Show dependency tree
 
Reported: 2025-02-07 16:31 UTC by Andreas Sturmlechner
Modified: 2025-03-07 13:16 UTC (History)
0 users

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


Attachments
app-office:scribus-1.7.0:20250207-161922.log.xz (app-office:scribus-1.7.0:20250207-161922.log.xz,41.25 KB, application/x-xz)
2025-02-07 16:33 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2025-02-07 16:31:24 UTC
> scribus/plugins/import/pdf/importpdf.cpp: In member function ‘bool PdfPlug::convert(const QString&)’:
> scribus-1.7.0/scribus/plugins/import/pdf/importpdf.cpp:419:72: error: invalid conversion from ‘const OCGs*’ to ‘OCGs*’ [-fpermissive]
>   419 |                                 OCGs* ocg = pdfDoc->getOptContentConfig();
>       |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
>       |                                                                        |
>       |                                                                        const OCGs*
> scribus/plugins/import/pdf/importpdf.cpp:423:74: error: invalid conversion from ‘const Array*’ to ‘Array*’ [-fpermissive]
>   423 |                                         Array *order = ocg->getOrderArray();
>       |                                                        ~~~~~~~~~~~~~~~~~~^~
>       |                                                                          |
>       |                                                                          const Array*
Comment 1 Andreas Sturmlechner gentoo-dev 2025-02-07 16:33:10 UTC
Created attachment 918311 [details]
app-office:scribus-1.7.0:20250207-161922.log.xz
Comment 2 Larry the Git Cow gentoo-dev 2025-02-09 15:16:39 UTC
The bug has been referenced in the following commit(s):

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

commit ff5c60c376b8cb1563a22759912e7a179c811754
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-02-09 15:15:52 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-02-09 15:16:22 +0000

    app-text/poppler: 25.02.0 version bump, subslot bump
    
    Bug: https://bugs.gentoo.org/949531
    Bug: https://bugs.gentoo.org/949396
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-text/poppler/Manifest               |   2 +
 app-text/poppler/poppler-25.02.0.ebuild | 157 ++++++++++++++++++++++++++++++++
 app-text/poppler/poppler-9999.ebuild    |   2 +-
 3 files changed, 160 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2025-02-10 20:11:55 UTC
The bug has been closed via the following commit(s):

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

commit 97d8345d581f542c0b7c4903de1c7b777cb32d49
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-02-10 20:06:21 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-02-10 20:11:37 +0000

    app-office/scribus: Fix build w/ >=pp-text/poppler-25.02.0
    
    Closes: https://bugs.gentoo.org/949396
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/scribus-1.7.0-poppler-25.02.0.patch      | 162 +++++++++++++++++++++
 app-office/scribus/scribus-1.7.0.ebuild            |   1 +
 2 files changed, 163 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2025-03-07 13:16:22 UTC
The bug has been referenced in the following commit(s):

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

commit c4dffa52a89a3614a5bc0401576d3ee7769e6f78
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-03-07 13:11:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-03-07 13:16:08 +0000

    app-office/scribus: Fix build w/ >=app-text/poppler-25.02.0
    
    Bug: https://bugs.gentoo.org/949396
    Bug: https://bugs.gentoo.org/950281
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/scribus-1.6.3-poppler-25.02.0.patch      | 186 +++++++++++++++++++++
 app-office/scribus/scribus-1.6.3.ebuild            |   1 +
 2 files changed, 187 insertions(+)