From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: ci.guix.info 504 gateway timeout (was Re: guix package builds, subsitutes and --no-build) Date: Thu, 21 Feb 2019 16:14:46 +0100 Message-ID: <871s416umx.fsf@roquette.mug.biscuolo.net> References: <87pnrm76ta.fsf@roquette.mug.biscuolo.net> <20190220214442.GA22965@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: In-Reply-To: <20190220214442.GA22965@jasmine.lan> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Leo Famulari Cc: guix-devel@gnu.org, help-guix@gnu.org List-Id: guix-devel.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Leo, thanks for helping! I'm also involving guix-devel since probably this issue must escalate :-) I think my specific problem is caused by the "Gateway Timeout" error from ci.guix.info, see below for details Leo Famulari writes: [...] > Did you authorize substitutes for ci.guix.info? > > https://www.gnu.org/software/guix/manual/en/html_node/Substitutes.html not explicitly but my (user) guix accepts it by default, I was able to install other packages with no problem, also tried again some minutes ago and succeeded installing gnumeric this also means that my problem installing ungoogled-chromium substitute does not depend from my X.509 problem shown below (subsitutes are installed via https://ci.guix.info and I'm able to install them) still, if I try to install ungoogled-chromium on my machine, it starts building: =2D-8<---------------cut here---------------start------------->8--- $ guix package -i ungoogled-chromium substitute: updating substitutes from 'https://ci.guix.info'... 100.0% building /gnu/store/4mvzzx2jmr4r4p2kx0hcvwr9s9lvx0gd-ungoogled-chromium-72.= 0.3626.109.drv... | 'unpack' phase =2D-8<---------------cut here---------------end--------------->8--- now, guix weather tell me this: =2D-8<---------------cut here---------------start------------->8--- $ guix weather --manifest=3D.ungoogled-chromium.manifest computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.info... https://ci.guix.info 100.0% substitutes available (1 out of 1) 99,3 MiB of nars (compressed) 288,3 MiB on disk (uncompressed) 0,004 seconds per request (0,0 seconds in total) 262,4 requests per second 'https://ci.guix.info/api/queue?nr=3D1000' returned 504 ("Gateway Time-ou= t") =2D-8<---------------cut here---------------end--------------->8--- actually all https://ci.guix.info/ returns 504 "Gateway Time-out": AFAIU this mean I'm not able to install that package (possibly others) for some problem in the CDN >> guix/build/download.scm:313:6: In procedure tls-wrap: >> X.509 certificate of 'ci.guix.info' could not be verified: >> signer-not-found >> invalid >> --8<---------------cut here---------------end--------------->8--- > > Also, did you set up X.509 certificates for use by Guix? > > https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.h= tml ouch no :-S (I'm on foreign distro) I've installed nss-certs (and configured my env) and now "guix weather" does not report the above error >> and checking the build logs it's clear my problem is lack of space in /t= mp > > Yes, I don't know off the top of my head how much space it needs but > since the source alone is several gigabytes I recommend 15 GB. wow: I don't have so much space in /tmp so I have to find an alternative :-) (i.e. grow my volume, LVM unfortunately [1]) >> please how can I set a different TMPDIR for the build process? > > You need to set this variable in the context of the guix-daemon: > > https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix_002dd= aemon.html the builder! guix-daemon is The Builder! thanks Leo: I read that once in the manual but missed it yesterday when I needed it :-S in my case (I'm on Debian with systemd) I have to add an "Environment=3D" parameter in /etc/systemd/system/guix-daemon.service, reload the systemd file and restart the service kudos Giovanni [1] because LVM is still not fully supported by Guix =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxuwGYACgkQ030Op87M ORIIhRAApMkNmLCrlB8sA72HirII7F/I8WztfElTv4+5lMNLO6h56VeLB98OjN7i pzBSac+iXDzayCviLd4m6AD2s7yBxBZJQlSIPZe8ubobahFmU3e7Iwe6dL2IWXan bVI6DusRswA5mMuE5keMLhkt/XmfZjRUCTIY/Zq2xhAhr7E8MrlkYYI1ebIPg//I uSPIL133GSzQNeFX8fPFNd+8fmRdL1bxTqRT8gg7ToHxRNETfugoEjqIUiKRoFxm 5ao2yqmgdB96sEYCf9xQkP5Ml8Wk6g1mlbAsPkU/HdbFRK1OXajYsyw2FL2Rzha7 Ntti/+k+OoswJVzSy8zrpXuLKF/8NMPG/Ys2/Htw8SNh/vQ0mZrU49bmXGJz98ej hPSUv6LDcFxmNIkaejM3DoSuhCOige2rviz0NvYoRuUry6HJtyWMOBpliJgCVVNN OWHhZpI+d3AflM+rRF8aHpLRVJjTXw7qlXPMaTKCC1EYZqWVXQG3Hb+JlFFolIaW 2Xgg/XlmSVVtv7fIvvJ79QEHRJ3ngX7jOymzRrJC/WAIEnHlZjsALr/ou4G4ybnh WeinXkQ1DAorXk71P20+p2NIZtgc6ntgDvqDZNr4wJumeG+/ZIOjPEITNLRyscMh Q3AhsJPpyCZe37T8eWQ0GOdPm+hzEr9M1vdjeKqkod6dwl+41Fs= =sQ39 -----END PGP SIGNATURE----- --=-=-=--