MozillaZine


need help in mach build

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
snk_gamecrewlab
 
Posts: 1
Joined: October 19th, 2021, 1:23 am

Post Posted October 19th, 2021, 1:30 am

I am compiling firefox with openssl 1.1.1
I am getting getting the following error during the configuration-
_____________________________________________________
The error occurred while processing the following file or one of the files it includes:
d:/mozilla-source/mozilla-unified/netwerk/base/moz.build
The error occurred when validating the result of the execution. The reported error is:
USE_LIBS contains "C:\Program Files (x86)\OpenSSL1.1.1-Win32\lib\libcrypto-1_1", but there is no "libcrypto-1_1" LIBRARY_NAME in C:/Program Files (x86)/OpenSSL1.1.1-Win32/lib.
_____________________________________________________
Following is the OS info:
_____________________________________________
Windows 10
I have installed openss-1.1.1g
C:\Program Files (x86)\OpenSSL1.1.1-Win32>openssl version
OpenSSL 1.1.1g 21 Apr 2020
______________________________________________
lib folder shows libcrypto is there.
________________________________________________________________
C:\Program Files (x86)\OpenSSL1.1.1-Win32\lib>ls -al
total 43572
drwxr-xr-x 1 GREW 0 Sep 27 11:32 .
drwxr-xr-x 1 GREW 0 Sep 27 11:32 ..
drwxr-xr-x 1 GREW 0 Sep 27 11:32 MinGW
drwxr-xr-x 1 GREW 0 Sep 27 11:32 VC
-rw-r--r-- 1 GREW 1840 Aug 24 10:56 capi.lib
-rw-r--r-- 1 GREW 1866 Aug 24 10:56 dasync.lib
-rw-r--r-- 1 GREW 987162 Aug 24 10:56 libapps.lib
-rw-r--r-- 1 GREW 109310 Aug 24 10:56 libcrypto.def
-rw-r--r-- 1 GREW 1015854 Aug 24 10:56 libcrypto.lib
-rw-r--r-- 1 GREW 34785922 Aug 24 10:56 libcrypto_static.lib
-rw-r--r-- 1 GREW 14033 Aug 24 10:56 libssl.def
-rw-r--r-- 1 GREW 122290 Aug 24 10:56 libssl.lib
-rw-r--r-- 1 GREW 7076480 Aug 24 10:56 libssl_static.lib
-rw-r--r-- 1 GREW 449262 Aug 24 10:56 libtestutil.lib
-rw-r--r-- 1 GREW 1734 Aug 24 10:56 openssl.lib
-rw-r--r-- 1 GREW 1892 Aug 24 10:56 ossltest.lib
-rw-r--r-- 1 GREW 1880 Aug 24 10:56 padlock.lib
-rw-r--r-- 1 GREW 1722 Aug 24 10:56 uitest.lib
________________________________________________________________
Following info is from moz.build
____________________________________________________
USE_LIBS += [
'C:\Program Files (x86)\OpenSSL1.1.1-Win32\lib\libcrypto-1_1',
'C:\Program Files (x86)\OpenSSL1.1.1-Win32\lib\libssl-1_1',
]
____________________________________________________
If anyone could give me a heads up on what went wrong, please help!!

Full output of mach build on absolute path (including error message)

GREW@DESKTOP-K2TO6UU /d/mozilla-source/mozilla-unified
$ mach build
0:02.22 Clobber not needed.
d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/backend.RecursiveMakeBackend is out of date with respect to d:/mozilla-source/mozilla-unified/netwerk/base/moz.build
d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/backend.FasterMakeBackend is out of date with respect to d:/mozilla-source/mozilla-unified/python/mozbuild/mozbuild/frontend/emitter.py
d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/backend.VisualStudioBackend is out of date with respect to d:/mozilla-source/mozilla-unified/netwerk/base/moz.build
Build configuration changed. Regenerating backend.
0:03.48 d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/_virtualenvs/common/Scripts/python.exe d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/config.status
Reticulating splines...
0:02.20 File already read. Skipping: d:/mozilla-source/mozilla-unified/intl/components/moz.build
0:03.70 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:03.70 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:03.79 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:03.80 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:03.84 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/angle_common/moz.build
0:03.85 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/translator/moz.build
0:03.85 File already read. Skipping: d:/mozilla-source/mozilla-unified/gfx/angle/targets/libGLESv2/moz.build
Traceback (most recent call last):
File "d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/config.status", line 778, in <module>
config_status(**args)
File "d:\mozilla-source\mozilla-unified\python\mozbuild\mozbuild\config_status.py", line 174, in config_status
definitions = list(definitions)
File "d:\mozilla-source\mozilla-unified\python\mozbuild\mozbuild\frontend\emitter.py", line 179, in emit
objs = list(self._emit_libs_derived(contexts))
File "d:\mozilla-source\mozilla-unified\python\mozbuild\mozbuild\frontend\emitter.py", line 261, in _emit_libs_derived
self._link_libraries(context, obj, variable, idl_sources)
File "d:\mozilla-source\mozilla-unified\python\mozbuild\mozbuild\frontend\emitter.py", line 378, in _link_libraries
self._link_library(context, obj, variable, path)
File "d:\mozilla-source\mozilla-unified\python\mozbuild\mozbuild\frontend\emitter.py", line 473, in _link_library
context,
mozbuild.frontend.reader.SandboxValidationError:
==============================
FATAL ERROR PROCESSING MOZBUILD FILE
==============================
The error occurred while processing the following file or one of the files it includes:
d:/mozilla-source/mozilla-unified/netwerk/base/moz.build
The error occurred when validating the result of the execution. The reported error is:
USE_LIBS contains "C:\Program Files (x86)\OpenSSL1.1.1-Win32\lib\libcrypto-1_1", but there is no "libcrypto-1_1" LIBRARY_NAME in C:/Program Files (x86)/OpenSSL1.1.1-Win32/lib.
The fsmonitor extension is incompatible with the eol extension and has been disabled.
The fsmonitor extension is incompatible with the eol extension and has been disabled.
The fsmonitor extension is incompatible with the eol extension and has been disabled.
The fsmonitor extension is incompatible with the eol extension and has been disabled.
Error running mach:
['build']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
Exception: Process executed with non-0 exit code 1: ['d:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/_virtualenvs/common/Scripts/python.exe', 'd:/mozilla-source/mozilla-unified/objdir-frontend-debug-artifact2/config.status']
File "d:\mozilla-source\mozilla-unified\python/mozbuild/mozbuild/build_commands.py", line 163, in build
append_env=append_env,
File "d:\mozilla-source\mozilla-unified\python/mozbuild\mozbuild\controller\building.py", line 1191, in build
self.run_process(args, cwd=self.topobjdir, pass_thru=True)
File "d:\mozilla-source\mozilla-unified\python/mach\mach\mixin\process.py", line 175, in run_process
"Process executed with non-0 exit code %d: %s" % (status, args)

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: No registered users and 1 guest