pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51927: firefox build fails with "debug" option
>Number: 51927
>Category: pkg
>Synopsis: firefox build fails with "debug" option
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 30 20:05:00 +0000 2017
>Originator: Roy Pittman
>Release: NetBSD/amd64-7.0_STABLE, pkgsrc-2016Q4
>Organization:
>Environment:
NetBSD ratliff 7.0_STABLE NetBSD 7.0_STABLE (RATLIFF) #13: Sun Dec 25 16:29:39 MST 2016 roy@ratliff:/d0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/RATLIFF amd64
>Description:
When attempting to rebuild Mozilla Firefox 50.1.0 with PKG_OPTIONS.firefox+=oss set the build succeeds.
When attempting to rebuild Mozilla Firefox 50.1.0 with PKG_OPTIONS.firefox+=oss debug set the build fails in this way:
cd /d0/build/pkgsrc/www/firefox/work/firefox-50.1.0 && mkdir ../build
cd /d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/../build && touch old-configure.vars
=> Generating pkg-config files for builtin libevent package.
=> Generating pkg-config file for builtin expat package.
Creating Python environment
New python executable in /d0/build/pkgsrc/www/firefox/work/build/_virtualenv/bin/python2.7
Also creating executable in /d0/build/pkgsrc/www/firefox/work/build/_virtualenv/bin/python
Installing setuptools, pip, wheel...done.
platform netbsd7 is not supported
Error processing command. Ignoring because optional. (optional:setup.py:python/psutil:build_ext:--inplace)
Reexecuting in the virtualenv
checking for a shell... /d0/build/pkgsrc/www/firefox/work/.tools/bin/sh
checking for host system type... x86_64-unknown-netbsd7.0
checking for target system type... x86_64-unknown-netbsd7.0
Traceback (most recent call last):
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/configure.py", line 94, in <module>
sys.exit(main(sys.argv))
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/configure.py", line 22, in main
sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/python/mozbuild/mozbuild/configure/__init__.py", line 241, in run
self._value_for(option)
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/python/mozbuild/mozbuild/configure/__init__.py", line 305, in _value_for
return self._value_for_option(obj)
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/python/mozbuild/mozbuild/util.py", line 924, in method_call
cache[args] = self.func(instance, *args)
File "/d0/build/pkgsrc/www/firefox/work/firefox-50.1.0/python/mozbuild/mozbuild/configure/__init__.py", line 370, in _value_for_option
% (e.arg, reason, e.old_arg, e.old_origin))
mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols=-g -O0 -fvar-tracking-assignments -fvar-tracking' implied by '--enable-debug' conflicts with '--enable-debug-symbols' from the command-line
*** Error code 1
Stop.
make[1]: stopped in /d0/nbsd/pkgsrc/www/firefox
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/firefox
1052 [roy@ratliff:../pkgsrc/www/firefox]$
>How-To-Repeat:
How to repeat the problem:
Attempt to build firefox-50.1.0 with PKG_OPTIONS.firefox+=oss debug set.
>Fix:
Not known to me.
Home |
Main Index |
Thread Index |
Old Index