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

Drop gnome3.gconf #43268

Merged
merged 2 commits into from Jul 10, 2018
Merged

Drop gnome3.gconf #43268

merged 2 commits into from Jul 10, 2018

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Jul 9, 2018

TL;DR

Change gnome3.gconf in your nix files to gnome2.GConf.

Things done

As GConf has been deprecated for ages, I updated it in gnome2 and removed it from gnome3. I would like to remove GConf altogether (just like Debian is finally doing) but since some packages still needed it, I decided to keep it in the legacy gnome2 attribute. Eventually, we will probably move it to top-level when gnome2 gets removed (#39976).

  • 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 GrahamcOfBorg added the 6.topic: GNOME GNOME desktop environment and its underlying platform label Jul 9, 2018
@xeji

This comment has been minimized.

@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: gnome2.GConf

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-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev/lib
patching script interpreter paths in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev
checking for references to /build in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man
gzipping man pages under /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man
checking for references to /build in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man...
/nix/store/idlz8xfsfx5y5hxkpydvx8vkb74nv5a3-gconf-3.2.6

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev/lib
patching script interpreter paths in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev
checking for references to /build in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man
gzipping man pages under /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man
checking for references to /build in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man...
/nix/store/w4kijbq7hn3pp62cgh0fhirl3cfd2g8g-gconf-3.2.6

@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: gnome2.GConf

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-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev/lib 
patching script interpreter paths in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev
checking for references to /tmp/nix-build-gconf-3.2.6.drv-0 in /nix/store/p97chi37gjs7plb4jpgvvcp7nwfg577l-gconf-3.2.6-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man
gzipping man pages under /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man
checking for references to /tmp/nix-build-gconf-3.2.6.drv-0 in /nix/store/q5dn0avl7cl51a0bl0lb9001vzj0ydbr-gconf-3.2.6-man...
/nix/store/idlz8xfsfx5y5hxkpydvx8vkb74nv5a3-gconf-3.2.6

@jtojnar jtojnar changed the base branch from master to staging July 10, 2018 10:13
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev/lib
patching script interpreter paths in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev
checking for references to /build in /nix/store/wxzxmgzw3g443hxr5mspgi3gqdgq0z9v-gconf-3.2.6-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man
gzipping man pages under /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man
checking for references to /build in /nix/store/f9g6xfdksrcw0f4gl3r1f5kbsy7irmzw-gconf-3.2.6-man...
/nix/store/w4kijbq7hn3pp62cgh0fhirl3cfd2g8g-gconf-3.2.6

Update and clean up the expression. For example, GTK was only used for
removed utility and examples.
@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: gnome2.GConf

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

Failure on x86_64-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

warning: unable to download 'https://cache.nixos.org/nar/0vm33q693xb795ail8pfjzi2xxkgx9n90bvnpqa4gbzlcvxvrjv9.nar.xz': Error in the HTTP2 framing layer (16); retrying in 337 ms
copying path '/nix/store/bv1jclgravnqm0y68xkqs6gfjgpl2dmh-openjpeg-2.3.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/xchnh57hqknagfn4r0nws61yjmfh73na-poppler-min-0.61.0-dev' from 'https://cache.nixos.org'...
cannot build derivation '/nix/store/qvs4h8kx6vibidi9x0s8mwbm1s17l9ij-texlive-core-big.bin-2017.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/3xsdl0ylhwympp6r2qd0jsy2cnk82gg9-texlive-combined-2017.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/8dzwjmzx7xfam7flmkw042vklfgccxmf-dblatex-0.3.10.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/z9m72msrsqm6i4629qr5n3lhhrhqxdag-gtk-doc-1.28.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bsk6s74s3sm19w4k21gkcnqyx816if3d-polkit-0.113.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/lj1wl5jq5xpv5zr1wr5r7pswkwbxg2q3-gconf-3.2.6.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lj1wl5jq5xpv5zr1wr5r7pswkwbxg2q3-gconf-3.2.6.drv' failed

@jtojnar jtojnar deleted the drop-gnome3-gconf branch July 10, 2018 13:27
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: gnome2.GConf

Partial log (click to expand)

strip is /nix/store/h0nc84ybvb8g724fwysvcghh1675wjli-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/k65pq8mgq76mylsk44k2pv1mnd8dn2ka-gconf-3.2.6-dev/lib
patching script interpreter paths in /nix/store/k65pq8mgq76mylsk44k2pv1mnd8dn2ka-gconf-3.2.6-dev
checking for references to /build in /nix/store/k65pq8mgq76mylsk44k2pv1mnd8dn2ka-gconf-3.2.6-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/q4pn5zfrq03rxnibswsykz1jayswb52r-gconf-3.2.6-man
gzipping man pages under /nix/store/q4pn5zfrq03rxnibswsykz1jayswb52r-gconf-3.2.6-man/share/man/
strip is /nix/store/h0nc84ybvb8g724fwysvcghh1675wjli-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/q4pn5zfrq03rxnibswsykz1jayswb52r-gconf-3.2.6-man
checking for references to /build in /nix/store/q4pn5zfrq03rxnibswsykz1jayswb52r-gconf-3.2.6-man...
/nix/store/1ddlwklvqq3mw0wgsdq26cd8jxk6gl33-gconf-3.2.6

@infinisil
Copy link
Member

I would really like this to be a warning instead:

{
  gconf = throw "gconf has been removed because it's a pile of trash, see #43268";
}

I had to look through git log to find the commit, then go to the commits github page to find this PR :/

infinisil added a commit to infinisil/system that referenced this pull request Aug 24, 2018
jtojnar added a commit to jtojnar/nixpkgs that referenced this pull request Aug 25, 2018
NixOS#43268 removed GConf from GNOME 3
package set, let’s add an error for a little while to save people
digging through the commit log.
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

5 participants