On Fri, 20 Oct 2017 13:08:17 +0200
Normand <normand(a)linux.vnet.ibm.com> wrote:
On 19/10/2017 17:56, Dan Horák wrote:
> Hi,
>
> there is official mercurial repo [1] and official git clone [2] for
> FF
>
> I've started with mercurial one (next time I will use the git one),
> so I do
>
> # updates SKIA for big endians - you can skip for ppc64le
> hg import -u jenkins -m "build-big-endian"
>
https://src.fedoraproject.org/fork/sharkcz/rpms/firefox/raw/next/f/build-...
>
> # curl - seems needed even for ppc64le, I plan to upstream it after
> # fixing
> hg import -u jenkins -m "curl"
>
https://src.fedoraproject.org/fork/sharkcz/rpms/firefox/raw/next/f/build-...
>
> and I start the build with (you can drop the MAKE_FLAGS)
>
> # build (serial) with everything bundled
> make -f client.mk MOZ_MAKE_FLAGS="-j1"
>
> before the start I've installed the dependencies for the FF rpm with
> "dnf builddep firefox.spec", but not all of them are used for the
> "default" build. I use F-26 as the build environment.
>
> October 3rd seems to the last date in the period of green builds,
> later some issues appeared.
>
>
> [1]
>
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_In...
> [2]
https://github.com/mozilla/gecko-dev
>
>
> Dan
Thank you Dan for the details,
I tried to follow the described actions but bootstrap failed on
rust_init as extracted below. (I tried in a fc26 ppc64le guest)
Did you made something specific for bootstrap ?
I didn't do any bootstrap
for the first time run
fedpkg co firefox; cd firefox; dnf builddep firefox.spec
-> should install rust and cargo locally (plus a number of libs), the
versions in F-26 are good enough for FF and should be properly detected
then
get the sources
make -f client.mk
should be enough to get the build running
Dan
>
> ===
> $python bootstrap.py
> ...
> Could not find a Rust compiler.
> Will try to install Rust.
> Downloading rustup-init... Ok
> Running rustup-init...
> Traceback (most recent call last):
> File "bootstrap.py", line 172, in <module>
> sys.exit(main(sys.argv))
> File "bootstrap.py", line 163, in main
> dasboot.bootstrap()
> File "/tmp/tmpXX5kPL/mozboot/bootstrap.py", line 300, in bootstrap
>
> File "/tmp/tmpXX5kPL/mozboot/base.py", line 639, in
> ensure_rust_modern File "/tmp/tmpXX5kPL/mozboot/base.py", line 682,
> in install_rust File "/usr/lib64/python2.7/subprocess.py", line 181,
> in check_call retcode = call(*popenargs, **kwargs)
> File "/usr/lib64/python2.7/subprocess.py", line 168, in call
> return Popen(*popenargs, **kwargs).wait()
> File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__
> errread, errwrite)
> File "/usr/lib64/python2.7/subprocess.py", line 1024, in
> _execute_child raise child_exception
> OSError: [Errno 8] Exec format error
> ===
> --
> Michel Normand
> _______________________________________________
> ppc mailing list -- ppc(a)lists.fedoraproject.org
> To unsubscribe send an email to ppc-leave(a)lists.fedoraproject.org