Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 61 #42631

Closed
wants to merge 4 commits into from
Closed

Firefox 61 #42631

wants to merge 4 commits into from

Conversation

andir
Copy link
Member

@andir andir commented Jun 26, 2018

Motivation for this change

Update to latest stable firefox version.

The build of the firefox expression fails with some obscure error that I wasn't able to track down yet: https://gist.github.com/andir/dae2826e357dbe61a69db8f7c517c1f9

A noteable difference is that the newer firefox versions now ALSO require python3 for some scripts while stil expecting python2 to be available.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nss

Partial log (click to expand)

    c7 ab 40 68
moduleSpec configdir='' certPrefix='' keyPrefix='' secmod='' flags=noCertDB, noModDB
Generate a DSA key pair ...
Moving /nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38/bin to /nix/store/scyqzjph98kkgy1s8w00zxlidx1a4zg5-nss-3.38-tools/bin
rmdir: failed to remove '/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38': Directory not empty
Moving /nix/store/scyqzjph98kkgy1s8w00zxlidx1a4zg5-nss-3.38-tools/bin/nss-config to /nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/bin/nss-config
rmdir: failed to remove '/nix/store/scyqzjph98kkgy1s8w00zxlidx1a4zg5-nss-3.38-tools/bin': Directory not empty
Moving /nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38/lib/libcrmf.a to /nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/lib/libcrmf.a
rmdir: failed to remove '/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38/lib': Directory not empty
/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nss

Partial log (click to expand)

    79 24 0e 18
moduleSpec configdir='' certPrefix='' keyPrefix='' secmod='' flags=noCertDB, noModDB
Generate a DSA key pair ...
Moving /nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38/bin to /nix/store/4qzrwhfad1p6m50r3vn6ix495np63snr-nss-3.38-tools/bin
rmdir: failed to remove '/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38': Directory not empty
Moving /nix/store/4qzrwhfad1p6m50r3vn6ix495np63snr-nss-3.38-tools/bin/nss-config to /nix/store/4mp6hyis4wwj1ffsnn6y740n1ry7qvic-nss-3.38-dev/bin/nss-config
rmdir: failed to remove '/nix/store/4qzrwhfad1p6m50r3vn6ix495np63snr-nss-3.38-tools/bin': Directory not empty
Moving /nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38/lib/libcrmf.a to /nix/store/4mp6hyis4wwj1ffsnn6y740n1ry7qvic-nss-3.38-dev/lib/libcrmf.a
rmdir: failed to remove '/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38/lib': Directory not empty
/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nss

Partial log (click to expand)

    fb 07 99 97
moduleSpec configdir='' certPrefix='' keyPrefix='' secmod='' flags=noCertDB, noModDB
Generate a DSA key pair ...
Moving /nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38/bin to /nix/store/1j2fw3kchnmmmfcw9caxpbhz75bav936-nss-3.38-tools/bin
rmdir: failed to remove '/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38': Directory not empty
Moving /nix/store/1j2fw3kchnmmmfcw9caxpbhz75bav936-nss-3.38-tools/bin/nss-config to /nix/store/wx4bkjkq70j91afl2hnbirvvqjp9cqi9-nss-3.38-dev/bin/nss-config
rmdir: failed to remove '/nix/store/1j2fw3kchnmmmfcw9caxpbhz75bav936-nss-3.38-tools/bin': Directory not empty
Moving /nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38/lib/libcrmf.a to /nix/store/wx4bkjkq70j91afl2hnbirvvqjp9cqi9-nss-3.38-dev/lib/libcrmf.a
rmdir: failed to remove '/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38/lib': Directory not empty
/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38

@oxij
Copy link
Member

oxij commented Jun 26, 2018 via email

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: firefoxPackages.tor-browser

Partial log (click to expand)

warning: SQLite database '/nix/var/nix/db/db.sqlite' is busy
waiting for locks or build slots...
copying path '/nix/store/mbc6z3vjzaksr0b6h46jzpjrwbl285b6-libevent-2.1.8-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/g0fhflc875yf3vkjmw3fgjiw3xr5d506-dbus-glib-0.110-dev' from 'https://cache.nixos.org'...
acquiring/releasing lock: Resource deadlock avoided
copying path '/nix/store/lanji56xqpc73mkgz1jhsnp6mbvjp67d-libvpx-1.7.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/kxwc18m8k0ncja0pns0y8jca8qs2lj4w-cargo-bootstrap-1.26.1' from 'https://cache.nixos.org'...
waiting for locks or build slots...
cannot build derivation '/nix/store/ih7x1jhkz4jcyh2qd07hilgm4wxzzp1d-tor-browser-unwrapped-7.5.5.drv': 3 dependencies couldn't be built
error: build of '/nix/store/ih7x1jhkz4jcyh2qd07hilgm4wxzzp1d-tor-browser-unwrapped-7.5.5.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: firefoxPackages.firefox

Partial log (click to expand)

Hunk #1 succeeded at 37 (offset 1 line).
patching file toolkit/content/jar.mn
Hunk #1 succeeded at 38 (offset -2 lines).
applying patch /nix/store/hbznxg0w5nb08wdy9knvzlghd4l1im1h-aarch64-skia.patch
patching file gfx/skia/skia/src/jumper/SkJumper_stages.cpp
Hunk #1 FAILED at 666.
Hunk #2 FAILED at 686.
2 out of 2 hunks FAILED -- saving rejects to file gfx/skia/skia/src/jumper/SkJumper_stages.cpp.rej
builder for '/nix/store/w19g9cksa4rbkran995hdmpysqxplmqq-firefox-unwrapped-61.0.drv' failed with exit code 1
error: build of '/nix/store/w19g9cksa4rbkran995hdmpysqxplmqq-firefox-unwrapped-61.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: firefoxPackages.firefox

Partial log (click to expand)

                     ^~~~
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_js_src8.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_WASM_GLOBAL -DWASM_HUGE_MEMORY -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES '-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DMOZ_HAS_MOZGLUE -I/build/firefox-61.0/js/src -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src/js-confdefs.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O3 -fomit-frame-pointer -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -I/nix/store/p2mffbw6fbx0jy1iyzxha5kqw58kirab-libffi-3.2.1-dev/include -Wno-shadow -Werror=format -fno-strict-aliasing  -MD -MP -MF .deps/Unified_cpp_js_src8.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src/Unified_cpp_js_src8.cpp
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_js_src9.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_WASM_GLOBAL -DWASM_HUGE_MEMORY -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DJS_HAS_CTYPES '-DDLL_PREFIX="lib"' '-DDLL_SUFFIX=".so"' -DMOZ_HAS_MOZGLUE -I/build/firefox-61.0/js/src -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src/js-confdefs.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -Wno-noexcept-type -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O3 -fomit-frame-pointer -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -I/nix/store/p2mffbw6fbx0jy1iyzxha5kqw58kirab-libffi-3.2.1-dev/include -Wno-shadow -Werror=format -fno-strict-aliasing  -MD -MP -MF .deps/Unified_cpp_js_src9.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src/Unified_cpp_js_src9.cpp
make[3]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu/js/src'
make[2]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu'
make[1]: *** [/build/firefox-61.0/config/recurse.mk:33: compile] Error 2
make[1]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu'
make: *** [/build/firefox-61.0/config/rules.mk:418: default] Error 2
builder for '/nix/store/akdb9ypv8zw43q7qvn6ffxhcl1ilm4zd-firefox-unwrapped-61.0.drv' failed with exit code 2
error: build of '/nix/store/akdb9ypv8zw43q7qvn6ffxhcl1ilm4zd-firefox-unwrapped-61.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: firefoxPackages.tor-browser

Partial log (click to expand)

