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

broken darwin packages (d) #47051

Merged
merged 3 commits into from Sep 21, 2018
Merged

broken darwin packages (d) #47051

merged 3 commits into from Sep 21, 2018

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Sep 20, 2018

Motivation for this change

Disable various broken packages on darwin

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.

The default version isn't enabled on darwin either, however it did work
at some point.

    /tmp/nix-build-dolphin-emu-2018-08-17.drv-0/source/Source/Core/Core/NetPlayServer.cpp:1180:26: error: unknown type name 'lzo_uint32_t'; did you mean 'lzo_uint32'?
      std::vector<u8> wrkmem(LZO1X_1_MEM_COMPRESS);

/cc ZHF NixOS#45961
Never built successfully.

    Undefined symbols for architecture x86_64:
      "_rpl_strerror", referenced from:
          _default_print_diag in libgrecs.a(diag.o)
          _grecs_symtab_strerror in libgrecs.a(symtab.o)
          _parse_inet in libgrecs.a(sockaddr.o)
    ld: symbol(s) not found for architecture x86_64

/cc ZHF NixOS#45961
Unlike docker (cli only) this probably won't work on darwin.

    github.com/docker/libnetwork/networkdb
    can't load package: package github.com/docker/libnetwork/ns: build constraints exclude all Go files in /private/tmp/nix-build-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e.drv-0/go/src/github.com/docker/libnetwork/ns

/cc ZHF NixOS#45961
@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: dico, docker-proxy, dolphinEmuMaster

Partial log (click to expand)


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

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


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: dico, docker-proxy

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

Partial log (click to expand)

  /nix/store/3m1r680im690fm4nz9n3sbgml140fhhh-gsasl-1.8.0
  /nix/store/6zdds0wws24xi334vbqvm513pr4vdaf4-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e-bin
  /nix/store/nsbj7qxfy4saagwp0gfw5c4nncndri5b-dico-2.6
  /nix/store/qbilyvs2hg30jd5arp9fpbqz1j31vg33-libidn-1.35
copying path '/nix/store/6zdds0wws24xi334vbqvm513pr4vdaf4-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/qbilyvs2hg30jd5arp9fpbqz1j31vg33-libidn-1.35' from 'https://cache.nixos.org'...
copying path '/nix/store/3m1r680im690fm4nz9n3sbgml140fhhh-gsasl-1.8.0' from 'https://cache.nixos.org'...
copying path '/nix/store/nsbj7qxfy4saagwp0gfw5c4nncndri5b-dico-2.6' from 'https://cache.nixos.org'...
/nix/store/nsbj7qxfy4saagwp0gfw5c4nncndri5b-dico-2.6
/nix/store/6zdds0wws24xi334vbqvm513pr4vdaf4-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: dico, docker-proxy, dolphinEmuMaster

Partial log (click to expand)

copying path '/nix/store/c3h4wsvxz5hrc0j1mak17g88fwdl119k-libxkbcommon-0.8.0' from 'https://cache.nixos.org'...
copying path '/nix/store/2jyxcjndczap4sf39bbsccfhdh03pn2j-SDL2-2.0.8' from 'https://cache.nixos.org'...
copying path '/nix/store/mrnibav4761785ssg6ac8li1xf5dad8x-qtbase-5.11.1' from 'https://cache.nixos.org'...
copying path '/nix/store/wqny4vvjxzx5dgvn7vbajp303f0ldkp2-gtk+3-3.22.30' from 'https://cache.nixos.org'...
copying path '/nix/store/vyd0fwkb8r04lmkhvjf4q4pm8jb4pchq-ffmpeg-3.4.4' from 'https://cache.nixos.org'...
copying path '/nix/store/phg7n16jkcwsdizq182b0pbnvirdpzfx-qtbase-5.11.1-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/bamp02qc4b9h8c642bjjsv6q1q3b5dps-dolphin-emu-2018-08-17' from 'https://cache.nixos.org'...
/nix/store/q0xnp7hh9ijb74330aq6k7blqyrnbq6h-dico-2.6
/nix/store/8w1yspb88jqx6kf2ic1lnsw3xhphw5cf-docker-proxy-7b2b1feb1de4817d522cc372af149ff48d25028e-bin
/nix/store/bamp02qc4b9h8c642bjjsv6q1q3b5dps-dolphin-emu-2018-08-17

@LnL7 LnL7 merged commit 1a1a5af into NixOS:master Sep 21, 2018
@LnL7 LnL7 deleted the darwin-broken-d branch September 21, 2018 18:15
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

2 participants