Re: Initial cross-compilation support

2013-03-28 Thread Nikita Karetnikov
>> Oh, I forgot to add the -K option. There are no logs. > -K has nothing to do with logs. :-) I meant the build tree. I can't find 'libgcc.a': /tmp/nix-build-gcc-cross-sans-libc-mips64el-linux-gnu-4.7.2.drv-0/build/build-i686-pc-linux-gnu/fixincludes# file fixincl.o fixincl.o: ELF 32-bit LS

Re: Update on x.org

2013-03-28 Thread Ludovic Courtès
Andreas Enge skribis: > On a positive note: Client-wise, I added the dependency to texlive, so now > we have xdvi, and I am rather confident that the client side is working. Nice! The branch could probably be merged in ‘core-updates’ now. WDYT? Ludo’.

Re: Initial cross-compilation support

2013-03-28 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Can you run ‘file’ on libgcc.a (or one of the .o files it contains)? >> Can you check in the glibc log whether a -mabi flag is passed? > > Oh, I forgot to add the -K option. There are no logs. -K has nothing to do with logs. :-) Logs are always kept, under /nix/v

Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.

2013-03-28 Thread Nikita Karetnikov
> I'll ask Karl about this. Start of forwarded message While we are at it, I also noticed that the "note" field is repeated (package: cobol). True. "(It’s surprising that there’s no ‘license’ field in the file.)" Could you explain why? S

Re: [PATCH] gnu: add dependencies to poppler.

2013-03-28 Thread Cyril Roelandt
On 03/28/2013 10:26 PM, Andreas Enge wrote: Am Donnerstag, 28. März 2013 schrieb Cyril Roelandt: OK. Do you mind if I push this patch to the xorg branch, then ? Please do. Pushed! Cyril.

Re: [PATCH] gnu: add dependencies to poppler.

2013-03-28 Thread Andreas Enge
Am Donnerstag, 28. März 2013 schrieb Cyril Roelandt: > OK. Do you mind if I push this patch to the xorg branch, then ? Please do. Andreas

Re: Initial cross-compilation support

2013-03-28 Thread Nikita Karetnikov
> Can you run ‘file’ on libgcc.a (or one of the .o files it contains)? > Can you check in the glibc log whether a -mabi flag is passed? Oh, I forgot to add the -K option. There are no logs. > You may need to explicitly add -mabi=64 for glibc. It should be > possible to do it with something like

Re: [PATCH] gnu: add dependencies to poppler.

2013-03-28 Thread Cyril Roelandt
On 03/28/2013 08:20 PM, Andreas Enge wrote: Am Sonntag, 24. März 2013 schrieb Cyril Roelandt: Note that zlib is not enabled by default, even if it is found on the system, because it is "not safe" according to the poppler developers. Andreas, do you know why ? Maybe we should remove it from the d

Re: [PATCH 2/2] gnu: Add libopenjpeg.

2013-03-28 Thread Cyril Roelandt
On 03/26/2013 11:40 PM, Nikita Karetnikov wrote: + "The OpenJPEG library is an open-source JPEG 2000 codec written in C I suggest to replace "open-source" with "free software." If you think that it's not ethical to replace (it's possible that OpenJPEG people don't care about freedom-relat

Re: [PATCH 2/2] gnu: Add libopenjpeg.

2013-03-28 Thread Cyril Roelandt
On 03/27/2013 09:47 AM, Andreas Enge wrote: Am Dienstag, 26. März 2013 schrieb Cyril Roelandt: gnu/packages/libopenjpeg.scm | 56 There is already a file libjpeg.scm. How about putting the packages in the same file, named jpeg.scm, for instance? This file does not exist on the 'master' b

Re: [PATCH 1/2] Add (guix build-system cmake).

2013-03-28 Thread Cyril Roelandt
On 03/26/2013 11:09 PM, Ludovic Courtès wrote: Cool! Please push after fixing these. Thanks for your quick review! I've just pushed the patch. Cyril.

Re: Update on x.org

2013-03-28 Thread Andreas Enge
Am Freitag, 22. März 2013 schrieb Cyril Roelandt: > I cannot build xorg-server, though. I'm getting this error: Yes, the xorg-server check fails, which makes it likely that the server will also not work. I do not see why. Help would be appreciated. > I tried adding xbcomp and xkeyboard-config to

Re: [PATCH] gnu: add dependencies to poppler.

2013-03-28 Thread Andreas Enge
Am Sonntag, 24. März 2013 schrieb Cyril Roelandt: > Note that zlib is not enabled by default, even if it is found > on the system, because it is "not safe" according to the poppler > developers. Andreas, do you know why ? Maybe we should remove it from > the dependencies. There is some discussion

Re: [PATCH] gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.

2013-03-28 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> What about calling that field ‘doc-urls’ (plural) and having it hold a >> list of URLs? > > Done. > > By the way, some fields return "none." Should it be converted to #f? Hmm, dunno. Let’s leave it for later. ;-) > +(define (find-packages regexp) > + "Find GNU

Re: Initial cross-compilation support

2013-03-28 Thread Ludovic Courtès
Nikita Karetnikov skribis: > I tried to add > > "--with-arch=mips64" > "--with-abi=64" > > to '#:configure-flags' of 'cross-gcc'. It failed: So it’s glibc that fails to build, but the initial “sans libc” cross-compiler is correctly built. > /nix/store/g9js73bwv1fl92h1nnf50vf1619irnxf-gcc-c

Re: Open Software License: is it ok to distribute binaries ?

2013-03-28 Thread Nikita Karetnikov
Have you got a reply? pgp2nmMEeRQYj.pgp Description: PGP signature

Re: Initial cross-compilation support

2013-03-28 Thread Nikita Karetnikov
>> I think one needs to add the configure parameters "--with-arch=mips64 -- >> with-abi=64" to the cross build of gcc; and maybe "-march=mip64 -mabi=64" >> to the binutils and glibc. Ludovic should know best where to do it in the >> code. > I would add a keyword parameter to ‘cross-gcc’ to allow