Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22869 - Virtualbox compile errors out with python2 error

Attached to Project: Community Packages
Opened by Howard Johnson (hjohnson) - Saturday, 12 February 2011, 14:57 GMT
Last edited by Ionut Biru (wonder) - Saturday, 12 February 2011, 16:15 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When trying to compile virtualbox 4.0.2-4, I get python2 errors. The following are my build log entries:

patching file configure
patching file configure
Hunk #1 succeeded at 2469 (offset -30 lines).
Checking for environment: Determined build machine: linux.x86, target machine: linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.5.2, OK.
Checking for as86: found version 0.16.17, OK.
Checking for bcc: found version 0.16.17, OK.
Checking for iasl: found version 20110112, OK.
Checking for xslt: found, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.7.8, OK.
Checking for libxslt: found version 1.1.26, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.0c 2 Dec 2010, OK.
Checking for libcurl: found version 7.21.3, OK.
Checking for zlib: found version 1.2.5, OK.
Checking for libpng: found version 1.4.5, OK.
Checking for SDL: found version 1.2.14, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: found version 1.4, OK.
Checking for Qt4: found version 4.7.1, OK.
Checking for Qt4 devtools: found version 4.7.1, OK.
Checking for Python support: found version 2.7.1, OK.
Checking for Java support: OK.
Checking for PulseAudio: found version 0.9.22 API version 12, OK.
Checking for static stc++ library: found, OK.
Checking for Linux kernel sources: found version 2.6.37, OK.
Checking for ALSA: found version 1.0.23, OK.
Checking for libcap library: found, OK.
Checking for compiler.h: compiler.h not found, OK.
Checking for GSOAP compiler: found, OK.

... echo messages here.

Enjoy!
Config.kmk:2025: /home/hjohnson/os/pkgbuilds/virtualbox/src/VirtualBox-4.0.2_OSE/out/linux.x86/release/GCCConfig.kmk: No such file or directory
Config.kmk:4682: /home/hjohnson/os/pkgbuilds/virtualbox/src/VirtualBox-4.0.2_OSE/out/linux.x86/release/revision.kmk: No such file or directory
kmk: python2: Command not found

And then much later...

kBuild: Generating python - /home/hjohnson/os/pkgbuilds/virtualbox/src/VirtualBox-4.0.2_OSE/out/linux.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h
kmk_redirect: error: _execvp(_P_WAIT, "python2", ...) failed: No such file or directory
kmk: *** [/home/hjohnson/os/pkgbuilds/virtualbox/src/VirtualBox-4.0.2_OSE/out/linux.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h] Error 1
kmk: *** Deleting file `/home/hjohnson/os/pkgbuilds/virtualbox/src/VirtualBox-4.0.2_OSE/out/linux.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h'
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2

Additional info:
* package version(s)
Python version => python2 2.7.1-4

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Ionut Biru (wonder)
Saturday, 12 February 2011, 16:15 GMT
Reason for closing:  Not a bug
Additional comments about closing:  user error
Comment by Ionut Biru (wonder) - Saturday, 12 February 2011, 15:20 GMT
do you really have /usr/bin/ in $PATH ?
Comment by Howard Johnson (hjohnson) - Saturday, 12 February 2011, 15:55 GMT
Sure do...
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/qt/bin:/home/hjohnson/Amino-STBRemote/0.11.32-A130-think40-20-19-1.Latens3.5/utils:/home/hjohnson/Amino-STBRemote/0.11.32-A130-think40-20-19-1.Latens3.5/utils
Comment by Ionut Biru (wonder) - Saturday, 12 February 2011, 15:56 GMT
in the end, you have python2 in /usr/bin?

file /usr/bin/python2
Comment by Howard Johnson (hjohnson) - Saturday, 12 February 2011, 16:13 GMT
No... I have python2.7...
/usr/bin/python2.7
Python 2.7.1 (r271:86832, Feb 6 2011, 14:04:17)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


Should I create a python2 symlink to python2.7?
Comment by Ionut Biru (wonder) - Saturday, 12 February 2011, 16:14 GMT
you removed that python2 symlink. default in the package exists.

Loading...