i converted iceweasel into a mksource PKGBUILD - that probably should have been
done a long time ago, seeing as the PKGBUILD indicates in several places that
it is removing "non-free bits", "pre-built bits", and such

the PKGBUILD needed to change quite a bit; but it should not add to or impede
the workflow - mksource is working well these days - you can make experiments
go smoother by removing {,.sig} from the libre-sourceball URL in the source=()
array - that should prevent the mksource procedure asking to sign it; allowing
the build to complete gracefully in one stage - just remember to set the
checksums for libre-sourceball to 'SKIP' before starting on each new release - i
am trying to confirm that next, and will make it work smoothly if it does not 
now
- we could maybe even add an option to `libremakepkg` like `--devel` to bypass
the signature, even if the PKGBUILD requires one (which they all should in
production); so it would save that extra step

i also tried to delete the mobile/ directory (and re-worked the patches to
account for that); but the build failed in the configure stage - looks like it
would need a bit of de-configuring to make it be less "glean"

....
 |   0:39.15 js/src> creating ./config.data
 |   0:39.19 Creating config.status
 |   0:40.08 Reticulating splines...
 |   0:48.01 Traceback (most recent call last):
 |   0:48.01   File "/build/iceweasel/src/firefox-127.0/configure.py", line 
351, in <module>
 |   0:48.01     sys.exit(main(sys.argv))
 |   0:48.01              ^^^^^^^^^^^^^^
 |   0:48.01   File "/build/iceweasel/src/firefox-127.0/configure.py", line 
176, in main
 |   0:48.01     return config_status(config)
 |   0:48.01            ^^^^^^^^^^^^^^^^^^^^^
 |   0:48.01   File "/build/iceweasel/src/firefox-127.0/configure.py", line 
300, in config_status
 |   0:48.01     return config_status(args=[], **sanitized_config)
 |   0:48.01            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 |   0:48.01   File 
"/build/iceweasel/src/firefox-127.0/python/mozbuild/mozbuild/config_status.py", 
line 201, in config_status
 |   0:48.01     pool = BackendPool(definitions, processes=processes)
 |   0:48.01            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 |   0:48.01   File 
"/build/iceweasel/src/firefox-127.0/python/mozbuild/mozbuild/config_status.py", 
line 54, in __init__
 |   0:48.01     definitions = list(definitions)
 |   0:48.01                   ^^^^^^^^^^^^^^^^^
 |   0:48.01   File 
"/build/iceweasel/src/firefox-127.0/python/mozbuild/mozbuild/frontend/emitter.py",
 line 156, in emit
 |   0:48.01     objs = list(emitfn(out))
 |   0:48.01            ^^^^^^^^^^^^^^^^^
 |   0:48.01   File 
"/build/iceweasel/src/firefox-127.0/python/mozbuild/mozbuild/frontend/emitter.py",
 line 1332, in emit_from_context
 |   0:48.01     for obj in self._process_generated_files(context):
 |   0:48.01   File 
"/build/iceweasel/src/firefox-127.0/python/mozbuild/mozbuild/frontend/emitter.py",
 line 1720, in _process_generated_files
 |   0:48.01     raise SandboxValidationError(
 |   0:48.01 mozbuild.frontend.reader.SandboxValidationError:
 |   0:48.01 ==============================
 |   0:48.01 FATAL ERROR PROCESSING MOZBUILD FILE
 |   0:48.01 ==============================
 |   0:48.01
 |   0:48.01 The error occurred while processing the following file or one of 
the files it includes:
 |   0:48.01
 |   0:48.01     
/build/iceweasel/src/firefox-127.0/toolkit/components/glean/moz.build
 |   0:48.01
 |   0:48.01 The error occurred when validating the result of the execution. 
The reported error is:
 |   0:48.01
 |   0:48.01     Input for generating ('GleanMetrics.h', 
'GleanJSMetricsLookup.h', 'GleanJSMetricsLookup.cpp', 'api/src/metrics.rs') 
does not exist: 
/build/iceweasel/src/firefox-127.0/mobile/android/actors/metrics.yaml
_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to