Skip to content

Request for .deb for Xenial (Ubuntu 16.04)  #891

Closed

Description

@karltk

Build page:
https://hydra.nixos.org/job/nix/master/release#tabs-constituents

Latest Ubuntu targeted:
deb_ubuntu1504x86_64

Using that package on Xenial gives:
$ nix-build <anything>
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.20.2/x86_64-linux-gnu-thread-multi/auto/Nix/Store/Store.so: undefined symbol: Perl_xs_apiversion_bootcheck
$ perl --version
This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-gnu-thread-multi

Activity

  1. changed the title [-]No .deb for Xenial (Ubuntu 16.04) [/-] [+]Request for .deb for Xenial (Ubuntu 16.04) [/+] on Apr 29, 2016
  2. domenkozar commented on Apr 29, 2016

    @domenkozar
    Member

    On it.

  3. domenkozar commented on Apr 29, 2016

    @domenkozar
    Member

    Added images in NixOS/nixpkgs@8a3b707

  4. domenkozar commented on Apr 29, 2016

    @domenkozar
    Member

    I have the following change:

    diff --git a/release.nix b/release.nix
    index 79df103..fe6621f 100644
    --- a/release.nix
    +++ b/release.nix
    @@ -199,6 +199,10 @@ let
         deb_ubuntu1410x86_64 = makeDeb_x86_64 (diskImageFuns: diskImageFuns.ubuntu1410x86_64) [];
         deb_ubuntu1504i386 = makeDeb_i686 (diskImageFuns: diskImageFuns.ubuntu1504i386) [ "libsodium-dev" ];
         deb_ubuntu1504x86_64 = makeDeb_x86_64 (diskImageFuns: diskImageFuns.ubuntu1504x86_64) [ "libsodium-dev" ];
    +    deb_ubuntu1510i386 = makeDeb_i686 (diskImageFuns: diskImageFuns.ubuntu1510i386) [ "libsodium-dev" ];
    +    deb_ubuntu1510x86_64 = makeDeb_x86_64 (diskImageFuns: diskImageFuns.ubuntu1510x86_64) [ "libsodium-dev" ];
    +    deb_ubuntu1604i386 = makeDeb_i686 (diskImageFuns: diskImageFuns.ubuntu1604i386) [ "libsodium-dev" ];
    +    deb_ubuntu1604x86_64 = makeDeb_x86_64 (diskImageFuns: diskImageFuns.ubuntu1604x86_64) [ "libsodium-dev" ];
    

    but I'm getting an error:

    $ nix-build -A deb_ubuntu1604x86_64 release.nix -I ~/dev
    Preparing to unpack .../nix_1.12pre1234-abcdef-1_amd64.deb ...
    Unpacking nix (1.12pre1234-abcdef-1) ...
    dpkg: dependency problems prevent configuration of nix:
     nix depends on libsodium13; however:
      Package libsodium13 is not installed.
    
    dpkg: error processing package nix (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     nix
    [  182.740216] reboot: Power down
    

    cc @edolstra

  5. domenkozar commented on Apr 29, 2016

    @domenkozar
    Member

    I see now, libsodium got upgraded. Working on the fix.

  6. karltk commented on Apr 29, 2016

    @karltk
    Author

    Yeah, there's both libsodium13 and libsodium18. I guess you get libsodium18 by default if you depend on libsodium-dev. I supposed you could depend on libsodium13-dev, or adjust nix to work against libsodium18.

  7. vcunat commented on Apr 29, 2016

    @vcunat
    Member

    On nixpkgs master, nix is built against libsodium.18.so, so I think we only need to change the dependency specification.

  8. vcunat commented on Apr 29, 2016

    @vcunat
    Member

    It will probably have to be conditional, as some Debian/Ubuntu versions only have 13 and others only 18.

  9. copumpkin commented on Apr 29, 2016

    @copumpkin
    Member

    Our distro packages are linked against host versions of libraries? Why not just have the .deb download the nix closure and go from there?

  10. domenkozar commented on Apr 29, 2016

    @domenkozar
    Member

    See #892

  11. domenkozar commented on May 22, 2016

    @domenkozar
    Member

    This can be closed now. We don't have "maintainer" branch for Nix so really you can only build the deb manually.

    We should probably open an issue to have a maintenance branch updated.

  12. vcunat commented on May 23, 2016

    @vcunat
    Member

    We don't have "maintainer" branch for Nix

    I don't understand what you mean. There's https://hydra.nixos.org/jobset/nix/maintenance pulling from 1.11-maintenance branch, so I assume we want to pick #892 into it.

  13. bjornfor commented on May 30, 2016

    @bjornfor
    Contributor
  14. domenkozar commented on May 30, 2016

    @domenkozar
    Member

    Yes, since Hydra now pushes everything to S3 those files aren't available.

    Use nix-store -r /nix/store/zbkc1c66p0mlp3603zpjrg8ajxfz8nnj-nix-deb-ubuntu-16.04-xenial-amd64-1.11.2/

  15. domenkozar commented on May 30, 2016

    @domenkozar
    Member

    Note that this is somewhat unfortunate that you have to use nix to install Nix :(

  16. kvz commented on Sep 18, 2016

    @kvz

    Note that this is somewhat unfortunate that you have to use nix to install Nix :(

    Running into this now. I'm new to Nix and like the idea a lot. I'd like to buy into part of the ecosystem now to get a feel, but it would require me to run the installer script on Ubuntu Xenial as there don't appear to be any official versioned debs. I think this means I could get a new version of Nix with every new server I provision, which kind of defeats the purpose of using Nix as there may be surprises at execution time then.

    Or perhaps there's another way to go about this? Or unintended Nix upgrades are perfectly harmless?

  17. vcunat commented on Sep 18, 2016

    @vcunat
    Member
  18. vcunat commented on Sep 18, 2016

    @vcunat
    Member
  19. kvz commented on Mar 7, 2017

    @kvz

    Revisiting Nix, and having trouble again finding a good build. Clicking the link posted

    http://hydra.nixos.org/job/nix/maintenance/deb_ubuntu1604x86_64/latest

    now results in a

    File /nix/store/4fqblvlmkwf7jdq8jh69c4rs8j31vi0r-nix-deb-ubuntu-16.04-xenial-amd64-1.11.7/debs/nix_1.11.7-1_amd64.deb has disappeared.

    Checking the wiki at https://nixos.org/wiki/Installing_Nix_on_Debian states it's outdated, and indeed, gives a 404.

    Checking http://nixos.org/nix/download.html has no ubuntu/debian builds, nor does http://nixos.org/releases/nix/nix-1.11.7/ it seems.

    Delving through https://hydra.nixos.org, it's easy for a noob like me to get lost and confused about what an appropriate debian/ubuntu package would be.

    This likely is one of the first steps newcomers would take, and it's rather hard 😄

  20. edolstra commented on Mar 7, 2017

    @edolstra
    Member

    We don't currently provide Deb/RPM packages, sorry. Hydra does build them for portability testing, but they're not available for download because they're not well tested. The supported installation method is to download the binary tarball, see http://nixos.org/nix/download.html.

  21. kvz commented on Mar 7, 2017

    @kvz

    Okay, thanks for the quick response!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions