Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2019 12:47:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 235666] www/firefox fails to build with python-3.6
Message-ID:  <bug-235666-21738-JAMt0vDGdK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235666-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235666-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko mailing =
list
<gecko@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=3D235666



--- Description ---
If I remove python=3D3.6 from the list of DEFAULTs, build proceeds. Otherwi=
se, it
dies at the very beginning with:

=3D=3D=3D>  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 m=
ust
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 1=
23,
in <module>
    sys.exit(main(sys.argv))
  File "/home/usr/ports/www/firefox/work/firefox-65.0/configure.py", line 2=
9,
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/con=
figu
re/__init__.py",
line 424, in run
    self.include_file(path)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
re/__init__.py",
line 415, in include_file
    exec_(code, self)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/uti=
l.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/con=
figu
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/con=
figu
re/__init__.py",
line 415, in include_file
    exec_(code, self)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/uti=
l.py
",
line 59, in exec_
    exec(object, globals, locals)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/build/moz.configure/init.con=
figu
re",
line 208, in <module>
    @imports('distutils.sysconfig')
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
re/__init__.py",
line 702, in decorator
    depends =3D DependsFunction(self, func, dependencies, when=3Dwhen)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
re/__init__.py",
line 121, in __init__
    sandbox._value_for(self)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
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/uti=
l.py
",
line 944, in method_call
    cache[args] =3D self.func(instance, *args)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
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/uti=
l.py
",
line 944, in method_call
    cache[args] =3D self.func(instance, *args)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/con=
figu
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/con=
figu
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.con=
figu
re",
line 263, in virtualenv_python
    manager.build(python)
  File
"/home/usr/ports/www/firefox/work/firefox-65.0/python/mozbuild/mozbuild/vir=
tual
env.py",
line 484, in build
    raise Exception('Error populating virtualenv.')
Exception: Error populating virtualenv.
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to gecko@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235666-21738-JAMt0vDGdK>