Re: Deep vs Shallow trace: Removing the tradeoff?

2021-04-17 Thread ilmu
> What’s currently implemented is memoization: the hash (of the .drv and > that of the output(s)) is computed over all the inputs. > > Since the output file name (the one passed to “./configure --prefix” & > co.) appears in the build result 99% of the time, the content vary at > least due to occurr

Re: Security related tooling project

2021-04-17 Thread Bengt Richter
Hi, tl;dr: Given that crims &co monitor developer discussions to discover unfixed vulnerabilities and clues re exploiting them, what are your ideas to avoid building a tool that can be abused? E.g., How will your tool avoid leaking info during an embargo window while trusted developers are secre

Re: 1.2.1 pre-release testing

2021-04-17 Thread Leo Famulari
On Sat, Apr 17, 2021 at 07:09:59PM -0500, Guu, Jin-Cheng wrote: > I've just tried again the same ISO, and chose "wired". It works right > away this time. I think it was just a tiny hiccup last time. Should > have tried more times then.. sorry about that! Thanks a lot for testing again! We really a

Re: GIT_EXEC_PATH Re: 1.2.1 pre-release testing

2021-04-17 Thread François
On Sat, Apr 17, 2021 at 01:24:51PM -0400, Leo Famulari wrote: > On Sat, Apr 17, 2021 at 01:35:45PM +0200, François wrote: > > GIT_EXEC_PATH is very probably at fault. > > > > It is set via profile to allow to use git subcommands installed by other > > packages but it has no sane default when we

GIT_EXEC_PATH Re: 1.2.1 pre-release testing

2021-04-17 Thread François
Hello, On Sat, Apr 17, 2021 at 01:43:33AM -0400, Leo Famulari wrote: > On Fri, Apr 16, 2021 at 10:40:55PM -0500, jcguu95 wrote: > >2.1. Better support for using git during installation process? > > > >Before `guix system init /mnt/etc/config.scm /mnt', I'd like to getch > >config.scm

Re: 1.2.1 pre-release testing

2021-04-17 Thread Guu, Jin-Cheng
> Does the ethernet cable work on the installed system? Or on other > free distros? It has never failed on me before, even when I was installing arch linux. So I was a bit surprise yesterday. It had also worked before in the Guix System I got from the official - so I suppose that's a completely f

Re: 1.2.1 pre-release testing

2021-04-17 Thread pelzflorian (Florian Pelz)
Hello Jin, On Sat, Apr 17, 2021 at 01:27:09PM -0400, Leo Famulari wrote: > I re-installed my Guix System based on the ISO found here: > > https://ci.guix.gnu.org/build/175632/details > > That's '/gnu/store/lw1j4gn8h51cbfp9dg0g025ngkg83sw1-image.iso.drv'. Ethernet works on the four machines I te

Re: [PATCH 0/9] Add 32-bit powerpc support

2021-04-17 Thread Vincent Legoll
Hi, On Sat, Apr 17, 2021 at 9:44 PM Efraim Flashner wrote: > As far as operating systems with support¹ Adélie Linux is the only > one I know that's actually targeting the machines. There's also a void port being worked on, but not upstreamed yet (https://voidlinux-ppc.org) gentoo, openbsd & net

Re: bug#47615: [PATCH 3/9] gnu: binutils: Adjust test suite on powerpc-linux.

2021-04-17 Thread Chris Marusich
Chris Marusich writes: > (define binutils-boot0 > (package > (inherit binutils) > (source (bootstrap-origin (package-source binutils))) > (name "binutils-cross-boot0") > (arguments > `(#:guile ,%bootstrap-guile >#:implicit-inputs? #f > >#:modules ((guix buil

Re: bug#47615: [PATCH 0/9] Add 32-bit powerpc support

2021-04-17 Thread Chris Marusich
Efraim Flashner writes: > * gnu/packages/base.scm (binutils)[arguments]: Add phase on > powerpc-linux to adjust the test suite. > * gnu/packages/commencement.scm (binutils-boot0)[arguments]: Move custom > phases after inherited arguments. Add phase on powerpc-linux to adjust > the test suite. Ni

Re: [PATCH 0/9] Add 32-bit powerpc support

2021-04-17 Thread Efraim Flashner
On Sat, Apr 17, 2021 at 06:04:02PM +0200, Ludovic Courtès wrote: > Hi! > > I haven’t looked into details so I’ll just share thoughts from a > maintenance viewpoint: > > 1. Those fdisk patch file names will make ‘guix lint’ unhappy. :-) I'll make sure to touch them up. I was also not happy abo

Re: New 'version-1.3.0' branch and lifting string freeze on master

2021-04-17 Thread Leo Famulari
On Sat, Apr 17, 2021 at 02:44:52PM -0400, Maxim Cournoyer wrote: > To avoid keep master in string freeze longer, I've now created the > 'release-v1.3.0' branch where the fixes for the remaining blocking > issues should go. I kept a list of patches that were being held back due to the string freeze

New 'version-1.3.0' branch and lifting string freeze on master

2021-04-17 Thread Maxim Cournoyer
Hello! With the remaining issues to be tackled for the current release (v1.3.0) due tomorrow, I think we may need a bit of extra time to fix them and do more testing. These are the remaining issues (obtained by pressing the 'b' key in Emacs Debbugs while visiting the parent issue with 'debbugs-gn

Re: Feature request: hostname namespaces in guix environment

2021-04-17 Thread Vinícius dos Santos Oliveira
Em sáb., 17 de abr. de 2021 às 13:10, Ludovic Courtès escreveu: > Hi Vinícius, Hi Ludovic, > What we could do is add a ‘--uid’ option to ‘guix environment’ and/or a > ‘--host-name’ option. > > WDYT? The --host-name option would work for me. That'd be enough to control xpra unix socket names.

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-17 Thread Christopher Baines
Luciana Lima Brito writes: > On Sat, 17 Apr 2021 14:11:37 +0100 > Christopher Baines wrote: > > Hi, > >> I think that's better, but you're still taking the matched-outputs, >> matched-inputs and matched-sources alists, then later making the >> values vectors rather than lists. The code would be

Re: 1.2.1 pre-release testing

2021-04-17 Thread Leo Famulari
I re-installed my Guix System based on the ISO found here: https://ci.guix.gnu.org/build/175632/details That's '/gnu/store/lw1j4gn8h51cbfp9dg0g025ngkg83sw1-image.iso.drv'. It's a simple system, but the process worked for me. It successfully recognized and re-used my existing /home partition. N

Re: GIT_EXEC_PATH Re: 1.2.1 pre-release testing

2021-04-17 Thread Leo Famulari
On Sat, Apr 17, 2021 at 01:35:45PM +0200, François wrote: > GIT_EXEC_PATH is very probably at fault. > > It is set via profile to allow to use git subcommands installed by other > packages but it has no sane default when we are outside a profile. > > Perhaps git should have a wrapper to manage th

Re: [PATCH 0/9] Add 32-bit powerpc support

2021-04-17 Thread Vincent Legoll
Hi, On Sat, Apr 17, 2021 at 6:04 PM Ludovic Courtès wrote: > 3. OTOH, what will be the status of this architecture? I don’t think > new 32-bit PPC hardware is being made (right?), so I guess we > probably won’t have substitutes for that architecture. That means > it won’t be su

Re: [INFO]: Commit Access

2021-04-17 Thread Ludovic Courtès
Hi Raghav, Raghav Gururajan skribis: > I am happy to say that, I have been granted commit access. I would > like to convey my thanks; to Tobias, Maxim, and Danny for vouching for > me; and to guix maintainers for approving my application. As I said on IRC: congrats, and welcome aboard! > My lo

Re: Add a way to disable serialization support to (guix services configuration)

2021-04-17 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > I've rediscovered the little gem that is (guix services configurations), > and attempted to make it more generally useful by adding an option to > opt out of serialization (which is not well adapted for producing a list > of command line arguments from the co

Re: Pruning inactive committers

2021-04-17 Thread Ludovic Courtès
Hi! Leo Famulari skribis: > We recently formalized our policy regarding what to do about inactive > committers [0]. Basically, after 1 year without activity using commit > access, one's commit access will be disabled. > > In coordination with the Guix maintainer collective, I put this policy > i

Re: Feature request: hostname namespaces in guix environment

2021-04-17 Thread Ludovic Courtès
Hi Vinícius, Vinícius dos Santos Oliveira skribis: > Right now my hostname is leaking to the container and that is certainly a > hint to my main persona. AFAICS, ‘guix environment -C’ already starts contains in a separate UTS namespace (see ‘%namespaces’ in (gnu build linux-containers)). Howev

Re: [PATCH 0/9] Add 32-bit powerpc support

2021-04-17 Thread Ludovic Courtès
Hi! Efraim Flashner skribis: > https://git.savannah.gnu.org/cgit/guix.git/log/?h=wip-ppc > > The wip-ppc branch on Savannah is currently in a good state. With the > recent rapid churn on core-updates I haven't been very quick about > rebasing on core-updates but I can confirm that building out t

Re: Why ban underscores?

2021-04-17 Thread Ludovic Courtès
Hi Tobias, Tobias Geerinckx-Rice skribis: > I was surprised by this commit: > > commit 426ade6c8bdab243da719e369a887284368179bb (upstream/master) > Author: Xinglu Chen > > import: go: Replace underscores with hyphens in package names. > > As per section '16.4.2 Package Naming' in the ma

Re: Speed up package installation by using images instead of archives (like distri)?

2021-04-17 Thread Ludovic Courtès
Hi! Mekeor Melire skribis: > In contrast, distri downloads the package as an (squashfs) > image. That's it. The image will then be mounted (which is not an > expensive IO operation) as a read-only virtual-file-system. (But as > it's not recommendable to mount as many images as there are installe

Re: Security related tooling project

2021-04-17 Thread Ludovic Courtès
Hello Chris! Christopher Baines skribis: > In May last year (2020), I submitted an application to NLNet. The work I > set out wasn't something I was doing at the time, but something I hadn't > yet found time to work on, tooling specifically around security issues. > > The application got a bit l

Re: Deep vs Shallow trace: Removing the tradeoff?

2021-04-17 Thread Ludovic Courtès
Hi, ilmu skribis: > To drive the point home: If the artefact has the same hash as it did before > then clearly the underlying change did not affect it. Early cut-off is > therefore not possible in the case where the program being depended on is > supposed to be used at runtime. > > This is at

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-17 Thread Luciana Lima Brito
On Sat, 17 Apr 2021 14:11:37 +0100 Christopher Baines wrote: Hi, > I think that's better, but you're still taking the matched-outputs, > matched-inputs and matched-sources alists, then later making the > values vectors rather than lists. The code would be even simpler if > you converted to a vec

Re: 1.2.1 pre-release testing

2021-04-17 Thread pelzflorian (Florian Pelz)
Hello Jin, On Sat, Apr 17, 2021 at 07:58:30AM -0500, Guu, Jin-Cheng wrote: > > Does the ethernet cable work on the installed system? Or on other > > free distros? > > It has never failed on me before, even when I was installing arch > linux. So I was a bit surprise yesterday. Arch ships with no

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-17 Thread Christopher Baines
Luciana Lima Brito writes: > On Sat, 17 Apr 2021 09:40:22 +0100 > Christopher Baines wrote: > >> I think you're getting there, but it looks like you're close to what >> you want with matched-outputs say, and then later you pick bits out >> of that alist, generate vectors from the lists, and the

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-17 Thread Luciana Lima Brito
On Sat, 17 Apr 2021 09:40:22 +0100 Christopher Baines wrote: > I think you're getting there, but it looks like you're close to what > you want with matched-outputs say, and then later you pick bits out > of that alist, generate vectors from the lists, and then rebuild the > alist. I think you can

Re: 1.2.1 pre-release testing

2021-04-17 Thread pelzflorian (Florian Pelz)
Hello Jin. Thank you for testing! On Fri, Apr 16, 2021 at 10:40:55PM -0500, jcguu95 wrote: > 1. Graphical Installation > >I chose the graphical method for the first installation. Everything >went well, except my wired internet connection failed as it >indicated. Weirdly enough, my et

Re: Outreachy - Guix Data Service: implementing basic json output for derivation comparison page

2021-04-17 Thread Christopher Baines
Luciana Lima Brito writes: > On Fri, 16 Apr 2021 20:17:45 +0100 > Christopher Baines wrote: > > Hi, > > I hope the patch is correct this time. > I considered all you said, so I separated the > functions to get outputs, inputs and sources. I also implemented > everything inside the case of the j