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

prepare for a swtich to libcardiacarrest #36657

Merged
merged 9 commits into from Mar 9, 2018

Conversation

oxij
Copy link
Member

@oxij oxij commented Mar 9, 2018

Motivation for this change

Side-effect of me building everything with libcardiacarrest instead of libpulseaudio (see #35374). This patchset continues adding new parts needed for the switch and fixing existing parts that would break after the switch. Also some OCD fixes.

This part should not cause a mass rebuild.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
  • 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/)
  • Fits CONTRIBUTING.md.

@oxij
Copy link
Member Author

oxij commented Mar 9, 2018

@GrahamcOfBorg build apulse pamixer

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1
shrinking /nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1/bin/pamixer
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1/bin 
patching script interpreter paths in /nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1
checking for references to /tmp/nix-build-pamixer-1.3.1.drv-0 in /nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1...
/nix/store/w6ypqkla5vlqcvbl9lcf3zbc3198mjpf-apulse-0.1.11
/nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

these derivations will be built:
  /nix/store/9k3js5y21nnjvrsf946may7w2fswww1y-pamixer-1.3.1.drv
  /nix/store/gsw1h95w0rl1y54a9q1hgnyyn5nlfiqd-apulse-0.1.11.drv
waiting for locks or build slots...
/nix/store/23dvzglpf2s1cnpm437w9n31l2c5xmf4-apulse-0.1.11
/nix/store/h827vsx97r1x5wi260d5va0hqvkd8hxj-pamixer-1.3.1

@oxij
Copy link
Member Author

oxij commented Mar 9, 2018

@GrahamcOfBorg build libcardiacarrest libpressureaudio

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

stripping (with command strip and flags -S) in /nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6/lib 
patching script interpreter paths in /nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6
checking for references to /tmp/nix-build-libcardiacarrest-11.0-6.drv-0 in /nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6...
shrinking RPATHs of ELF executables and libraries in /nix/store/q0pv6gz0a720rak0cljhl9p3nzr35db6-libcardiacarrest-11.0-6-dev
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/q0pv6gz0a720rak0cljhl9p3nzr35db6-libcardiacarrest-11.0-6-dev/lib 
patching script interpreter paths in /nix/store/q0pv6gz0a720rak0cljhl9p3nzr35db6-libcardiacarrest-11.0-6-dev
checking for references to /tmp/nix-build-libcardiacarrest-11.0-6.drv-0 in /nix/store/q0pv6gz0a720rak0cljhl9p3nzr35db6-libcardiacarrest-11.0-6-dev...
/nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6
/nix/store/kzi2nn5ybs34n1hq536wsdzz285a3rpi-libpressureaudio-0.1.11

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11
shrinking /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11/lib/libpulse.so.0
shrinking /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11/lib/libpulse-simple.so.0
shrinking /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11/lib/libpulse-mainloop-glib.so.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11/lib
patching script interpreter paths in /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11
checking for references to /build in /nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11...
/nix/store/yabxv1kl4m3zm7h430jqdfsmlwjh7csg-libcardiacarrest-11.0-6
/nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11

@oxij
Copy link
Member Author

oxij commented Mar 9, 2018

Ok, so I didn't screw up any hashes. The firefoxes I did build and test locally. LGTM.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

patching script interpreter paths in /nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2
/nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2/lib/firefox-52.6.0/run-mozilla.sh: interpreter directive changed from "/bin/sh" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2...
running install tests
Mozilla Firefox 52.6.0
/nix/store/23dvzglpf2s1cnpm437w9n31l2c5xmf4-apulse-0.1.11
/nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2
/nix/store/yabxv1kl4m3zm7h430jqdfsmlwjh7csg-libcardiacarrest-11.0-6
/nix/store/h827vsx97r1x5wi260d5va0hqvkd8hxj-pamixer-1.3.1
/nix/store/vzb0krmysiz8jvwlf81vbzsmxv1aa8v3-vpnc-0.5.3-post-r550

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

these derivations will be built:
  /nix/store/s97gfirgdmn7byk6dcg5lw53qqkfk7fw-tor-browser-unwrapped-7.5.2.drv
