bug#45675: Zip-based archives store timestamps

2021-01-06 Thread Julien Lepiller
This sounds like a good idea indeed Le 6 janvier 2021 17:34:01 GMT-05:00, "Miguel Ángel Arruga Vivas" a écrit : >Hi, > >Julien Lepiller writes: > >> For java packages, we have a strip-jar-timestamps phase in the >ant-build-system. > >Thanks for the pointer. Do you think could be worth to extra

bug#45706: vscodium

2021-01-06 Thread Ricardo Wurmus
Hi, Leo already commented on the important stuff, so let me just comment on the less important things: Hamzeh Nasajpour writes: > (invoke "mkdir" "-p" lib-dir) > (invoke "mkdir" "-p" bin-dir) […] > (invoke "ln" "-s" (string-append l

bug#45706: vscodium

2021-01-06 Thread Leo Prikler
Hello Hamzeh, Am Donnerstag, den 07.01.2021, 00:19 +0330 schrieb Hamzeh Nasajpour: > Hello, > > I want to package the `vscode` in guix. Actually I packaged it, but I > faced with some issues that I think the package definition needs some > modifications. > > I installed it and I get this error:

bug#45675: Zip-based archives store timestamps

2021-01-06 Thread Miguel Ángel Arruga Vivas
Hi, Julien Lepiller writes: > For java packages, we have a strip-jar-timestamps phase in the > ant-build-system. Thanks for the pointer. Do you think could be worth to extract that into (guix build utils) as the attached patch (WIP) does? It rebuilds the world and replaces all of "old usages

bug#45570: [PATCH v2] system: Assert, that user and group names are unique.

2021-01-06 Thread Leo Prikler
*gnu/system/shadow.scm (find-duplicates): New variable. (assert-unique-account-names, assert-unique-group-names): New variables. (account-activation): Use them here. --- gnu/system/shadow.scm | 38 ++ 1 file changed, 38 insertions(+) diff --git a/gnu/system/sha

bug#45570: [PATCH] system: Assert, that user and group names are unique.

2021-01-06 Thread Leo Prikler
Hi, Am Mittwoch, den 06.01.2021, 14:32 +0100 schrieb Ludovic Courtès: > Hi, > > Leo Prikler skribis: > > > > > +((first . rest) > > > > + (if (member first rest =) ; (srfi srfi-1) member > > > > + (cons first (find-duplicates rest =)) > > > > + (find-duplicates rest =)))

bug#45706: vscodium

2021-01-06 Thread Hamzeh Nasajpour
Hello, I want to package the `vscode` in guix. Actually I packaged it, but I faced with some issues that I think the package definition needs some modifications. I installed it and I get this error: ``` $ codium --verbose Cannot upload crash dump: cannot exec /usr/bin/wget Unexpected crash repor

bug#45676: Store references inside compressed data

2021-01-06 Thread Miguel Ángel Arruga Vivas
Hi! Tobias Geerinckx-Rice writes: > It's true. It's a known trade-off of an otherwise almost-zero-effort > yet fast reference scanner. I don't think it's a bug per se, but it > is something of which to be aware. > > Let's stop installing compressed executables & data files. We already > avoid

bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile

2021-01-06 Thread Stefan
Hi Ludo’! Thanks for caring! > I don’t see why restarting the two services has no effect. Could you > compare the output of: > > guix gc -R $(cat /proc/sys/fs/binfmt_misc/qemu-aarch64 |grep interpreter|cut > -d ' ' -f 2-) > > with the ‘--chroot-directory’ flags shown by: > > cat /proc/$(L

bug#45676: Store references inside compressed data

2021-01-06 Thread Miguel Ángel Arruga Vivas
Hi Ludo and Leo, Ludovic Courtès writes: > Hi, > > Leo Famulari skribis: > >> On Tue, Jan 05, 2021 at 03:36:07PM +0100, Miguel Ángel Arruga Vivas wrote: >>> There are several binary formats that allow compression of the >>> executable image, or some of its data, which is decompress at runtime:

bug#45570: [PATCH] system: Assert, that user and group names are unique.

2021-01-06 Thread Ludovic Courtès
Hi, Leo Prikler skribis: >> > +((first . rest) >> > + (if (member first rest =) ; (srfi srfi-1) member >> > + (cons first (find-duplicates rest =)) >> > + (find-duplicates rest =) >> >> Note that this is quadratic; it’s fine as long as we don’t have “too >> many” use

bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile

2021-01-06 Thread Ludovic Courtès
Hi Stefan, Stefan skribis: > Hi Ludo’! > >> Stefan: I recommend against ‘--disable-chroot’ as anything could leak >> into build processes. > > Thanks for your reply. I understand that ‘--disable-chroot’ is not a good > idea. In the end my try building guix over night fails with test errors. As

bug#45570: [PATCH] system: Assert, that user and group names are unique.

2021-01-06 Thread Leo Prikler
Hi, Am Mittwoch, den 06.01.2021, 10:56 +0100 schrieb Ludovic Courtès: > Hi, > > Leo Prikler skribis: > > > *gnu/system/shadow.scm (find-duplicates): New variable. > > (assert-unique-account-names, assert-unique-group-names): New > > variables. > > (account-activation): Use them here. > > [...]

bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile

2021-01-06 Thread Stefan
Hi Ludo’! > Stefan: I recommend against ‘--disable-chroot’ as anything could leak > into build processes. Thanks for your reply. I understand that ‘--disable-chroot’ is not a good idea. In the end my try building guix over night fails with test errors. As I wrote in the bug ticket, I even did a

bug#45676: Store references inside compressed data

2021-01-06 Thread Ludovic Courtès
Hi, Leo Famulari skribis: > On Tue, Jan 05, 2021 at 03:36:07PM +0100, Miguel Ángel Arruga Vivas wrote: >> There are several binary formats that allow compression of the >> executable image, or some of its data, which is decompress at runtime: >> >> - Kernel images. >> - Compressed libraries

bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile

2021-01-06 Thread Ludovic Courtès
Hi, Efraim Flashner skribis: >> while setting up the build environment: executing >> `/gnu/store/x3gq648qnfnla7nppyfjvj62s2i8y7rl-guile-3.0.2/bin/guile': No such >> file or directory [...] > I just came across this today myself. try 'sudo herd restart > guix-daemon'. It's what made it sudden

bug#45069: BUG: Re: guix environment: error: cannot create container: unprivileged user cannot create user namespaces

2021-01-06 Thread raingloom
On Mon, 07 Dec 2020 05:51:05 +0900 yasu wrote: > Hi Zimoun, > > I tried as you suggested but it didn't work... > > >root@guix ~# echo "kernel.unprivileged_userns_clone = 1" > >/etc/sysctl.d/local.conf >-bash: /etc/sysctl.d/local.conf: No such file or directory This could mean you

bug#41177: Fontconfig issues in Java applications that use fonts

2021-01-06 Thread Ludovic Courtès
Hi, Fabien SK skribis: > Regarding Java, I think (but I'm not sure) that it's loaded by > "libawt_xawt.so". In fontpath.c [1], there is a dlopen of > libfontconfig. But if I do a "ldd" on the shared library itself, it > looks like it does not depend on libfontconfig.so. > [1] > https://github.co

bug#45627: Disabling static libraries by default?

2021-01-06 Thread Ludovic Courtès
Hi! Tobias Geerinckx-Rice via Bug reports for GNU Guix skribis: > One-liners like this[0] one are about as fun to commit as they are to > see spam up your -commits@ mailbox, and make me wonder why we don't > pass ‘--disable-static’ (&c. for other build systems) by default in > the absence of a :

bug#45621: guix refresh -l and deprecated-package issue

2021-01-06 Thread Ludovic Courtès
Hi, Christopher Baines skribis: > There seems to be some issues with guix refresh -l and/or deprecating > packages. > > Take the following example, guile3.0-squee is used by the > guix-data-service. guix refresh -l claims it's not though. > > → ./pre-inst-env guix refresh -l guile-squee > No dep

bug#45571: Support stable uids and gids for all accounts

2021-01-06 Thread Ludovic Courtès
Hi Danny, Danny Milosavljevic skribis: > It's easily possible to recreate /etc/passwd from scratch if the uids are > always specified in s and thus /etc/passwd would not need to > be persistent state anymore. Right now everything from /etc/passwd except > the uid and the comment is already spec

bug#45570: [PATCH] system: Assert, that user and group names are unique.

2021-01-06 Thread Ludovic Courtès
Hi, Leo Prikler skribis: > *gnu/system/shadow.scm (find-duplicates): New variable. > (assert-unique-account-names, assert-unique-group-names): New variables. > (account-activation): Use them here. [...] > +(define (find-duplicates list =) > + (match list > +('() '()) This should be: (

bug#41669: Cross-compiled powerpc64-linux bootstrap-tarballs not reproducible

2021-01-06 Thread Ludovic Courtès
/powerpc64le-linux-gnu-bootstrap-tarballs-from-guix-662e7e28d576.tar.xz.sha512sum > https://media.marusich.info/guix-ppc64le-bootstrap/powerpc64le-linux-gnu-bootstrap-tarballs-from-guix-662e7e28d576.tar.xz.asc Thanks. I have uploaded them to <https://alpha.gnu.org/gnu/guix/bootstrap/powerpc6

bug#45676: Store references inside compressed data

2021-01-06 Thread Leo Prikler
Hi! Am Dienstag, den 05.01.2021, 23:33 +0100 schrieb Tobias Geerinckx-Rice: > Let's stop installing compressed executables & data files. We > already avoid compressed .jars and other renamed zip files. It > ain't right. Would this be strictly necessary even if the same references are kept throu