Bug 177279 - emulators/kqemu-kmod-devel does not compile
Summary: emulators/kqemu-kmod-devel does not compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Juergen Lock
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 20:00 UTC by Beeblebrox
Modified: 2013-03-30 08:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beeblebrox 2013-03-22 20:00:00 UTC
compile breaks with below message. All options in make.conf were disabled for the debug (no ccache, make_jobs, cflags, etc)

===>   FreeBSD 10 autotools fix applied to /usr/obj/asp/ports/emulators/kqemu-kmod-devel/work/kqemu-1.4.0pre1/configure
Source path       /usr/obj/asp/ports/emulators/kqemu-kmod-devel/work/kqemu-1.4.0pre1
C compiler        cc
Host C compiler   gcc
make              gmake
host CPU          x86_64
===>  Building for kqemu-kmod-devel-1.4.0.p1_5
@ -> /asp/src/sys
machine -> /asp/src/sys/amd64/include
x86 -> /asp/src/sys/x86/include
gcc -Wall -O2 -Werror -g -D__KERNEL__ -I.. -o genoffsets genoffsets.c
gmake: gcc: Command not found
gmake: *** [genoffsets] Error 127
*** [do-build] Error code 2

Fix: 

NA
How-To-Repeat: make emulators/kqemu-kmod-devel
Comment 1 Edwin Groothuis freebsd_committer 2013-03-22 20:00:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-03-22 23:01:10 UTC
Author: nox
Date: Fri Mar 22 23:00:58 2013
New Revision: 314973
URL: http://svnweb.freebsd.org/changeset/ports/314973

Log:
  (Attempt to) fix build on head.
  Note: setting CC=clang fails with
  	"interp.c:20:24: error: global register variables are not supported"
  
  PR:		ports/177279
  Submitted by:	Beeblebrox <zaphod@berentweb.com>

Modified:
  head/emulators/kqemu-kmod-devel/Makefile
  head/emulators/kqemu-kmod/Makefile

Modified: head/emulators/kqemu-kmod-devel/Makefile
==============================================================================
--- head/emulators/kqemu-kmod-devel/Makefile	Fri Mar 22 22:38:45 2013	(r314972)
+++ head/emulators/kqemu-kmod-devel/Makefile	Fri Mar 22 23:00:58 2013	(r314973)
@@ -23,6 +23,7 @@ COMMENT=	Kernel Accelerator for QEMU CPU
 ONLY_FOR_ARCHS=	i386 amd64
 HAS_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_GCC=	any
 CONFIGURE_ARGS+=	--prefix=${PREFIX} --cc=${CC}
 CONFLICTS=	kqemu-kmod-[0-9]*
 

Modified: head/emulators/kqemu-kmod/Makefile
==============================================================================
--- head/emulators/kqemu-kmod/Makefile	Fri Mar 22 22:38:45 2013	(r314972)
+++ head/emulators/kqemu-kmod/Makefile	Fri Mar 22 23:00:58 2013	(r314973)
@@ -23,6 +23,7 @@ COMMENT=	Kernel Accelerator for QEMU CPU
 ONLY_FOR_ARCHS=	i386 amd64
 HAS_CONFIGURE=	yes
 USE_GMAKE=	yes
+USE_GCC=	any
 CONFIGURE_ARGS+=	--prefix=${PREFIX} --cc=${CC}
 CONFLICTS=	kqemu-kmod-devel-[0-9]*
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Juergen Lock freebsd_committer 2013-03-30 08:27:58 UTC
State Changed
From-To: open->closed

Fix committed.  Thanx!