Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 786651

Summary: app-crypt/johntheripper-jumbo-1.9.0-r1 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: creideiki+gentoo-bugzilla, dschridde+gentoobugs, gmt, phantom4, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-04-29 06:00:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/johntheripper-jumbo-1.9.0-r1 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 06:00:03 UTC
Created attachment 703545 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-29 06:00:05 UTC
Possible context of error(s):

blake2.h:112:5: error: size of array element is not a multiple of its alignment
Comment 3 Greg Turner 2021-06-08 04:38:19 UTC
https://github.com/openwall/john/commit/8152ac071bce1ebc98fac6bed962e90e9b92d8cf.patch applies if put in /etc/portage/patches and seems to resolve this.
Comment 4 Larry the Git Cow gentoo-dev 2021-06-25 19:32:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e2367203f61eb544373ea641a70b68aea579a0

commit f7e2367203f61eb544373ea641a70b68aea579a0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-25 02:08:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-25 19:31:50 +0000

    app-crypt/johntheripper-jumbo: add virtual/libcrypt dependency, fix gcc 11
    
    Needed for upcoming libxcrypt migration.
    
    Closes: https://bugs.gentoo.org/786651
    Acked-by: David Seifert <soap@gentoo.org>
    Reported-by: John Helmert III <ajak@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/johntheripper-jumbo-1.9.0-gcc11.patch    | 53 ++++++++++++++++++++++
 ....ebuild => johntheripper-jumbo-1.9.0-r3.ebuild} | 10 ++--
 .../johntheripper-jumbo-9999.ebuild                |  5 +-
 3 files changed, 63 insertions(+), 5 deletions(-)