Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd
On 17 August 2013 15:07, Ludovic Courtès wrote: > Hi! > > Sorry for the late reply. It's ok :-) > Bjørn Forsman skribis: > >> I want to update samba from 3.6.8 to 3.6.18 (latest 3.x version), >> but then the GNU/Hurd patch that you have added failed. Is it OK if I >> drop the patch? Or do you want to bump samba yourself and re-create >> the patch? > > Could you try to port the patch, if it’s not too hard? I tried to update it, but it changes one of several very similar looking blocks of code. Without a way to verify my change I don't feel like committing it. > If it’s too difficult, just comment it out and leave it in the repo for > future reference. I'd prefer to remove the patch instead of leaving it dangling in nixpkgs. You can always bring it back with git. Or with the mailing list archive (see below). Ok? `libnss_wins' uses pthreads but is built without `-pthread'. This is not a problem when building natively on GNU/Linux, but causes troubles when cross-building for GNU/Hurd (undefined references to libpthread functions.) --- samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:15.0 +0100 +++ samba-3.6.1/source3/Makefile.in 2012-02-22 15:25:47.0 +0100 @@ -2760,6 +2760,7 @@ bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP @echo "Linking $@" @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \ $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \ + $(PTHREAD_LDFLAGS) \ @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@ bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT) Best regards, Bjørn Forsman ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd
Hi Ludovic, all, I want to update samba from 3.6.8 to 3.6.18 (latest 3.x version), but then the GNU/Hurd patch that you have added failed. Is it OK if I drop the patch? Or do you want to bump samba yourself and re-create the patch? ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd
On 29 July 2013 18:36, Lluís Batlle i Rossell wrote: > On Mon, Jul 29, 2013 at 06:03:24PM +0200, Bjørn Forsman wrote: >> Hi Lluís, >> >> I wanted to update samba from 3.6.8 to 3.6.16 (latest 3.x version), >> but then the GNU/Hurd patch that you have added failed. Is it OK if I >> drop the patch? Or do you want to bump samba yourself and re-create >> the patch? > > I added a patch for hurd? I guess it was ludo, not me, who added the patch. > > I don't run hurd at all :) Oh, sorry! In git log I now see "Ludovic", but I read it as viric :-) ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Samba, nixpkgs and GNU/Hurd
On Mon, Jul 29, 2013 at 06:03:24PM +0200, Bjørn Forsman wrote: > Hi Lluís, > > I wanted to update samba from 3.6.8 to 3.6.16 (latest 3.x version), > but then the GNU/Hurd patch that you have added failed. Is it OK if I > drop the patch? Or do you want to bump samba yourself and re-create > the patch? I added a patch for hurd? I guess it was ludo, not me, who added the patch. I don't run hurd at all :) ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev