Summary: | media-libs/zxing-cpp-1.1.1: /var/tmp/portage/media-libs/zxing-cpp-1.1.1/work/zxing-cpp-1.1.1/core/src/Pattern.h:210:54: error: ‘numeric_limits’ is not a member of ‘std’ (Package fails to compile due to GCC 11.1.0) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Willian Richard <willianrichard.oficial> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | https://github.com/nu-book/zxing-cpp/commit/427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | media-libs/zxing-cpp-1.1.1 build log as requested. |
Description
Willian Richard
2021-05-01 22:16:06 UTC
Please attach the full build.log. Created attachment 705081 [details]
media-libs/zxing-cpp-1.1.1 build log as requested.
This machine uses GCC 11.1.0
(In reply to Sam James from comment #1) > Please attach the full build.log. Attached as requested. Please test. (In reply to Andreas Sturmlechner from comment #4) > Please test Sorry, still doesn't build. Do I have to pull the patch in manually? (In reply to Willian Richard from comment #5) > (In reply to Andreas Sturmlechner from comment #4) > > Please test > > Sorry, still doesn't build. > > Do I have to pull the patch in manually? Yes, you need to put it in /etc/portage/patches to test. (In reply to Sam James from comment #6) > (In reply to Willian Richard from comment #5) > > (In reply to Andreas Sturmlechner from comment #4) > > > Please test > > > > Sorry, still doesn't build. > > > > Do I have to pull the patch in manually? > > Yes, you need to put it in /etc/portage/patches to test. Sorry,this is my first bug report and I'm not a developer... How can I do that? (In reply to Willian Richard from comment #7) > (In reply to Sam James from comment #6) > > (In reply to Willian Richard from comment #5) > > > (In reply to Andreas Sturmlechner from comment #4) > > > > Please test > > > > > > Sorry, still doesn't build. > > > > > > Do I have to pull the patch in manually? > > > > Yes, you need to put it in /etc/portage/patches to test. > > Sorry,this is my first bug report and I'm not a developer... > How can I do that? No problem, have a look here: https://wiki.gentoo.org/wiki//etc/portage/patches#Adding_user_patches. All you need to do is put the patch in that folder, like /etc/portage/patches/media-libs/zxing-cpp/test-gcc11.patch. When you build it again, you should see "User patches applied". If it works (or not), let us know, and we can possibly include it in the real Gentoo tree. Once it's included, you'll need to remove the file you added so it doesn't get applied twice. (In reply to Sam James from comment #8) > (In reply to Willian Richard from comment #7) > > (In reply to Sam James from comment #6) > > > (In reply to Willian Richard from comment #5) > > > > (In reply to Andreas Sturmlechner from comment #4) > > > > > Please test > > > > > > > > Sorry, still doesn't build. > > > > > > > > Do I have to pull the patch in manually? > > > > > > Yes, you need to put it in /etc/portage/patches to test. > > > > Sorry,this is my first bug report and I'm not a developer... > > How can I do that? > > No problem, have a look here: > https://wiki.gentoo.org/wiki//etc/portage/patches#Adding_user_patches. All > you need to do is put the patch in that folder, like > /etc/portage/patches/media-libs/zxing-cpp/test-gcc11.patch. > > When you build it again, you should see "User patches applied". If it works > (or not), let us know, and we can possibly include it in the real Gentoo > tree. > > Once it's included, you'll need to remove the file you added so it doesn't > get applied twice. No no, I did understand I have to put the .patch file in that folder, however, I tried applying it and it gave me a "warning: only garbage was found in the patch input." Which part of the code in github should I copy into the patch file for it to work? (In reply to Willian Richard from comment #9) > Which part of the code in github should I copy into the patch file for it to > work? Append .patch to the URL, so: wget https://github.com/nu-book/zxing-cpp/commit/427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc.patch -O /etc/portage/patches/media-libs/zxing-cpp/gcc11.patch (In reply to Sam James from comment #10) > (In reply to Willian Richard from comment #9) > > Which part of the code in github should I copy into the patch file for it to > > work? > > Append .patch to the URL, so: > wget > https://github.com/nu-book/zxing-cpp/commit/ > 427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc.patch -O > /etc/portage/patches/media-libs/zxing-cpp/gcc11.patch Reportingm success, bug is fixed and can now be closed. (In reply to Willian Richard from comment #11) > (In reply to Sam James from comment #10) > > (In reply to Willian Richard from comment #9) > > > Which part of the code in github should I copy into the patch file for it to > > > work? > > > > Append .patch to the URL, so: > > wget > > https://github.com/nu-book/zxing-cpp/commit/ > > 427e814ebcfd2e55e1c18531b7e4aa9d6a1ca6fc.patch -O > > /etc/portage/patches/media-libs/zxing-cpp/gcc11.patch > > Reportingm success, bug is fixed and can now be closed. Can't be closed until we include it in the main tree ;) Thanks for letting us know! Thanks for testing! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a78e7f1bfd34a0f1ac7710725077999c06805e0 commit 2a78e7f1bfd34a0f1ac7710725077999c06805e0 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-05-02 07:28:41 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-05-02 07:28:55 +0000 media-libs/zxing-cpp: Fix build with GCC-11 Closes: https://bugs.gentoo.org/787560 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../zxing-cpp/files/zxing-cpp-1.1.1-gcc11.patch | 22 ++++++++++++++++++++++ media-libs/zxing-cpp/zxing-cpp-1.1.1.ebuild | 4 +++- 2 files changed, 25 insertions(+), 1 deletion(-) |