Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 22:51:33 GMT
From:      Thomas Schweikle <tps@vr-web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/190039: "portsdb -U" fails because "gcc --version" fails -- command not found
Message-ID:  <201405202251.s4KMpX6A066394@cgiserv.freebsd.org>
Resent-Message-ID: <201405202300.s4KN01QB001528@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190039
>Category:       misc
>Synopsis:       "portsdb -U" fails because "gcc --version" fails -- command not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 23:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Schweikle
>Release:        FreeBSD 11.0-CURRENT
>Organization:
>Environment:
FreeBSD fbsd12-64.bfs.de 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r266456: Tue May 20 05:20:46 CEST 2014     root@fbsd11-64.bfs.de:/usr/obj/usr/src/sys/FBSD11-64  amd64
>Description:
--- describe.deskutils ---
--- describe.devel ---
--- describe.dns ---
--- describe.editors ---
--- describe.emulators ---
--- describe.finance ---
--- describe.devel ---
/usr/bin/gcc: not found
make[5]: "/usr/share/mk/bsd.compiler.mk" line 24: warning: "/usr/bin/gcc --version" returned non-zero status
mingw32-gcc: not found
make[5]: "/usr/share/mk/bsd.compiler.mk" line 24: warning: "mingw32-gcc --version" returned non-zero status
make[5]: "/usr/share/mk/bsd.compiler.mk" line 37: Unable to determine compiler type for mingw32-gcc.  Consider setting COMPILER_TYPE.
===> devel/mingw32-libffi failed
*** [describe.devel] Error code 1

make[2]: stopped in /usr/ports
1 error

make[2]: stopped in /usr/ports

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections.
If that is the case, then
report the failure to ports@FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and OPTIONS_SET/UNSET settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".
********************************************************************

*** Error code 1

Stop.
make[1]: stopped in /usr/ports
*** Error code 1

Stop.
make: stopped in /usr/ports
failed to generate INDEX!
portsdb: index generation error
root@fbsd12-64:~ # /usr/bin/gcc --version
/usr/bin/gcc: Command not found.

>How-To-Repeat:
update to latest ports, then "portsdb -U" to rebuild the index
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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