Bug 179507 - devel/kBuild won't compile on current
Summary: devel/kBuild won't compile on current
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Bartek Rutkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 09:00 UTC by kalentzidis Petros
Modified: 2016-01-01 17:06 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kalentzidis Petros 2013-06-12 09:00:00 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-06-17 00:39:15 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-06-17 00:39:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 stefanidisgeorge 2013-07-09 10:11:10 UTC
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
Comment 4 kalentzidis Petros 2013-07-13 10:36:17 UTC
The reinstallation of the above ports does not resolve the error. How can I pass the âM or âMM to cc1?
PS: Ports and World are all up to date ...........
Comment 5 Oleg Sidorkin 2013-11-10 11:00:56 UTC
Hello.
Do you have ccache installed? Deinstallation of ccache fixed the same problem 
for me.
Comment 6 Emanuel Haupt 2014-03-15 08:14:09 UTC
Are you using ccache? I had the same issue. After I've disabled ccache 
the port built just fine.

Emanuel
Comment 7 Bartek Rutkowski freebsd_committer freebsd_triage 2016-01-01 17:06:27 UTC
Since there was no activity on this PR for almost a year and I've tested the kBuild-0.1.9998_3 on all supported systems (9.3, 10.2 11-C, i386 and amd64) I am closing it.