shrinking /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5/lib/firefox-52.8.1/libnss3.so
shrinking /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5/lib/firefox-52.8.1/libnssutil3.so
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5/lib  /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5/bin
patching script interpreter paths in /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5
/nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5/lib/firefox-52.8.1/run-mozilla.sh: interpreter directive changed from "/bin/sh" to "/nix/store/8zkg9ac4s4alzyf4a8kfrig1j73z66dw-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5...
running install tests
Mozilla Firefox 52.8.1
/nix/store/p9x6g0851zqdxvr1a41qjrw0hdmbf5mz-tor-browser-unwrapped-7.5.5

@oxij
Copy link
Member

oxij commented Jun 27, 2018 via email

@andir
Copy link
Member Author

andir commented Jun 27, 2018

The firefox on aarch64 error should be fixed now. I'll wait for graham to report the same issue I produced locally on two machines. Maybe the solution will become obvious to me on the meantime...

Another change that we can attempt is to enable WebRTC on aarch64 again. So far it is still disabled.

@andir
Copy link
Member Author

andir commented Jun 27, 2018

@GrahamcOfBorg build firefox firefox-bin

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: firefox, firefox-bin

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: firefox

The following builds were skipped because they don't evaluate on x86_64-linux: firefox-bin

Partial log (click to expand)

glibPreFixupPhase
glibPreFixupPhase
hicolorPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/a5ncwjj17rg8q50nk0n1bmr83jy7sr32-adwaita-icon-theme-3.28.0
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/a5ncwjj17rg8q50nk0n1bmr83jy7sr32-adwaita-icon-theme-3.28.0
checking for references to /build in /nix/store/a5ncwjj17rg8q50nk0n1bmr83jy7sr32-adwaita-icon-theme-3.28.0...
cannot build derivation '/nix/store/zpsklm7mbq4zbqvw1lvr690r6f1gv8ww-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zpsklm7mbq4zbqvw1lvr690r6f1gv8ww-firefox-61.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nss

Partial log (click to expand)

these derivations will be built:
  /nix/store/3gf595qb86ysqp4vydh6xsrrbjvj7chj-nss-3.38.drv
waiting for locks or build slots...
/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: firefox

The following builds were skipped because they don't evaluate on aarch64-linux: firefox-bin

Partial log (click to expand)

make[3]: *** [/build/firefox-61.0/config/rules.mk:950: force-cargo-library-build] Error 101
make[3]: Leaving directory '/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/toolkit/library/rust'
make[2]: *** [/build/firefox-61.0/config/recurse.mk:73: toolkit/library/rust/target] Error 2
make[2]: Leaving directory '/build/firefox-61.0/obj-aarch64-unknown-linux-gnu'
make[1]: *** [/build/firefox-61.0/config/recurse.mk:33: compile] Error 2
make[1]: Leaving directory '/build/firefox-61.0/obj-aarch64-unknown-linux-gnu'
make: *** [/build/firefox-61.0/config/rules.mk:418: default] Error 2
builder for '/nix/store/6lz8l8h32qal3i8p540x7f2lxw6rz70d-firefox-unwrapped-61.0.drv' failed with exit code 2
cannot build derivation '/nix/store/0qdxrw6jb3hadvy0m5lljh9fbzm5lavq-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0qdxrw6jb3hadvy0m5lljh9fbzm5lavq-firefox-61.0.drv' failed

@andir
Copy link
Member Author

andir commented Jun 27, 2018

I reordered the commits since technically the firefox-bin also wants a newer nss.
The Firefox expression now has a new case fire versions >=61 to adjust our c++lib paths. I hope that fixes the build issues.

Will be gone for most of the day. Feel free to carry on from here. :)

@GrahamcOfBorg build firefox

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: firefox

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: firefox

Partial log (click to expand)

                ^
