pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Building xulrunner fails with SandboxViolation.
Hi pkgsrc users,
I'm failing to build Firefox due to xulrunner failing to build with
a SandboxViolation.
I'm running NetBSD for amd64 compiled from the netbsd-6-0 branch
yesterday and pkgsrc from the pkgsrc-2013Q1 branch checked out today.
fish$ cat /etc/mk.conf
.if defined(BSD_PKG_MK)
CFLAGS+=-march=k8
.else
CPUFLAGS+=-march=k8
.endif
Error message from make:
===> Configuring for xulrunner-19.0.2nb1
printf '#!/bin/sh\n[ "$*" = "-f" ] && exit 0\nexec /bin/rm $@\n' >
/usr/pkgsrc/devel/xulrunner/work/.wrapper/bin/rm
chmod +x /usr/pkgsrc/devel/xulrunner/work/.wrapper/bin/rm
cd /usr/pkgsrc/devel/xulrunner/work/mozilla-release && autoconf
cd /usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src && autoconf
mkdir /usr/pkgsrc/devel/xulrunner/work/mozilla-release/js/src/.deps
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
loading cache ./config.cache
checking host system type... x86_64--netbsd
checking target system type... x86_64--netbsd
checking build system type... x86_64--netbsd
checking for mawk... /usr/bin/awk
checking for /usr/pkg/bin/python2.7... /usr/pkg/bin/python2.7
Creating Python environment
New python executable in
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/_virtualenv/bin/python2.7
Not overwriting existing python script
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/_virtualenv/bin/python (you
must use
/usr/pkgsrc/devel/xulrunner/work/mozilla-release/_virtualenv/bin/python2.7)
Installing setuptools.............done.
Installing pip..............
Complete output from command /usr/pkgsrc/devel/xu...ualenv/bin/python2.7 -x
/usr/pkgsrc/devel/xu...env/bin/easy_install
/usr/pkgsrc/devel/xu...ort/pip-1.2.1.tar.gz:
Processing pip-1.2.1.tar.gz
Running pip-1.2.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-CbAEbc/pip-1.2.1/egg-dist-tmp-Jx_a9e
error: Setup script exited with error: SandboxViolation:
open('pip.egg-info/PKG-INFO', 'w') {}
The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand. Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
----------------------------------------
...Installing pip...done.
Traceback (most recent call last):
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/python/virtualenv/virtualenv.py",
line 2476, in <module>
main()
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/python/virtualenv/virtualenv.py",
line 942, in main
never_download=options.never_download)
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/python/virtualenv/virtualenv.py",
line 1054, in create_environment
install_pip(py_executable, search_dirs=search_dirs,
never_download=never_download)
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/python/virtualenv/virtualenv.py",
line 655, in install_pip
filter_stdout=_filter_setup)
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/python/virtualenv/virtualenv.py",
line 1020, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /usr/pkgsrc/devel/xu...ualenv/bin/python2.7 -x
/usr/pkgsrc/devel/xu...env/bin/easy_install
/usr/pkgsrc/devel/xu...ort/pip-1.2.1.tar.gz failed with error code 1
Traceback (most recent call last):
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/build/virtualenv/populate_virtualenv.py",
line 321, in <module>
manager.ensure()
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/build/virtualenv/populate_virtualenv.py",
line 75, in ensure
return self.build()
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/build/virtualenv/populate_virtualenv.py",
line 258, in build
self.create()
File
"/usr/pkgsrc/devel/xulrunner/work/mozilla-release/build/virtualenv/populate_virtualenv.py",
line 105, in create
raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/firefox
Has anybody got the same error? This is a fresh system set up during
last weekend. Have I done something wrong setting up this system, i.e
has something changed in handling pkgsrc?
Sorry about the long lines from the make log btw...
Regards,
Jimmy
--
If you don't shoot the bearers of bad news, people will keep bringing it to you.
Home |
Main Index |
Thread Index |
Old Index