Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 901243 - net-print/cups-filters-1.28.17-r1: filter/pdftoraster.cxx ISO C++17 does not allow dynamic exception specifications
Summary: net-print/cups-filters-1.28.17-r1: filter/pdftoraster.cxx ISO C++17 does not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-14 20:42 UTC by psh0r
Modified: 2023-03-14 23:16 UTC (History)
1 user (show)

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


Attachments
build log (build.log,364.09 KB, text/x-log)
2023-03-14 20:43 UTC, psh0r
Details
emerge --info (emerge--info.txt,17.28 KB, text/plain)
2023-03-14 20:44 UTC, psh0r
Details
emerge -pqv (emerge-pqv.txt,146 bytes, text/plain)
2023-03-14 20:44 UTC, psh0r
Details

Note You need to log in before you can comment on or make changes to this bug.
Description psh0r 2023-03-14 20:42:16 UTC
Happens with default/linux/amd64/17.1/clang profile


Reproducible: Always

Steps to Reproduce:
emerge -1 cups-filters
Actual Results:  

 * ERROR: net-print/cups-filters-1.28.17-r1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-print/cups-filters-1.28.17-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-print/cups-filters-1.28.17-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/work/cups-filters-1.28.17'
 * S: '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/work/cups-filters-1.28.17'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (net-print/cups-filters-1.28.17-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-print/cups-filters-1.28.17-r1/temp/build.log'
 *

Expected Results:  
Emerged successfully.
Comment 1 psh0r 2023-03-14 20:43:40 UTC
Created attachment 857739 [details]
build log
Comment 2 psh0r 2023-03-14 20:44:02 UTC
Created attachment 857741 [details]
emerge --info
Comment 3 psh0r 2023-03-14 20:44:25 UTC
Created attachment 857743 [details]
emerge -pqv
Comment 4 psh0r 2023-03-14 21:19:26 UTC

*** This bug has been marked as a duplicate of bug 898076 ***
Comment 5 psh0r 2023-03-14 22:18:19 UTC
net-print/cups-filters-1.28.17 compiles just fine. The change from -std=c++11 to -std=c++17 breaks the build fore me.
Comment 6 Larry the Git Cow gentoo-dev 2023-03-14 22:46:42 UTC
The bug has been closed via the following commit(s):

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

commit c79a0e06a7be1a76ec0368168cafdcf708b977b7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-14 22:45:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-14 22:46:19 +0000

    net-print/cups-filters: fix build w/ C++17
    
    Closes: https://bugs.gentoo.org/898076
    Closes: https://bugs.gentoo.org/901243
    Signed-off-by: Sam James <sam@gentoo.org>

 .../cups-filters/cups-filters-1.28.17-r1.ebuild    |  4 +++
 .../files/cups-filters-1.28.17-c++17.patch         | 31 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-14 22:47:11 UTC
(In reply to psh0r from comment #5)
> net-print/cups-filters-1.28.17 compiles just fine. The change from
> -std=c++11 to -std=c++17 breaks the build fore me.

Thanks, but in future, please don't repeat the same comment on 3 different bugs.
Comment 8 psh0r 2023-03-14 22:57:14 UTC
(In reply to Sam James from comment #7)
> (In reply to psh0r from comment #5)
> > net-print/cups-filters-1.28.17 compiles just fine. The change from
> > -std=c++11 to -std=c++17 breaks the build fore me.
> 
> Thanks, but in future, please don't repeat the same comment on 3 different
> bugs.

Thanks for the fix, so better just write something like see also bug 898076, comment 9?

Or just adding the other bug in the header as "See Also"?

I was just understanding how things are related here while reading through the different bugs...
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-14 23:03:31 UTC
(In reply to psh0r from comment #8)
> (In reply to Sam James from comment #7)
> > (In reply to psh0r from comment #5)
> > > net-print/cups-filters-1.28.17 compiles just fine. The change from
> > > -std=c++11 to -std=c++17 breaks the build fore me.
> > 
> > Thanks, but in future, please don't repeat the same comment on 3 different
> > bugs.
> 
> Thanks for the fix, so better just write something like see also bug 898076,
> comment 9?

Yeah, I think so. It's okay to add things to See Also and also comment as a ping if needed, but in this case, I'd spotted you added the See Also and already went to go look at this bug (bug 901243).

> 
> Or just adding the other bug in the header as "See Also"?

So, what I'd do is:
1. Add to See Also
2. Maybe note in one of the See Also'd bugs if you get no attention

> 
> I was just understanding how things are related here while reading through
> the different bugs...

Not telling you off, I promise, just a note for future :)

Thanks for spotting this!