Bug 190227 - emulators/virtualbox-ose: virtualbox-ose-4.3.12_1 make install fails
Summary: emulators/virtualbox-ose: virtualbox-ose-4.3.12_1 make install fails
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: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-25 22:40 UTC by kaltheat
Modified: 2014-05-29 20:20 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 kaltheat 2014-05-25 22:40:00 UTC
Hi,


make install fails with these errors on FreeBSD 10.0 amd64 with
these options:
-DBUS -DEBUG -GUESTADDITIONS -MANUAL -NLS -PULSEAUDIO -PYTHON +QT4 -UDPTUNNEL -VDE +VNC -VPX -WEBSERVICE +X11


# make install
===>  Installing for virtualbox-ose-4.3.12_1
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/etc/rc.d/vboxnet - found
===>   virtualbox-ose-4.3.12_1 depends on executable: cdrecord - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xcursor.pc - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/libdata/pkgconfig/xinerama.pc - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtGui.so - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtNetwork.so - found
===>   virtualbox-ose-4.3.12_1 depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found
===>   virtualbox-ose-4.3.12_1 depends on executable: gtk-update-icon-cache - found
===>   virtualbox-ose-4.3.12_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng15.so.15)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so.2)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so.7)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libvncserver.so - found (/usr/local/lib/libvncserver.so.0)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL-1.2.so.11)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so.0)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so.0)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libIDL-2.so - found (/usr/local/lib/libIDL-2.so.0.0.0)
===>   virtualbox-ose-4.3.12_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so.0.3400.1)
===>  Checking if emulators/virtualbox-ose already installed
===>   Registering installation for virtualbox-ose-4.3.12_1
pkg-static: lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/bindings/): No such file or directory
pkg-static: lstat(/usr/ports/emulators/virtualbox-ose/work/stage/usr/local/share/virtualbox-ose/sdk/): No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose

I'm at Revision 354968.

Regards,
kaltheat
Comment 1 kaltheat 2014-05-25 23:15:07 UTC
With python option enabled reported problem does not appear.
Options: -DBUS -DEBUG -GUESTADDITIONS -MANUAL -NLS -PULSEAUDIO +PYTHON +QT4 -UDPTUNNEL -VDE +VNC -VPX -WEBSERVICE +X11
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-29 05:20:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2014-05-29 18:37:39 UTC
Responsible Changed
From-To: vbox->jkim

I'll take it.
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2014-05-29 18:41:35 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://docs.freebsd.org/cgi/mid.cgi?538633E7.70206.

I'm going to commit the fix as soon as I am done with test builds.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTh3FPAAoJEHyflib82/FGf2IIAJ56XQNiBX08/OrJkvi3AAn5
0tXHg+Xy1WV76585RKfck8rvButGM76TcvrsLs6U26E3P/cK7S33V1SUclY1EL9z
wzW0oaj0LNn3mrYgTXRlu+fjQS6dpUtILe9ql7f6r26Ea9Dq1ZKhRETdtEktvBaJ
L51Tf448saM9lxb2lUkif7rtgBMJL65Zs7jDmCefNksWmOIbVo4KAhRJ/XnQk2FC
QB9p+PTEeEVrGot5yEh2lr5prIQk3PViy2iQ4U304Q6hZPfQOduiHU3zMpuoflsD
O387AQY5a6DwxstM09s/Lhpr1f8uFIn/XCx213aRP0bO2DxnkexpPfU5IILNBHs=
=YuB3
-----END PGP SIGNATURE-----
Comment 5 Jung-uk Kim freebsd_committer freebsd_triage 2014-05-29 18:45:08 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, I posted a wrong URL.  This is the right one.

