From nobody@FreeBSD.org  Wed Jun 12 07:51:59 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id BE873C8
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Jun 2013 07:51:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 97E1617DC
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Jun 2013 07:51:59 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5C7pxCV080451
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Jun 2013 07:51:59 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5C7pxwo080444;
	Wed, 12 Jun 2013 07:51:59 GMT
	(envelope-from nobody)
Message-Id: <201306120751.r5C7pxwo080444@oldred.freebsd.org>
Date: Wed, 12 Jun 2013 07:51:59 GMT
From: kalentzidis Petros <kapetros@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/kBuild won't compile on current
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         179507
>Category:       ports
>Synopsis:       devel/kBuild won't compile on current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vbox
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 12 08:00:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sat Mar 15 08:20:00 UTC 2014
>Originator:     kalentzidis Petros
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD freeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251615: Tue Jun 11 13:49:26 EEST 2013     phantom@freeBSD:/usr/obj/usr/src/sys/pk_generic  amd64
>Description:
When trying to install devel/kBuild, I am getting the following error :

kmk: Entering directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
kBuild: Pass - Build Programs
kBuild: Pass - Libraries
kBuild: Compiling kDep - /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c
kBuild: Compiling kUtil - /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/crc32.c
cc1: error: to generate dependencies you must specify either -M or -MM
kmk: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o] Error 1
The failing command:
@gcc -c -O2 -g -O3 -m64 -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/glob -I/usr/local/include -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1 -DKBUILD_VERSION_PATCH=9998 -DKBUILD_OS_FREEBSD -DKBUILD_ARCH_AMD64 -DNDEBUG -Wp,-MD,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o.dep -Wp,-MT,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o -Wp,-MP -o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/crc32.c
kmk: *** Waiting for unfinished jobs....
cc1: error: to generate dependencies you must specify either -M or -MM
kmk: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o] Error 1
The failing command:
@gcc -c -O2 -g -O3 -m64 -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/glob -I/usr/local/include -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1 -DKBUILD_VERSION_PATCH=9998 -DKBUILD_OS_FREEBSD -DKBUILD_ARCH_AMD64 -DNDEBUG -Wp,-MD,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o.dep -Wp,-MT,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o -Wp,-MP -o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c
kmk: Leaving directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
kmk: Entering directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998'
kmk: *** Exiting with status 2
gmake: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build] Error 2
./kBuild/env.sh: info: rc=2: gmake -f bootstrap.gmk
*** Error code 2

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jun 16 23:39:15 UTC 2013 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179507 
Responsible-Changed-From-To: freebsd-ports-bugs->vbox 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 16 23:39:34 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=179507 

From: George Stefanidis <stefanidisgeorge@gmail.com>
To: bug-followup@FreeBSD.org, kapetros@gmail.com
Cc:  
Subject: Re: ports/179507: devel/kBuild won&#39;t compile on current
Date: Tue, 9 Jul 2013 12:11:10 +0300

 --089e0160bd0ec934a404e1108a6c
 Content-Type: text/plain; charset=UTF-8
 
 Try installing
 
    1. textproc/flex <http://www.freshports.org/textproc/flex/>
    2. devel/gmake <http://www.freshports.org/devel/gmake/>
    3. devel/automake <http://www.freshports.org/devel/automake/>
    4. devel/autoconf <http://www.freshports.org/devel/autoconf/>
 
 
 
 -- 
 DE SV2QLO
 geo_stef
 George Stefanidis
 
 --089e0160bd0ec934a404e1108a6c
 Content-Type: text/html; charset=UTF-8
 
 <div dir="ltr">Try installing <br><ol class="" id="requiredtobuild"><li><a href="http://www.freshports.org/textproc/flex/">textproc/flex</a></li><li><a href="http://www.freshports.org/devel/gmake/">devel/gmake</a></li><li>
 <a href="http://www.freshports.org/devel/automake/">devel/automake</a></li><li><a href="http://www.freshports.org/devel/autoconf/">devel/autoconf</a></li></ol><br clear="all"><div><br>-- <br>DE SV2QLO<br>geo_stef<br>George Stefanidis
 </div></div>
 
 --089e0160bd0ec934a404e1108a6c--

From: "Kalentzidis Petros" <kapetros@gmail.com>
To: <bug-followup@FreeBSD.org>,
	<kapetros@gmail.com>
Cc:  
Subject: Re: ports/179507: devel/kBuild won&#39;t compile on current
Date: Sat, 13 Jul 2013 12:36:17 +0300

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0000_01CE7FC5.922A8CB0
 Content-Type: text/plain;
 	charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 
 The reinstallation of the above ports does not resolve the error. How =
 can I pass the =E2=80=93M or =E2=80=93MM to cc1?
 PS: Ports and World are all up to date ...........
 ------=_NextPart_000_0000_01CE7FC5.922A8CB0
 Content-Type: text/html;
 	charset="utf-8"
 Content-Transfer-Encoding: quoted-printable
 
 <HTML><HEAD></HEAD>
 <BODY dir=3Dltr>
 <DIV dir=3Dltr>
 <DIV style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
 <DIV>The reinstallation of the above ports does not resolve the error. =
 How can I=20
 pass the =E2=80=93M or =E2=80=93MM to cc1?</DIV>
 <DIV>PS: Ports and World are all up to date=20
 ...........</DIV></DIV></DIV></BODY></HTML>
 
 ------=_NextPart_000_0000_01CE7FC5.922A8CB0--
 

From: Oleg Sidorkin <osidorkin@gmail.com>
To: bug-followup@freebsd.org, kapetros@gmail.com
Cc:  
Subject: Re: ports/179507: devel/kBuild won&#39;t compile on current
Date: Sun, 10 Nov 2013 15:00:56 +0400

 Hello.
 Do you have ccache installed? Deinstallation of ccache fixed the same problem 
 for me.

From: Emanuel Haupt <ehaupt@critical.ch>
To: bug-followup@FreeBSD.org, kapetros@gmail.com
Cc:  
Subject: Re: ports/179507: devel/kBuild won&#39;t compile on current
Date: Sat, 15 Mar 2014 09:14:09 +0100

 Are you using ccache? I had the same issue. After I've disabled ccache 
 the port built just fine.
 
 Emanuel
>Unformatted:
