maintainer-feedback requested: [Bug 235666] www/firefox fails to build with python-3.6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 11 12:47:27 UTC 2019
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-gecko mailing list
<gecko at FreeBSD.org> for maintainer-feedback:
Bug 235666: www/firefox fails to build with python-3.6
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235666
--- Description ---
If I remove python=3.6 from the list of DEFAULTs, build proceeds. Otherwise, it
dies at the very beginning with:
===> Configuring for firefox-65.0_2,1
(cd /home/usr/ports/www/firefox/work/firefox-65.0 && /opt/bin/autoconf-2.13)
(cd /home/usr/ports/www/firefox/work/firefox-65.0/js/src/ &&
/opt/bin/autoconf-2.13)
Creating Python environment
Using base prefix '/opt'
New python executable in
/home/usr/ports/www/firefox/work/.build/_virtualenvs/init/bin/python3.6
Not overwriting existing python script
/home/usr/ports/www/firefox/work/.build/_virtualenvs/init/bin/python (you must
use /home/usr/ports/www/firefox/work/.build/_virtualenvs/init/bin/python3.6)
Installing setuptools, pip, wheel...done.
RuntimeError: Bad magic number in .pyc file
Traceback (most recent call last):
File "/home/usr/ports/www/firefox/work/firefox-65.0/configure.py", line 123,
in <module>
sys.exit(main(sys.argv))
File "/home/usr/ports/www/firefox/work/firefox-65.0/configure.py", line 29,
in main
sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 424, in run
self.include_file(path)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 415, in include_file
exec_(code, self)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/util.py
",
line 59, in exec_
exec(object, globals, locals)
File "/home/usr/ports/www/firefox/work/firefox-65.0/moz.configure", line 7,
in <module>
include('build/moz.configure/init.configure')
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 719, in include_impl
self.include_file(what)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 415, in include_file
exec_(code, self)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/util.py
",
line 59, in exec_
exec(object, globals, locals)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/build/moz.configure/init.configu
re",
line 208, in <module>
@imports('distutils.sysconfig')
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 702, in decorator
depends = DependsFunction(self, func, dependencies, when=when)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 121, in __init__
sandbox._value_for(self)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 499, in _value_for
return self._value_for_depends(obj, need_help_dependency)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/util.py
",
line 944, in method_call
cache[args] = self.func(instance, *args)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 508, in _value_for_depends
return obj.result(need_help_dependency)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/util.py
",
line 944, in method_call
cache[args] = self.func(instance, *args)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 148, in result
return self._func(*resolved_args)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/configu
re/__init__.py",
line 1028, in wrapped
return new_func(*args, **kwargs)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/build/moz.configure/init.configu
re",
line 263, in virtualenv_python
manager.build(python)
File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/virtual
env.py",
line 484, in build
raise Exception('Error populating virtualenv.')
Exception: Error populating virtualenv.
===> Script "configure" failed unexpectedly.
Please report the problem to gecko at FreeBSD.org [maintainer] and attach the
"/home/usr/ports/www/firefox/work/.build/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/opt/sbin/pkg-static info -g -Ea).
*** Error code 1
More information about the freebsd-gecko
mailing list