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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
: 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: ---


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

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
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
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-29 09:54:35 UTC
Created attachment 703806 [details]
build.log

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. https://sourceforge.net/p/veracrypt/discussion/general/thread/63b2b2ebb9/?limit=25#08e7
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):

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(-)