Summary: | [PATCH] emulators/virtualbox-ose: Build with non-default python | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Peter Wullinger <freebsd> | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | franco, kidon | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(vbox) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
I'm having the same issue: kmk_builtin_redirect: posix_spawnp(python-not-found) failed: No such file or directory kmk: *** [/tmp/ports/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.6/out/freebsd.amd64/release/obj/VBoxOGLgen/spu_dispatch_table.h] Error 10 Committed. Thanks! A commit references this bug: Author: tobik Date: Thu Jul 26 11:46:59 UTC 2018 New revision: 475363 URL: https://svnweb.freebsd.org/changeset/ports/475363 Log: emulators/virtualbox-ose: Fix build when using 3.? as default Python When using DEFAULT_VERSIONS=python=3.6 or similar the build fails with kBuild: Generating python - .../out/freebsd.amd64/release/obj/VBoxOGLgen/spu_dispatch_table.h kmk_builtin_redirect: posix_spawnp(python-not-found) failed: No such file or directory Explicitly use Python 2.7 for the time being to fix the build. PR: 225734 Submitted by: Peter Wullinger <freebsd@dhke.de> Approved by: vbox (maintainer timeout, 5 months+) Changes: head/emulators/virtualbox-ose/Makefile |
Created attachment 190392 [details] Add explicit dependency on Python 2.7 With DEFAULT_VERSIONS+=python=3.6 in /etc/make.conf I get kBuild: Generating python - /wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.6/out/freebsd.amd64/release/obj/VBoxOGLgen/spu_dispatch_table.h kmk_builtin_redirect: posix_spawnp(python-not-found) failed: No such file or directory when trying to build virtualbox-ose. Explicitly requiring Python 2.7 in USES= directives (see attached patch) fixes the build for me.