waiting for locks or build slots...
/nix/store/23dvzglpf2s1cnpm437w9n31l2c5xmf4-apulse-0.1.11
/nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2
/nix/store/yabxv1kl4m3zm7h430jqdfsmlwjh7csg-libcardiacarrest-11.0-6
/nix/store/rmj4dhsb2l91709wqkdl0f9456b0bcvr-libpressureaudio-0.1.11
/nix/store/h827vsx97r1x5wi260d5va0hqvkd8hxj-pamixer-1.3.1
/nix/store/vzb0krmysiz8jvwlf81vbzsmxv1aa8v3-vpnc-0.5.3-post-r550

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

/nix/store/3pyvmi822abds3fyw6scdzpi655qsp48-tor-browser-unwrapped-7.5.2/lib/firefox-52.6.0/run-mozilla.sh: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0 in /nix/store/3pyvmi822abds3fyw6scdzpi655qsp48-tor-browser-unwrapped-7.5.2...
running install tests
Mozilla Firefox 52.6.0
/nix/store/w6ypqkla5vlqcvbl9lcf3zbc3198mjpf-apulse-0.1.11
/nix/store/3pyvmi822abds3fyw6scdzpi655qsp48-tor-browser-unwrapped-7.5.2
/nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6
/nix/store/kzi2nn5ybs34n1hq536wsdzz285a3rpi-libpressureaudio-0.1.11
/nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1
/nix/store/rs6i7jr8hqyc5g0dk4jp2mhaniyk88iz-vpnc-0.5.3-post-r550

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Partial log (click to expand)

     mActiveElementManager->HandleTouchEndEvent(mEndTouchIsClick);
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/layers/apz/util/APZEventState.cpp:354:3: note: here
   case eTouchMove: {
   ^~~~
/nix/store/gqg2vrcq7krqi9rrl6pphvsg81sb8pjw-gcc-wrapper-7.3.0/bin/g++ -std=gnu++11 -o Unified_cpp_gfx_layers3.o -c -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/chromium/src -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/glue -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/docshell/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/generic -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/media/libyuv/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/config -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/core -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/gpu -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/utils -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include  -I/nix/store/awakf9jkh13hakxnbsy106j3n0gxhc5m-nspr-4.17-dev/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nss    -I/nix/store/8zwkx851l4v782f8jdcvk1lk4z42s8x0-pixman-0.34.0/include/pixman-1   -fPIC  -DMOZILLA_CLIENT -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_gfx_layers3.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/kwdbw37kpgym0a1bnd5yczcsxl84vya4-icu4c-59.1-dev/include  -g -freorder-blocks -Os -fomit-frame-pointer  -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/cairo -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/widget/gtk/compat -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-unix-print-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/25cnpwyhcwja2gx0f5c24k8riyii66nw-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/mrwb1hl55dar8f894m1yjyg6gb8c0sjv-glib-2.54.3-dev/include/glib-2.0 -I/nix/store/4csy6xvbrqxkp3mk6ngxp199xkr476lj-glib-2.54.3/lib/glib-2.0/include -I/nix/store/9zj06n443byvr4r1li68h9s2j4wkwnfn-cairo-1.14.10-dev/include/cairo -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include -I/nix/store/mjd14vm0kmbya4zxniim8f2xby4ymxsc-fontconfig-2.12.1-dev/include -I/nix/store/8ncpzbdgbwg3h8889w67fmb0ay06dpm1-expat-2.2.5-dev/include -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/y2ckrbz9sm236wk9fbbv7xn2va0lqmjc-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/mfkzc3xj5wilhhhi5a1an77v3vjizd61-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/rdlq970yjwi5605xpnxrifjzj2a0af8c-atk-2.26.1-dev/include/atk-1.0 -Wno-error=shadow  /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers/Unified_cpp_gfx_layers3.cpp
/nix/store/gqg2vrcq7krqi9rrl6pphvsg81sb8pjw-gcc-wrapper-7.3.0/bin/g++ -std=gnu++11 -o Unified_cpp_gfx_layers4.o -c -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/chromium/src -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/glue -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/docshell/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/generic -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/media/libyuv/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/config -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/core -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/gpu -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/utils -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include  -I/nix/store/awakf9jkh13hakxnbsy106j3n0gxhc5m-nspr-4.17-dev/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nss    -I/nix/store/8zwkx851l4v782f8jdcvk1lk4z42s8x0-pixman-0.34.0/include/pixman-1   -fPIC  -DMOZILLA_CLIENT -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_gfx_layers4.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/kwdbw37kpgym0a1bnd5yczcsxl84vya4-icu4c-59.1-dev/include  -g -freorder-blocks -Os -fomit-frame-pointer  -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/cairo -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/widget/gtk/compat -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-unix-print-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/25cnpwyhcwja2gx0f5c24k8riyii66nw-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/mrwb1hl55dar8f894m1yjyg6gb8c0sjv-glib-2.54.3-dev/include/glib-2.0 -I/nix/store/4csy6xvbrqxkp3mk6ngxp199xkr476lj-glib-2.54.3/lib/glib-2.0/include -I/nix/store/9zj06n443byvr4r1li68h9s2j4wkwnfn-cairo-1.14.10-dev/include/cairo -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include -I/nix/store/mjd14vm0kmbya4zxniim8f2xby4ymxsc-fontconfig-2.12.1-dev/include -I/nix/store/8ncpzbdgbwg3h8889w67fmb0ay06dpm1-expat-2.2.5-dev/include -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/y2ckrbz9sm236wk9fbbv7xn2va0lqmjc-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/mfkzc3xj5wilhhhi5a1an77v3vjizd61-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/rdlq970yjwi5605xpnxrifjzj2a0af8c-atk-2.26.1-dev/include/atk-1.0 -Wno-error=shadow  /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers/Unified_cpp_gfx_layers4.cpp
/nix/store/gqg2vrcq7krqi9rrl6pphvsg81sb8pjw-gcc-wrapper-7.3.0/bin/g++ -std=gnu++11 -o Unified_cpp_gfx_layers5.o -c -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/stl_wrappers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/system_wrappers -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DGOOGLE_PROTOBUF_NO_RTTI -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/ipc/ipdl/_ipdlheaders -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/chromium/src -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/ipc/glue -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/docshell/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/base -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/layout/generic -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/media/libyuv/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/config -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/core -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/gpu -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/gfx/skia/skia/include/utils -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include  -I/nix/store/awakf9jkh13hakxnbsy106j3n0gxhc5m-nspr-4.17-dev/include -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/nss    -I/nix/store/8zwkx851l4v782f8jdcvk1lk4z42s8x0-pixman-0.34.0/include/pixman-1   -fPIC  -DMOZILLA_CLIENT -include /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/mozilla-config.h -MD -MP -MF .deps/Unified_cpp_gfx_layers5.o.pp  -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wc++1z-compat -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -I/nix/store/kwdbw37kpgym0a1bnd5yczcsxl84vya4-icu4c-59.1-dev/include  -g -freorder-blocks -Os -fomit-frame-pointer  -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/dist/include/cairo -I/tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/widget/gtk/compat -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-unix-print-2.0 -I/nix/store/dxpmgdim6nr1kfkxqkbkvs4csfs3fri3-gtk+-2.24.32-dev/include/gtk-2.0 -I/nix/store/25cnpwyhcwja2gx0f5c24k8riyii66nw-gtk+-2.24.32/lib/gtk-2.0/include -I/nix/store/mrwb1hl55dar8f894m1yjyg6gb8c0sjv-glib-2.54.3-dev/include/glib-2.0 -I/nix/store/4csy6xvbrqxkp3mk6ngxp199xkr476lj-glib-2.54.3/lib/glib-2.0/include -I/nix/store/9zj06n443byvr4r1li68h9s2j4wkwnfn-cairo-1.14.10-dev/include/cairo -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include -I/nix/store/mjd14vm0kmbya4zxniim8f2xby4ymxsc-fontconfig-2.12.1-dev/include -I/nix/store/8ncpzbdgbwg3h8889w67fmb0ay06dpm1-expat-2.2.5-dev/include -I/nix/store/9yksdd65yard03m7ads6mysrxgnnmdss-freetype-2.7.1-dev/include/freetype2 -I/nix/store/y2ckrbz9sm236wk9fbbv7xn2va0lqmjc-pango-1.40.14-dev/include/pango-1.0 -I/nix/store/mfkzc3xj5wilhhhi5a1an77v3vjizd61-gdk-pixbuf-2.36.7-dev/include/gdk-pixbuf-2.0 -I/nix/store/rdlq970yjwi5605xpnxrifjzj2a0af8c-atk-2.26.1-dev/include/atk-1.0 -Wno-error=shadow  /tmp/nix-build-tor-browser-unwrapped-7.5.2.drv-0/tor-browser/obj-x86_64-pc-linux-gnu/gfx/layers/Unified_cpp_gfx_layers5.cpp
building of ‘/nix/store/z6yphhhy08qglm0x2088x6vgiswg9xmy-tor-browser-unwrapped-7.5.2.drv’ timed out after 3600 seconds
error: build of ‘/nix/store/z6yphhhy08qglm0x2088x6vgiswg9xmy-tor-browser-unwrapped-7.5.2.drv’ failed

@@ -7,8 +10,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "i-rinat";
repo = "apulse";
rev = "v${version}";
sha256 = "16l278q0czca2794fj388ql6qn1zrw24a0p6k7bayrrf5h32fdzd";
rev = "602b3a02b4b459d4652a3a0a836fab6f892d4080";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't version gain a suffix in that case?

./env_var_for_system_dir.patch

# this one is actually an omnipresent bug
./fix-pa-context-connect-retval.patch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a link to upstream (Mozilla) issue?

@oxij
Copy link
Member Author

oxij commented Mar 9, 2018 via email

@7c6f434c
Copy link
Member

7c6f434c commented Mar 9, 2018

Re: version: I think a period (or maybe .0., if needed to avoid a collision with patch release numbering scheme) and date in YYYYMMDD or YYYY.MM.DD is used quite widely. I will accept whatever that beaves sanely when split by .

Re: Firefox: I don't want any resolution, I want a link to check a few months later. I.e. a minimal report — yours or preexisting — is enough, the upstream discussion can go with its own pace afterwards.

oxij added 5 commits March 9, 2018 20:48
This adds LOG_TO_STDERR support and uses it for tracing.
This is optional (`libcardiacarrest` has a workaround for this bug
because there's `firefox-bin` that I can't fix), but with this applied things
are a bit smoother.
@oxij
Copy link
Member Author

oxij commented Mar 9, 2018 via email

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/x3abzqnq2f65vr1pfm2gsjl7k69lwd25-libpressureaudio-0.1.11.1/lib 
patching script interpreter paths in /nix/store/x3abzqnq2f65vr1pfm2gsjl7k69lwd25-libpressureaudio-0.1.11.1
checking for references to /tmp/nix-build-libpressureaudio-0.1.11.1.drv-0 in /nix/store/x3abzqnq2f65vr1pfm2gsjl7k69lwd25-libpressureaudio-0.1.11.1...
/nix/store/5bbka1qvbh97kc4dxhj15nfhjcjv85l0-apulse-0.1.11.1
/nix/store/3pyvmi822abds3fyw6scdzpi655qsp48-tor-browser-unwrapped-7.5.2
/nix/store/lzwsbkfz81zczq3051awaqv5q1kpn06m-libcardiacarrest-11.0-6
/nix/store/x3abzqnq2f65vr1pfm2gsjl7k69lwd25-libpressureaudio-0.1.11.1
/nix/store/y63r20d3f2m0kz3qxirddibrdppnjrvv-pamixer-1.3.1
/nix/store/rs6i7jr8hqyc5g0dk4jp2mhaniyk88iz-vpnc-0.5.3-post-r550

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/4aqz99q32bvcx1g564n0mpfajcpbvgpg-libpressureaudio-0.1.11.1/lib
patching script interpreter paths in /nix/store/4aqz99q32bvcx1g564n0mpfajcpbvgpg-libpressureaudio-0.1.11.1
checking for references to /build in /nix/store/4aqz99q32bvcx1g564n0mpfajcpbvgpg-libpressureaudio-0.1.11.1...
/nix/store/22pgm6sasamqc8p619gm1n0zn7wav4c7-apulse-0.1.11.1
/nix/store/m25payxhl7rfas62bagmn1b7gir026j2-tor-browser-unwrapped-7.5.2
/nix/store/yabxv1kl4m3zm7h430jqdfsmlwjh7csg-libcardiacarrest-11.0-6
/nix/store/4aqz99q32bvcx1g564n0mpfajcpbvgpg-libpressureaudio-0.1.11.1
/nix/store/h827vsx97r1x5wi260d5va0hqvkd8hxj-pamixer-1.3.1
/nix/store/vzb0krmysiz8jvwlf81vbzsmxv1aa8v3-vpnc-0.5.3-post-r550

@7c6f434c 7c6f434c merged commit f74251d into NixOS:master Mar 9, 2018
@oxij
Copy link
Member Author

oxij commented Mar 10, 2018 via email

@oxij oxij deleted the pkgs/pre-cardiacarrest branch September 8, 2018 22:18
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

3 participants