Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786741 - app-crypt/veracrypt-1.24_p8 fails to compile with gcc-11
Summary: app-crypt/veracrypt-1.24_p8 fails to compile with gcc-11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
: 792951 (view as bug list)
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-04-29 09:54 UTC by Agostino Sarubbo
Modified: 2021-08-01 20:41 UTC (History)
3 users (show)

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

build.log (build.log,166.31 KB, text/plain)
2021-04-29 09:54 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-29 09:54:32 UTC

Issue: app-crypt/veracrypt-1.24_p8 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-29 09:54:35 UTC
Created attachment 703806 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-29 09:54:37 UTC
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
Comment 3 Ionen Wolkens gentoo-dev 2021-05-30 21:56:46 UTC
*** Bug 792951 has been marked as a duplicate of this bug. ***
Comment 4 Michel Boaventura 2021-06-29 22:24:42 UTC
Seems like VeraCrypt has a type 'byte' and gcc-11 also added a std:byte causing a conflict.
Comment 5 Larry the Git Cow gentoo-dev 2021-08-01 20:41:33 UTC
The bug has been closed via the following commit(s):

commit 239adf34dfb7ac62bd6d118e4909b05386c3a770
Author:     David Seifert <>
AuthorDate: 2021-08-01 20:41:07 +0000
Commit:     David Seifert <>
CommitDate: 2021-08-01 20:41:07 +0000

    app-crypt/veracrypt: Fix build with GCC 11
    Signed-off-by: David Seifert <>

 app-crypt/veracrypt/veracrypt-1.24_p8.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)