http://docs.freebsd.org/cgi/mid.cgi?5386336C.5000804

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTh3IkAAoJEHyflib82/FGU6oH/RunjZuFE1Q2KMbxz7AoOR0E
097eGSyU2BlCnUKQi3Z+RWxks3VBLPuDDRO/aXkvmkmHFFQT8/0lTK2WhKK1Iq58
873nNrkdpiZGItNOTkPqFhn1PZsiY2FIfjjjeMgD3JqGcfczMCL8B4bp9PqeQjUt
VGOlO1RMagSfLbIlf8Ro6uQShcYyFisraJ70ESpqds/QC/eZSJaHe2pwzwIPsS6A
H9YWco/huv2TS7O1C2/1RD0C3iND4dzXwrdmzKHV79TxynX04dj8AmSCwxHjpajL
LJA37jQL4pDX7I3k7wp5d+8FF+al50tK1HU0IhBJFHqbPuVq7B5GN97t9u56WUE=
=Q/Oq
-----END PGP SIGNATURE-----
Comment 6 dfilter service freebsd_committer freebsd_triage 2014-05-29 20:18:08 UTC
Author: jkim
Date: Thu May 29 19:18:03 2014
New Revision: 355732
URL: http://svnweb.freebsd.org/changeset/ports/355732
QAT: https://qat.redports.org/buildarchive/r355732/

Log:
  - Fix plist when both PYTHON and WEBSERVICE options are disabled. [1]
  - Build and install correctly when DEBUG option is enabled. [2]
  
  Reported by:	Mike Jakubik <mike.jakubik@intertainservices.com> [1]
  PR:		ports/190227 [1]
  Reported by:	Ron Thomas <ron@vopenhouse.ca> [2]
  Tested by:	Ron Thomas <ron@vopenhouse.ca> [2]

Modified:
  head/emulators/virtualbox-ose/Makefile
  head/emulators/virtualbox-ose/pkg-plist

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Thu May 29 19:03:19 2014	(r355731)
+++ head/emulators/virtualbox-ose/Makefile	Thu May 29 19:18:03 2014	(r355732)
@@ -158,6 +158,12 @@ USE_XORG=	xcursor xmu inputproto xineram
 VBOX_FRONTENDS+=VBoxSDL
 .endif
 
+.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
+PLIST_SUB+=	SDK=""
+.else
+PLIST_SUB+=	SDK="@comment "
+.endif
+
 .if ${ARCH} == i386
 KMK_ARCH=	freebsd.x86
 PLIST_SUB+=	I386=""
@@ -241,12 +247,9 @@ post-patch:
 	@${ECHO} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk
 .endif
 
-pre-build:
-	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/env.sh
-
 do-build:
-	cd ${WRKSRC} && ${SH} env.sh && \
-	    ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}
+	cd ${WRKSRC} && \
+	    ${SH} -c '. env.sh && ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}'
 .if ${PORT_OPTIONS:MPYTHON}
 	${PYTHON_CMD} -mcompileall ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom
 .endif

Modified: head/emulators/virtualbox-ose/pkg-plist
==============================================================================
--- head/emulators/virtualbox-ose/pkg-plist	Thu May 29 19:03:19 2014	(r355731)
+++ head/emulators/virtualbox-ose/pkg-plist	Thu May 29 19:18:03 2014	(r355732)
@@ -658,8 +658,8 @@ lib/virtualbox/components/VirtualBox_XPC
 %%PYTHON%%@dirrm %%DATADIR%%/sdk/bindings/xpcom/python
 %%PYTHON%%@dirrm %%DATADIR%%/sdk/bindings/xpcom
 %%WEBSERVICE%%@dirrm %%DATADIR%%/sdk/bindings/webservice
-@dirrmtry %%DATADIR%%/sdk/bindings
-@dirrmtry %%DATADIR%%/sdk
+%%SDK%%@dirrm %%DATADIR%%/sdk/bindings
+%%SDK%%@dirrm %%DATADIR%%/sdk
 @dirrm %%DATADIR%%/samples
 %%NLS%%@dirrm %%DATADIR%%/nls
 @dirrm %%DATADIR%%/idl
_______________________________________________
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 7 Jung-uk Kim freebsd_committer freebsd_triage 2014-05-29 20:18:42 UTC
State Changed
From-To: open->closed

It should be fixed in r355732.  Thanks!