https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-crypt/veracrypt-1.24_p8 fails to compile with gcc-11. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Created attachment 703806 [details] build.log build log and emerge --info
Possible context of error(s): /var/tmp/portage/app-crypt/veracrypt-1.24_p8/work/VeraCrypt-VeraCrypt_1.24-Update8_MacOSX/src/Crypto/Twofish.h:58:62: error: reference to ‘byte’ is ambiguous
*** Bug 792951 has been marked as a duplicate of this bug. ***
Seems like VeraCrypt has a type 'byte' and gcc-11 also added a std:byte causing a conflict. https://sourceforge.net/p/veracrypt/discussion/general/thread/63b2b2ebb9/?limit=25#08e7
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239adf34dfb7ac62bd6d118e4909b05386c3a770 commit 239adf34dfb7ac62bd6d118e4909b05386c3a770 Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-08-01 20:41:07 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-08-01 20:41:07 +0000 app-crypt/veracrypt: Fix build with GCC 11 Closes: https://bugs.gentoo.org/786741 Signed-off-by: David Seifert <soap@gentoo.org> app-crypt/veracrypt/veracrypt-1.24_p8.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)