Summary: | emulators/kqemu-kmod fails to build on 10.0 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Alex Wied <freebsd> |
Component: | Individual Port(s) | Assignee: | Juergen Lock <nox> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Alex Wied
2013-12-19 03:40:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->nox Over to maintainer (via the GNATS Auto Assign Tool) Author: nox Date: Sat Jan 11 22:03:26 2014 New Revision: 339459 URL: http://svnweb.freebsd.org/changeset/ports/339459 Log: Mark BROKEN on 10+: KPI changes in 10 and up, use bhyve or vbox. (If someone wants to fix it: patches welcome! :) PR: ports/184984 Submitted by: Alex <alex323@gmail.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 Sat Jan 11 21:37:10 2014 (r339458) +++ head/emulators/kqemu-kmod-devel/Makefile Sat Jan 11 22:03:26 2014 (r339459) @@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu NO_STAGE= yes USES= kmod + .include <bsd.port.pre.mk> PORTDOCS= kqemu-doc.html kqemu-tech.html @@ -42,7 +43,7 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd -MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} +MAKE_ARGS+= LDFLAGS="${LDFLAGS:S/^-Wl,//}" .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 @@ -50,6 +51,11 @@ GMAKE_ARGS+= ARCH=x86_64 CFLAGS+= ${DEBUG_FLAGS} +# Not sure about the exact OSVERSION: +.if ${OSVERSION} > 1000015 +BROKEN= KPI changes in 10 and up, use bhyve or vbox +.endif + post-patch: # Apply extra patches from the qemu-devel list; in the unlikely case that # these cause regressions please define WITHOUT_EXTRA_PATCHES and post Modified: head/emulators/kqemu-kmod/Makefile ============================================================================== --- head/emulators/kqemu-kmod/Makefile Sat Jan 11 21:37:10 2014 (r339458) +++ head/emulators/kqemu-kmod/Makefile Sat Jan 11 22:03:26 2014 (r339459) @@ -31,6 +31,7 @@ USE_RC_SUBR= kqemu NO_STAGE= yes USES= kmod + .include <bsd.port.pre.mk> PORTDOCS= kqemu-doc.html kqemu-tech.html @@ -42,7 +43,7 @@ PLIST_FILES+= "@cwd" MAKEFILE= Makefile.freebsd -MAKE_ARGS+= LDFLAGS=${LDFLAGS:S/^-Wl,//} +MAKE_ARGS+= LDFLAGS="${LDFLAGS:S/^-Wl,//}" .if ${ARCH} == "amd64" GMAKE_ARGS+= ARCH=x86_64 @@ -50,6 +51,11 @@ GMAKE_ARGS+= ARCH=x86_64 CFLAGS+= ${DEBUG_FLAGS} +# Not sure about the exact OSVERSION: +.if ${OSVERSION} > 1000015 +BROKEN= KPI changes in 10 and up, use bhyve or vbox +.endif + post-patch: @${REINPLACE_CMD} -e '/CC=/s,gcc,${CC},' ${WRKSRC}/common/Makefile _______________________________________________ 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" Hello, Is there any way I could be added to the mailing lists of pr ports/184984 (or the appropriate bug if it has a new standing) I have gotten past the compiler issue that was originally reported; but I'm hitting a new issue, "Exec format error" tried with both kqemu-kmod and kqemu-kmod-devel, using a portsnap from yesterday. I don't know if this is worthy of a new bug, as its priority as already low and the package is marked as broken. root@workstation:/usr/ports/emulators/kqemu-kmod # kldload /boot/modules/kqemu.ko kldload: can't load /boot/modules/kqemu.ko: Exec format error root@workstation:/usr/ports/emulators/kqemu-kmod # file /boot/modules/kqemu.ko /boot/modules/kqemu.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped root@workstation:/usr/ports/emulators/kqemu-kmod # uname -rp 10.0-RELEASE amd64 I've found a variety of historic threads when searching " http://osdir.com/ml/freebsd-ports-bugs/2009-02/msg00694.html http://mailing.freebsd.ports-bugs.narkive.com/kYJsaffB/ports-131603-patch-emulators-kqemu-kmod-devel-unit2minor ---- No I can not use bhyve instead, as it is not designed for pre-nehalem VT-x enabled Xeons with no EPT. Thanks, Nick Nolan On Fri, Mar 14, 2014 at 03:10:04PM +0000, nick.nolan@comcast.net wrote: > I've found a variety of historic threads when searching " > http://osdir.com/ml/freebsd-ports-bugs/2009-02/msg00694.html > http://mailing.freebsd.ports-bugs.narkive.com/kYJsaffB/ports-131603-patch-emulators-kqemu-kmod-devel-unit2minor > Yeah that's an older update, this time around the problem is more tricky. You might be interested in this -virtualization thread: http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-February/002236.html (you can pass the raw email from mid.cgi to mutt -f to extract the patch: http://docs.freebsd.org/cgi/mid.cgi?CAExw994XswAp4yOVK54VTOg8Zy54sqAzxMNtUds1TJRiTnwisQ ) According to the patch author it still isn't complete but maybe it still helps you... Good luck, :) Juergen A commit references this bug: Author: nox Date: Sat Sep 20 09:51:05 UTC 2014 New revision: 368631 URL: http://svnweb.freebsd.org/changeset/ports/368631 Log: - Finally import syrinx' fix for 10.0+, it seems to work no worse than kqemu worked before. [1] - Fix build on 10/i386. PR: 184984 [1] Submitted by: syrinx [1] Changes: head/emulators/kqemu-kmod-devel/Makefile head/emulators/kqemu-kmod-devel/files/patch-z-common-kernel.c head/emulators/kqemu-kmod-devel/files/patch-z-kqemu-freebsd.c Fix committed. Thanks! |