Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2010 15:23:35 GMT
From:      Ryan Steinmetz <rpsfa@rit.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147473: emulators/vmware-guestd6 fails to install with ESX vmware tools
Message-ID:  <201006041523.o54FNZ7E051507@www.freebsd.org>
Resent-Message-ID: <201006041530.o54FU7xD020571@freefall.freebsd.org>

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

>Number:         147473
>Category:       ports
>Synopsis:       emulators/vmware-guestd6 fails to install with ESX vmware tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 04 15:30:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        FreeBSD 7.2
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD xxx.rit.edu 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #2: Wed Apr  7 19:18:35 UTC 2010     root@xxx.rit.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Under ESX4/ESXi4, vmmemctl.ko ends up under $WORKDIR instead of $WORKDIR/vmmemctl-only, which causes the port to fail to install.

vmware-guestd depends on libdnet, which is not listed as a dependency so it fails to start without libdnet.

The other two changes to the Makefile (WITH_VMWARE_GTK and RESTRICTED) are to make portlint happier.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/emulators/vmware-guestd6/Makefile vmware-guestd6/Makefile
--- /usr/ports/emulators/vmware-guestd6/Makefile	2009-01-05 19:44:00.000000000 +0000
+++ vmware-guestd6/Makefile	2010-06-04 15:14:48.000000000 +0000
@@ -16,6 +16,7 @@
 MAINTAINER=	matusita@FreeBSD.org
 COMMENT?=VMware guest OS supporting daemon (VMware Workstation 6.x, FreeBSD version)
 
+LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet
 .if defined(VMWARE_X_PORTS)
 RUN_DEPENDS=	${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd6
 .endif
@@ -29,7 +30,7 @@
 IS_INTERACTIVE=	yes
 .endif
 
-RESTRICTED=	"Not sure if we can redistribute this."
+RESTRICTED=	Not sure if we can redistribute this.
 NO_PACKAGE=	${RESTRICTED}
 
 VMWARE_VER=	6.0.3
@@ -43,7 +44,7 @@
 USE_XORG=	x11
 NO_BUILD=	yes
 .if ${ARCH} == amd64
-WITH_VMWARE_GTK= yes
+WITH_VMWARE_GTK=yes
 PLIST_SUB+=	INSTALLXTCLTOOL="@comment "
 .else
 PLIST_SUB+=	INSTALLXTCLTOOL=""
@@ -192,7 +193,7 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-checkvm ${PREFIX}/sbin
 .if defined(WITH_VMWARE_VMMEMCTL)
 	${MKDIR} ${VMWARE_KMODDIR}
-	${INSTALL_KLD} ${WRKDIR}/vmmemctl-only/vmmemctl.ko ${VMWARE_KMODDIR}
+	${INSTALL_KLD} ${WRKDIR}/vmmemctl.ko ${VMWARE_KMODDIR}
 .endif
 .if defined(WITH_VMWARE_VMXNET)
 	${MKDIR} ${VMWARE_KMODDIR}


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



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