Bug 235314 - [patch] Fix python build dependency for emulators/open-vm-tools
Summary: [patch] Fix python build dependency for emulators/open-vm-tools
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Josh Paetzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 11:29 UTC by Harald Schmalzbauer
Modified: 2019-04-07 15:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jpaetzel)


Attachments
Fix Python build dependency for emulators/open-vm-tools (516 bytes, patch)
2019-01-30 11:29 UTC, Harald Schmalzbauer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Schmalzbauer 2019-01-30 11:29:51 UTC
Created attachment 201526 [details]
Fix Python build dependency for emulators/open-vm-tools

Currently, running 'make' in emulators/open-vm-tools-nox11 fails:
make
===>   open-vm-tools-nox11-10.3.0_1,2 depends on package: autoconf>=2.69 - found                                                 
===>   open-vm-tools-nox11-10.3.0_1,2 depends on package: automake>=1.16.1 - found
===>   open-vm-tools-nox11-10.3.0_1,2 depends on executable: libtoolize - found
===>   open-vm-tools-nox11-10.3.0_1,2 depends on package: pkgconf>=1.3.0_1 - found
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libmspack.so - found (/usr/local/lib/libmspack.so)
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libdnet.so - found (/usr/local/lib/libdnet.so)
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libfuse.so - found (/usr/local/lib/libfuse.so)
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   open-vm-tools-nox11-10.3.0_1,2 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>  Configuring for open-vm-tools-nox11-10.3.0_1,2
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:198: installing 'config/compile'
:
--- vmware_namespace_cmd-namespacetool.o ---
cc -DPACKAGE_NAME=\"open-vm-tools\" -DPACKAGE_TARNAME=\"open-vm-tools\"
:
mv -f .deps/vmware_namespace_cmd-namespacetool.Tpo .deps/vmware_namespace_cmd-namespacetool.Po
--- vmware-namespace-cmd ---
/bin/sh ../libtool  --tag=CC    --mode=link cc  -O2 -pipe -march=ivybridge
:
m -lcrypt -lthr -lglib-2.0 -lintl -Wl,-rpath -Wl,/usr/local/lib
Making all in scripts
--- poweroff-vm-default ---
:
cp ../scripts/common/statechange.sh poweron-vm-default
Making all in services                                                                                                            
--- all-recursive ---
Making all in vmtoolsd                                                                                                            
--- svcSignals.h ---
--- svcSignals.c ---
--- svcSignals.h ---
glib-genmarshal --header ../../services/vmtoolsd/svcSignals.gm >  svcSignals.h || (rm -f svcSignals.h && exit 1)
--- svcSignals.c ---
glib-genmarshal --body ../../services/vmtoolsd/svcSignals.gm >  svcSignals.c || (rm -f svcSignals.c && exit 1)
--- svcSignals.h ---
env: /usr/local/bin/python2.7: No such file or directory
--- svcSignals.c ---
env: /usr/local/bin/python2.7: No such file or directory
--- svcSignals.h ---
*** [svcSignals.h] Error code 1

make[4]: stopped in /usr/local/ports-wrktree/emulators/open-vm-tools-nox11/work/open-vm-tools-stable-10.3.0/open-vm-tools/service$
/vmtoolsd

The attached diff adds python as build dependency, which makes building this port sucessful on clean/fresh hosts.