Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2016 22:33:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215184] security/hashcat-legacy: hard-coded gcc can cause build failure
Message-ID:  <bug-215184-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215184

            Bug ID: 215184
           Summary: security/hashcat-legacy: hard-coded gcc can cause
                    build failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: z7dr6ut7gs@snkmail.com
                CC: lifanov@mail.lifanov.com
             Flags: maintainer-feedback?(lifanov@mail.lifanov.com)
                CC: lifanov@mail.lifanov.com

If you have lang/gccXY installed, but not lang/gcc, currently there is no
/usr/local/bin/gcc.  If you are on FreeBSD 10 or later, there is also no
/usr/bin/gcc by default.  But the hashcat-legacy-2.00/src/Makefile hard-cod=
es
the compiler to gcc (or some other spellings if you're cross-compiling to
windows for instance) instead of referring to ${CC} that the ports
infrastructure defines.

The result:

=3D=3D=3D>   hashcat-legacy-2.00_1 depends on executable: gmake - found
=3D=3D=3D>   Returning to build of hashcat-legacy-2.00_1
=3D=3D=3D>   hashcat-legacy-2.00_1 depends on executable: gcc46 - found
=3D=3D=3D>   hashcat-legacy-2.00_1 depends on file: /usr/local/bin/as - fou=
nd
=3D=3D=3D>   hashcat-legacy-2.00_1 depends on shared library: libgmp.so - f=
ound
(/usr/local/lib/libgmp.so)
=3D=3D=3D>  Configuring for hashcat-legacy-2.00_1
=3D=3D=3D>  Building for hashcat-legacy-2.00_1
gmake[1]: Entering directory
'/wrkdirs/usr/ports/security/hashcat-legacy/work/hashcat-legacy-2.00'
gcc -W -Wall -pipe -I include/ -O2 -s -fomit-frame-pointer -funroll-loops
-I/opt/hashcat-deps/gmp/linux64/include -D__HC_x86_64__ -DPOSIX -m64 -msse2=
 -c
src/common.c -o obj/common.LINUX.64.o
gmake[1]: gcc: Command not found
gmake[1]: *** [src/Makefile:190: obj/common.LINUX.64.o] Error 127
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/hashcat-legacy/work/hashcat-legacy-2.00'
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215184-13>