make[3]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu/layout/style'
make[3]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu/editor/libeditor'
make[2]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu'
make[1]: *** [/build/firefox-61.0/config/recurse.mk:33: compile] Error 2
make[1]: Leaving directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu'
make: *** [/build/firefox-61.0/config/rules.mk:418: default] Error 2
builder for '/nix/store/nim63rrrqwvq6ldliyb3vax7lv31028q-firefox-unwrapped-61.0.drv' failed with exit code 2
cannot build derivation '/nix/store/kclvky25dng8h960wizih72npays79s4-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/kclvky25dng8h960wizih72npays79s4-firefox-61.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: firefox

Partial log (click to expand)

'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
   Compiling gkrust v0.1.0 (file:///build/firefox-61.0/toolkit/library/rust)
'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
building of '/nix/store/mvvck3nk30bpfpj17ri4s6j0qjkp25vy-firefox-unwrapped-61.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/qdpann0fkyh4xampwbqw95sb5wwdi5r4-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/qdpann0fkyh4xampwbqw95sb5wwdi5r4-firefox-61.0.drv' failed

@7c6f434c
Copy link
Member

7c6f434c commented Jun 27, 2018 via email

@andir
Copy link
Member Author

andir commented Jun 27, 2018

After a bit of digging it seems like the moz.build in the widget/gtk directory is missing a CXXFLAGS += CONFIG['GLIB_CFLAGS'] line. I am testing that locally right now.

@andir
Copy link
Member Author

andir commented Jun 27, 2018

Even with the (prossbily missing?) include path (which works on other distros..) The error remains the same:

/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_widget_gtk0.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers
 -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DCAIRO_GFX '-DMOZ_APP_NAME="firefox"' -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/fir
efox-61.0/widget/gtk -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/widget/gtk -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox
-61.0/layout/generic -I/build/firefox-61.0/layout/xul -I/build/firefox-61.0/other-licenses/atk-1.0 -I/build/firefox-61.0/widget -I/build/firefox-61.0/widget/headless -I/build/firefox-61.0/widget/x11 -I/build/firefox-61.0/obj-x86_64-
pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include
/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare
 -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=fre
e-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-ma
th-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -I/nix/store/xvf830ng429ds6z66h9dlbzvyiyz45ma-libstartup-notification-0.12/include/startup-not
ification-1.0 -I/build/firefox-61.0/widget/gtk/compat-gtk3 -I/nix/store/hccq34ac0d7dd0c0wfilk9zr9g8y9ha5-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/kcsi934n6paxnhzqh1hjir4glm9qbrc0-glib-2.56.0/lib/glib-2.0/include -I/nix/store/h8
9z2barm3f92cs6z4q05gn9r6f44xmv-cairo-1.15.12-dev/include/cairo -I/nix/store/s01150z6w6dbxgzqch3pms55sz8sqzqh-freetype-2.9-dev/include/freetype2 -I/nix/store/s01150z6w6dbxgzqch3pms55sz8sqzqh-freetype-2.9-dev/include -I/nix/store/2fjy
2kf8cy4phf1fl3v2mc1vgk6gapf2-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/kvpd70mcsspzkqy7znd1qam1l7yncp2k-gdk-pixbuf-2.36.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/g8s8n4sw049rjkmqyc3mcjywwqdpz7ab-atk-2.28.1-dev/include/atk-1.
0 -I/nix/store/kgdk9ajnvaxl9xa7nnqn9alv1adczvvg-gtk+3-3.22.30-dev/include/gtk-3.0/unix-print -I/nix/store/kgdk9ajnvaxl9xa7nnqn9alv1adczvvg-gtk+3-3.22.30-dev/include/gtk-3.0 -I/nix/store/hccq34ac0d7dd0c0wfilk9zr9g8y9ha5-glib-2.56.0-d
ev/include/glib-2.0 -I/nix/store/kcsi934n6paxnhzqh1hjir4glm9qbrc0-glib-2.56.0/lib/glib-2.0/include -I/nix/store/64rpri1x5j9zdw8k40s7ikqmrii995zv-dbus-1.12.8-dev/include/dbus-1.0 -I/nix/store/zsdc9z1vn8nhf3gb9j69r55qb1calqb6-dbus-1.1
2.8-lib/lib/dbus-1.0/include -I/nix/store/rsgwkq0k925lxs38ds45v2qv7lfg0f2q-dbus-glib-0.110-dev/include/dbus-1.0 -Wno-error=shadow -I/nix/store/hccq34ac0d7dd0c0wfilk9zr9g8y9ha5-glib-2.56.0-dev/include/glib-2.0/  -MD -MP -MF .deps/Uni
fied_cpp_widget_gtk0.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/widget/gtk/Unified_cpp_widget_gtk0.cpp
In file included from /build/firefox-61.0/obj-x86_64-pc-linux-gnu/widget/gtk/Unified_cpp_widget_gtk2.cpp:20:0:
/build/firefox-61.0/widget/gtk/nsPrintDialogGTK.cpp:36:10: fatal error: gio/gunixfdlist.h: No such file or directory
 #include <gio/gunixfdlist.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/build/firefox-61.0/config/rules.mk:1030: Unified_cpp_widget_gtk2.o] Error 1

Any further ideas?

@7c6f434c
Copy link
Member

Maybe just brute-enforce the include path? We can calculate if from ${glib}, after all.

@andir
Copy link
Member Author

andir commented Jun 28, 2018 via email

@7c6f434c
Copy link
Member

7c6f434c commented Jun 28, 2018 via email

@andir
Copy link
Member Author

andir commented Jun 28, 2018

That could work although I wonder why that would make a difference? It also bothers me that such a trivial update causes such pain again. Looked at other distros diff's for the 60->61 transition it looked like expected

I'll probably give it another shot during the day.. As soon as I gained some motivation. :beach:

@vcunat
Copy link
Member

vcunat commented Jun 28, 2018

Most distros have all includes "on a single place" (same for all of them), so e.g. hard-coded paths would "just work".

@andir
Copy link
Member Author

andir commented Jun 28, 2018

This should do it. I am still looking for a more proper fix in the mozillas build system that we can upstream. IMO they are missing an pkg-config call for gio-unix-2.0.

@GrahamcOfBorg build firefox

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: firefox

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nss

Partial log (click to expand)

these derivations will be built:
  /nix/store/3gf595qb86ysqp4vydh6xsrrbjvj7chj-nss-3.38.drv
waiting for locks or build slots...
/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: firefox

Partial log (click to expand)

/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_dom_events1.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/events -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/events -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/docshell/base -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/storage -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/xul -I/build/firefox-61.0/layout/xul/tree -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow  -MD -MP -MF .deps/Unified_cpp_dom_events1.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/events/Unified_cpp_dom_events1.cpp
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o UnifiedBindings5.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/bindings -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/bindings -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/battery -I/build/firefox-61.0/dom/canvas -I/build/firefox-61.0/dom/geolocation -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/indexedDB -I/build/firefox-61.0/dom/media/webaudio -I/build/firefox-61.0/dom/media/webspeech/recognition -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/xbl -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xslt/base -I/build/firefox-61.0/dom/xslt/xpath -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/js/xpconnect/src -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/style -I/build/firefox-61.0/layout/xul/tree -I/build/firefox-61.0/media/mtransport -I/build/firefox-61.0/media/webrtc -I/build/firefox-61.0/media/webrtc/signaling/src/common/time_profiling -I/build/firefox-61.0/media/webrtc/signaling/src/peerconnection -I/build/firefox-61.0/media/webrtc/trunk -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow -Wno-maybe-uninitialized  -MD -MP -MF .deps/UnifiedBindings5.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/bindings/UnifiedBindings5.cpp
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_dom_events2.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/events -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/events -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/docshell/base -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/storage -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/xul -I/build/firefox-61.0/layout/xul/tree -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow  -MD -MP -MF .deps/Unified_cpp_dom_events2.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/events/Unified_cpp_dom_events2.cpp
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o UnifiedBindings6.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/bindings -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/bindings -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/battery -I/build/firefox-61.0/dom/canvas -I/build/firefox-61.0/dom/geolocation -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/indexedDB -I/build/firefox-61.0/dom/media/webaudio -I/build/firefox-61.0/dom/media/webspeech/recognition -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/xbl -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xslt/base -I/build/firefox-61.0/dom/xslt/xpath -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/js/xpconnect/src -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/style -I/build/firefox-61.0/layout/xul/tree -I/build/firefox-61.0/media/mtransport -I/build/firefox-61.0/media/webrtc -I/build/firefox-61.0/media/webrtc/signaling/src/common/time_profiling -I/build/firefox-61.0/media/webrtc/signaling/src/peerconnection -I/build/firefox-61.0/media/webrtc/trunk -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -Wno-error=shadow -Wno-maybe-uninitialized  -MD -MP -MF .deps/UnifiedBindings6.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/bindings/UnifiedBindings6.cpp
make[3]: Entering directory '/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/fetch'
mkdir -p '.deps/'
/nix/store/yz6kinf4ia19r1c14yirl6x4ciwgzk67-gcc-wrapper-7.3.0/bin/g++ -o Unified_cpp_dom_fetch0.o -c -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/fetch -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/fetch -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/netwerk/base -I/build/firefox-61.0/netwerk/protocol/data -I/build/firefox-61.0/netwerk/protocol/http -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/obj-x86_64-pc-linux-gnu/dist/include -I/nix/store/ldf2jk9n7m90nmj23a5r09c1q15wcl2f-nspr-4.19-dev/include -I/nix/store/8c7baa4rsh931m4344r8q345pjkvmaz8-nss-3.38-dev/include/nss -I/nix/store/bdbnng4ss7s2imqrlaq62p8nsjdrj09b-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-x86_64-pc-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/2s3dnj7m9ak0sdxx4hwvi5md11qskf0n-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer  -MD -MP -MF .deps/Unified_cpp_dom_fetch0.o.pp   /build/firefox-61.0/obj-x86_64-pc-linux-gnu/dom/fetch/Unified_cpp_dom_fetch0.cpp
building of '/nix/store/ccjr40f4j6wkkds2x1kp6hkaf2sq6lka-firefox-unwrapped-61.0.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/zwxa11nns56c0kmhy45zvm362w76i3sm-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zwxa11nns56c0kmhy45zvm362w76i3sm-firefox-61.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38

@7c6f434c
Copy link
Member

This removes Aarch64 support for Firefox?

@andir
Copy link
Member Author

andir commented Jun 28, 2018

@7c6f434c no it should not. It just removes a patch that was needed there with the last version. There are probably new issues with that the new version..

I am currently trying to figure out what the more beautiful way of fixing the include issue is and then (if nobody else felt like it) will look at aarch64.

@7c6f434c
Copy link
Member

Ah, sorry, I must have mixed up the build attempts

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: firefox

Partial log (click to expand)

/nix/store/qmm2nb9kizba06zfpqnj23a55bvbzrbj-gcc-wrapper-7.3.0/bin/g++ -o nsGlobalWindowInner.o -c -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dom/base -I/build/firefox-61.0/dom/battery -I/build/firefox-61.0/dom/events -I/build/firefox-61.0/dom/media -I/build/firefox-61.0/dom/network -I/build/firefox-61.0/caps -I/build/firefox-61.0/docshell/base -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/file -I/build/firefox-61.0/dom/geolocation -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/ipc -I/build/firefox-61.0/dom/storage -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/u2f -I/build/firefox-61.0/dom/xbl -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xslt/xpath -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/gfx/2d -I/build/firefox-61.0/image -I/build/firefox-61.0/js/xpconnect/loader -I/build/firefox-61.0/js/xpconnect/src -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/base -I/build/firefox-61.0/layout/forms -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/style -I/build/firefox-61.0/layout/svg -I/build/firefox-61.0/layout/xul -I/build/firefox-61.0/netwerk/base -I/build/firefox-61.0/security/manager/ssl -I/build/firefox-61.0/widget -I/build/firefox-61.0/xpcom/ds -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/include -I/nix/store/s7dbrr9fg4mbg8rxy1xn0x1m48iiybdb-nspr-4.19-dev/include -I/nix/store/wx4bkjkq70j91afl2hnbirvvqjp9cqi9-nss-3.38-dev/include/nss -I/nix/store/fkyzyx7zq5ja1k9rif4b9dzcx665d39f-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-aarch64-unknown-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/lxfl2sckz6w93kh3hkjykjbrhq8cqdsd-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -I/build/firefox-61.0/widget/gtk/compat-gtk3 -I/nix/store/vsb9c4zfyg8dfs7vg66rifr51074swma-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/fp3prj7glhag7c2bginvfcwx8c85fd75-glib-2.56.0/lib/glib-2.0/include -I/nix/store/09vsy647w8vl50qnsl4njn56nl4r217c-cairo-1.15.12-dev/include/cairo -I/nix/store/frahy71r0r0lmlznf6jplg7r906qff71-freetype-2.9-dev/include/freetype2 -I/nix/store/frahy71r0r0lmlznf6jplg7r906qff71-freetype-2.9-dev/include -I/nix/store/yiba4k1gkaa2ijwq3yq0ha32swzvpkh9-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/sqlgz4c1617ib8nzbfqxry66ja3qxhba-gdk-pixbuf-2.36.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/flmk1wfhxfc56kzgzgpqwwa0zs7p8zj0-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/7a6rampz677mdfvqiw8mpzlywism65da-gtk+3-3.22.30-dev/include/gtk-3.0/unix-print -I/nix/store/7a6rampz677mdfvqiw8mpzlywism65da-gtk+3-3.22.30-dev/include/gtk-3.0 -Wno-error=shadow  -MD -MP -MF .deps/nsGlobalWindowInner.o.pp   /build/firefox-61.0/dom/base/nsGlobalWindowInner.cpp
/nix/store/qmm2nb9kizba06zfpqnj23a55bvbzrbj-gcc-wrapper-7.3.0/bin/g++ -o nsFrameMessageManager.o -c -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/stl_wrappers -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/system_wrappers -include /build/firefox-61.0/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_SIDEBAR -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dom/base -I/build/firefox-61.0/dom/battery -I/build/firefox-61.0/dom/events -I/build/firefox-61.0/dom/media -I/build/firefox-61.0/dom/network -I/build/firefox-61.0/caps -I/build/firefox-61.0/docshell/base -I/build/firefox-61.0/dom/base -I/build/firefox-61.0/dom/file -I/build/firefox-61.0/dom/geolocation -I/build/firefox-61.0/dom/html -I/build/firefox-61.0/dom/ipc -I/build/firefox-61.0/dom/storage -I/build/firefox-61.0/dom/svg -I/build/firefox-61.0/dom/u2f -I/build/firefox-61.0/dom/xbl -I/build/firefox-61.0/dom/xml -I/build/firefox-61.0/dom/xslt/xpath -I/build/firefox-61.0/dom/xul -I/build/firefox-61.0/gfx/2d -I/build/firefox-61.0/image -I/build/firefox-61.0/js/xpconnect/loader -I/build/firefox-61.0/js/xpconnect/src -I/build/firefox-61.0/js/xpconnect/wrappers -I/build/firefox-61.0/layout/base -I/build/firefox-61.0/layout/forms -I/build/firefox-61.0/layout/generic -I/build/firefox-61.0/layout/style -I/build/firefox-61.0/layout/svg -I/build/firefox-61.0/layout/xul -I/build/firefox-61.0/netwerk/base -I/build/firefox-61.0/security/manager/ssl -I/build/firefox-61.0/widget -I/build/firefox-61.0/xpcom/ds -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/ipc/ipdl/_ipdlheaders -I/build/firefox-61.0/ipc/chromium/src -I/build/firefox-61.0/ipc/glue -I/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dist/include -I/nix/store/s7dbrr9fg4mbg8rxy1xn0x1m48iiybdb-nspr-4.19-dev/include -I/nix/store/wx4bkjkq70j91afl2hnbirvvqjp9cqi9-nss-3.38-dev/include/nss -I/nix/store/fkyzyx7zq5ja1k9rif4b9dzcx665d39f-pixman-0.34.0/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /build/firefox-61.0/obj-aarch64-unknown-linux-gnu/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++1z-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/lxfl2sckz6w93kh3hkjykjbrhq8cqdsd-icu4c-59.1-dev/include -g -freorder-blocks -O2 -fomit-frame-pointer -I/build/firefox-61.0/widget/gtk/compat-gtk3 -I/nix/store/vsb9c4zfyg8dfs7vg66rifr51074swma-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/fp3prj7glhag7c2bginvfcwx8c85fd75-glib-2.56.0/lib/glib-2.0/include -I/nix/store/09vsy647w8vl50qnsl4njn56nl4r217c-cairo-1.15.12-dev/include/cairo -I/nix/store/frahy71r0r0lmlznf6jplg7r906qff71-freetype-2.9-dev/include/freetype2 -I/nix/store/frahy71r0r0lmlznf6jplg7r906qff71-freetype-2.9-dev/include -I/nix/store/yiba4k1gkaa2ijwq3yq0ha32swzvpkh9-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/sqlgz4c1617ib8nzbfqxry66ja3qxhba-gdk-pixbuf-2.36.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/flmk1wfhxfc56kzgzgpqwwa0zs7p8zj0-atk-2.28.1-dev/include/atk-1.0 -I/nix/store/7a6rampz677mdfvqiw8mpzlywism65da-gtk+3-3.22.30-dev/include/gtk-3.0/unix-print -I/nix/store/7a6rampz677mdfvqiw8mpzlywism65da-gtk+3-3.22.30-dev/include/gtk-3.0 -Wno-error=shadow  -MD -MP -MF .deps/nsFrameMessageManager.o.pp   /build/firefox-61.0/dom/base/nsFrameMessageManager.cpp
make[3]: Leaving directory '/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dom/canvas'
make[3]: Leaving directory '/build/firefox-61.0/obj-aarch64-unknown-linux-gnu/dom/base'
   Compiling webrender_bindings v0.1.0 (file:///build/firefox-61.0/gfx/webrender_bindings)
'+fp' is not a recognized feature for this target (ignoring feature)
'+fp' is not a recognized feature for this target (ignoring feature)
building of '/nix/store/g9i22l6mzs6pnin2zizg6pmbnzhy5dcx-firefox-unwrapped-61.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/8p57fagrzznqfyj7yss7jimy6cihbrin-firefox-61.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/8p57fagrzznqfyj7yss7jimy6cihbrin-firefox-61.0.drv' failed

@andir
Copy link
Member Author

andir commented Jun 28, 2018

The aarch64 error is something along the lines of:

https://gist.github.com/andir/92844a5e6f9cea8f6fcaded61a3b0629

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/kwajd1226yz98lvpkrkn6cpiq07n8dql-nss-3.38

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/ahkjn00kzzxfk9kkz41cp31q2ljsmiyp-nss-3.38

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: nss

Partial log (click to expand)

/nix/store/mvkh0yh09vwjac685c89309dmkpvkqk5-nss-3.38

@oxij
Copy link
Member

oxij commented Jun 28, 2018 via email

@andir
Copy link
Member Author

andir commented Jun 28, 2018

Thanks @oxij I can probably close this case then and move on with my life :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants