ich baue gerade testweise firefox-esr unter Stretch gemäß "7.14 How do I build binary packages from a source package?" aus dem Debian-Manual. [1] (Insbesondere habe ich mir natürlich die build-deps besorgt. Es ist auch nicht mein erster Paketbau.)
Trotzdem stoße ich auf das Problem, dass beim eigentlichen Paketbau mittels debuild Python nach der Shell sucht, diese aber nicht findet. Die Prüfung findet in process.py [2] statt und sieht so aus:
Code: Alles auswählen
# 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!')
Code: Alles auswählen
Creating config.status
Traceback (most recent call last):
File "../configure.py", line 127, in <module>
sys.exit(main(sys.argv))
File "../configure.py", line 34, in main
return config_status(config)
File "../configure.py", line 112, in config_status
from mozbuild.config_status import config_status
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.5.0esr/build/mach_bootstrap.py", line 369, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.5.0esr/python/mozbuild/mozbuild/config_status.py", line 21, in <module>
from mozbuild.base import MachCommandConditions
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.5.0esr/build/mach_bootstrap.py", line 369, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.5.0esr/python/mozbuild/mozbuild/base.py", line 16, in <module>
from mach.mixin.process import ProcessExecutionMixin
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.5.0esr/build/mach_bootstrap.py", line 369, in __call__
module = self._original_import(name, globals, locals, fromlist, level)
File "/media/hikaru/4d39be4c-c35d-4491-a323-e0bcb0e60ee0/ff/firefox-esr-60.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!
Code: Alles auswählen
_current_shell = '/bin/bash'
[1] https://www.debian.org/doc/manuals/debi ... cs.en.html
[2] https://sources.debian.org/src/firefox- ... rocess.py/