compile error when building iceweasel
Worthem, Dennis
dworthem at mykolab.com
Fri Jan 1 18:52:52 UTC 2016
Hello
I was wondering if anyone could help me with the following problem or
suggest where I should go.
I am trying to compile iceweasel (38.5.0esr-1~deb7u2) for Debian Wheezy
on my Debian Wheezy desktop ( I want to compile this because we are
trying to make small changes to iceweasel for a distro that is a
derivative of Debian Wheezy, which is gNewSense).
The steps that I follow to compile are:
dget
http://security.debian.org/debian-security/pool/updates/main/i/iceweasel/iceweasel_38.5.0esr-1~deb7u2.dsc
apt-get build-dep iceweasel
cd iceweasel-*
debuild -uc -us
When I build I get the following:
checking Python environment is Mozilla virtualenv... Traceback
(most recent call last):
File "<string>", line 1, in <module>
File
"/home/dennis/temp/iceweaselLatest/ucclia/iceweasel-38.5.0esr/python/mozbuild/mozbuild/base.py",
line 17, in <module>
from mach.mixin.process import ProcessExecutionMixin
File
"/home/dennis/temp/iceweaselLatest/ucclia/iceweasel-38.5.0esr/python/mach/mach/mixin/process.py",
line 29, in <module>
raise Exception('Could not detect environment shell!')
Exception: Could not detect environment shell!
configure: error: Python environment does not appear to be sane.
------ config.log ------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a
mistake.
which seems to indicate a problem with Python, but I ran the following
section of code from process.py, line 29 using Python:
# Perform detection of operating system environment. This is
used by command
# execution. We only do this once to save redundancy. Yes, this
can fail module
# loading. That is arguably OK.
if 'SHELL' in os.environ:
_current_shell = os.environ['SHELL']
elif 'MOZILLABUILD' in os.environ:
_current_shell = os.environ['MOZILLABUILD'] +
'/msys/bin/sh.exe'
elif 'COMSPEC' in os.environ:
_current_shell = os.environ['COMSPEC']
else:
raise Exception('Could not detect environment shell!')
but the value of _current_shell is "/bin/bash" same as the SHELL
environment variable.
Do you have an idea what I am doing wrong?
Thank you.
Dennis Worthem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20160101/322203f8/attachment.html>
More information about the pkg-mozilla-maintainers
mailing list