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

Bug 745327

Summary: app-crypt/hashcat-6.0.0-r1 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20836
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-29 05:47:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/hashcat-6.0.0-r1 calls cc directly.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-29 05:47:30 UTC
Created attachment 663013 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-09-29 05:47:32 UTC
Possible context of error(s):

gcc: error: unrecognized command-line option ‘-rtlib=compiler-rt’
Comment 3 Larry the Git Cow gentoo-dev 2021-05-18 15:12:05 UTC
The bug has been closed via the following commit(s):

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

commit c498c9ba984eabf60d4cbf3a1064353a3804db19
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-16 03:47:31 +0000
Commit:     Rick Farina <zerochaos@gentoo.org>
CommitDate: 2021-05-18 15:12:04 +0000

    app-crypt/hashcat: add 6.2.1
    
    * Bump to 6.2.1
    * Respect CC, CXX, AR
    * Style changes to make it easier to read argument lists to (e)make
    * Ostensibly support prefix
    * Debundling
    ** Use system zlib (and minizip)
    ** Use system unrar
    ** Cannot use system lzma for now as the ebuild doesn't install all of
      the necessary files
    
    Closes: https://bugs.gentoo.org/745327
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Rick Farina <zerochaos@gentoo.org>

 app-crypt/hashcat/Manifest             |   1 +
 app-crypt/hashcat/hashcat-6.2.1.ebuild | 107 +++++++++++++++++++++++++++++++++
 app-crypt/hashcat/hashcat-9999.ebuild  |  53 +++++++++++++---
 3 files changed, 152 insertions(+), 9 deletions(-)