I used the tools provided by debian to build SM as a debian package, but it failed during configure, saying "The underlying problem is an illegal file access. This is likely due to trying to access a file outside of the top source directory.
The path whose access was denied is:
/home/mnt/shared/build/seamonkey/seamonkey-2.23/mail/app.mozbuild
Modify the script to not access this file and try again."
I don't quite understand the error, because the file indicated is inside the source directory. I don't know whether it is a debian bug or SM bug (in the former case, I apologize for the disturb), but could anyone help me with this? Do I need to pass any specific options to ./configure?
Below is the output on the console (I omitted the first part because I don't think it was useful, was it?); what other files do you need?
checking for sys/int_types.h... no
checking for posix_fallocate... yes
checking for GL/glx.h... yes
updating cache /home/francesco/build/seamonkey/seamonkey-2.23/config.cache
creating ./config.status
Reticulating splines...
Traceback (most recent call last):
File "./config.status", line 961, in <module>
config_status(**args)
File "/home/francesco/build/seamonkey/seamonkey-2.23/mozilla/build/ConfigStatus.py", line 126, in config_status
summary = backend.consume(definitions)
File "/home/francesco/build/seamonkey/seamonkey-2.23/mozilla/python/mozbuild/mozbuild/backend/base.py", line 188, in consume
for obj in objs:
File "/home/francesco/build/seamonkey/seamonkey-2.23/mozilla/python/mozbuild/mozbuild/frontend/emitter.py", line 60, in emit
for out in output:
File "/home/francesco/build/seamonkey/seamonkey-2.23/mozilla/python/mozbuild/mozbuild/frontend/reader.py", line 601, in read_mozbuild
sys.exc_info()[2], sandbox_load_error=sle)
mozbuild.frontend.reader.BuildReaderError: ==============================
ERROR PROCESSING MOZBUILD FILE
==============================
The error occurred while processing the following file:
/home/mnt/shared/build/seamonkey/seamonkey-2.23/mozilla/moz.build
The underlying problem is an illegal file access. This is likely due to trying to access a file outside of the top source directory.
The path whose access was denied is:
/home/mnt/shared/build/seamonkey/seamonkey-2.23/mail/app.mozbuild
Modify the script to not access this file and try again.
configure: error: ./configure failed for mozilla
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:603: checking host system type
configure:624: checking target system type
configure:642: checking build system type
configure:712: checking for python2.7
configure:812: checking Python environment is Mozilla virtualenv
configure:870: checking for application to build
configure:890: checking if app-specific confvars.sh exists
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking returned exit code 1
make: *** [binary] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2