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.
Created attachment 857739 [details] build log
Created attachment 857741 [details] emerge --info
Created attachment 857743 [details] emerge -pqv
*** This bug has been marked as a duplicate of bug 898076 ***
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.
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(+)
(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.
(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...
(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!