pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54878: lang/spidermonkey52 configuration fails in chroot



>Number:         54878
>Category:       pkg
>Synopsis:       lang/spidermonkey52 configuration fails in chroot
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 19 20:00:01 +0000 2020
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 8.0 | HEAD (20200111)
>Organization:
>Environment:
System: NetBSD hydralisk.triaxx.org 8.0 NetBSD 8.0 (GENERIC) #0: Fri Jan 17 23:04:35 CET 2020  triaxx%hydralisk.triaxx.org@localhost:/mnt/ccd0/sysbuild/hydralisk-8.0/amd64/obj/mnt/ccd0/netbsd/netbsd-8-0-RELEASE/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
When I try to build lang/spidermonkey52 using pbulk in a chrooted sandbox, the configuration step fails with the log below.

But when I try the common manner (without pbulk), the configuration step succeeds.

===> Configuring for spidermonkey52-52.7.4nb11
cd /var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/js/src && autoconf
=> Adding run-time search paths to pkg-config files.
Creating Python environment
New python executable in /var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv/bin/python2.7
Also creating executable in /var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv/bin/python
Installing setuptools, pip, wheel...done.
platform netbsd8 is not supported

Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace)
Reexecuting in the virtualenv
Creating Python environment
Please use the *system* python to run this script
Traceback (most recent call last):
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/virtualenv/virtualenv.py", line 2325, in <module>
    main()
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/virtualenv/virtualenv.py", line 711, in main
    symlink=options.symlink and hasattr(os, 'symlink')) # MOZ: Make sure we don't use symlink when we don't have it
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/virtualenv/virtualenv.py", line 924, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv/lib/python2.7/posixpath.py", line 367, in abspath
    if not isabs(path):
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv/lib/python2.7/posixpath.py", line 54, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
Traceback (most recent call last):
  File "./../../configure.py", line 107, in <module>
    sys.exit(main(sys.argv))
  File "./../../configure.py", line 26, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 334, in run
    self.include_file(path)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 325, in include_file
    exec_(code, self)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/moz.configure", line 7, in <module>
    include('build/moz.configure/init.configure')
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 627, in include_impl
    self.include_file(what)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 325, in include_file
    exec_(code, self)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/util.py", line 59, in exec_
    exec(object, globals, locals)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/build/moz.configure/init.configure", line 137, in <module>
    @imports('distutils.sysconfig')
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 610, in decorator
    depends = DependsFunction(self, func, dependencies, when=when)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 69, in __init__
    sandbox._value_for(self)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 406, in _value_for
    return self._value_for_depends(obj, need_help_dependency)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/util.py", line 925, in method_call
    cache[args] = self.func(instance, *args)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 416, in _value_for_depends
    return obj.result
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/util.py", line 943, in __get__
    setattr(instance, name, self.func(instance))
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 90, in result
    return self.func(*resolved_args)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/configure/__init__.py", line 932, in wrapped
    return new_func(*args, **kwargs)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/build/moz.configure/init.configure", line 184, in virtualenv_python
    manager.build(python)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/virtualenv.py", line 439, in build
    self.create(python)
  File "/var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/python/mozbuild/mozbuild/virtualenv.py", line 203, in create
    'Failed to create virtualenv: %s' % self.virtualenv_root)
Exception: Failed to create virtualenv: /var/pkgsrc/work/lang/spidermonkey52/work/mozjs-52.7.4/_virtualenv
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/lang/spidermonkey52
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/spidermonkey52
>How-To-Repeat:
Build lang/spidermonkey52 using pbulk in a chrooted sandbox.
>Fix:



Home | Main Index | Thread Index | Old Index