From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: java: switch to icedtea-8 as default JDK Date: Thu, 30 Nov 2017 21:27:37 +0200 Message-ID: <20171130192737.GU991@macbook41> References: <87375czhqj.fsf@elephly.net> <873756herx.fsf@gmail.com> <87y3myv7k9.fsf@elephly.net> <87d141mvgn.fsf@gmail.com> <878tepmud6.fsf@gmail.com> <87bmjkfe1j.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fGPQ8TN6VVAOY/Hs" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKoFD-0000yg-Gu for guix-devel@gnu.org; Fri, 01 Dec 2017 11:32:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKoF8-0008L3-E8 for guix-devel@gnu.org; Fri, 01 Dec 2017 11:32:55 -0500 Received: from flashner.co.il ([178.62.234.194]:54023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKoF8-0008Js-3v for guix-devel@gnu.org; Fri, 01 Dec 2017 11:32:50 -0500 Content-Disposition: inline In-Reply-To: <87bmjkfe1j.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel --fGPQ8TN6VVAOY/Hs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 29, 2017 at 10:58:48PM -0800, Chris Marusich wrote: > Chris Marusich writes: >=20 > >> 1) Confirm that these packages build before making changes. If any > >> fail, fix them first if possible. > >>=20 > >> ... > >>=20 > >> I'm going to try step (1) tonight on my laptop. Is there a way to che= ck > >> their build status on Hydra, I wonder? I'm planning to just do it in a > >> simple shell one-liner like the following: > >> > >> for pkg in $(> /tmp/log; else echo failure: $pkg >> /tmp/log; fi; done >=20 > I tried something like this, and GuixSD crashed while it was building > the packages... Specifically, the following morning, I checked my > computer and found that the screen remained blank, the HDD I/O LED was > constantly on (as if tons of disk access was taking place), and not even > pressing the capslock key would turn on the capslock key LED. I decided > to let the computer sit for the day, but when I got home 8 hours later, > nothing had changed. I power cycled my machine, and after it booted, I > found that during the night, my kernel had logged an Oops along with a > BUG in /var/log/messages, but I don't really know why it occurred. >=20 > So, I don't know if any of the packages built successfully or not. I'll > try again tonight, and this time I'll store the results somewhere where > I'll (hopefully) be able to see how far it got before crashing. > Hopefully it won't crash this time... If you know of an easier way to > check the build status of packages that will be impacted by an icedtea > change, please let me know. >=20 > --=20 > Chris my build script is a little different: guix package -A | cut -f1,2 | sed -e 's/\t/@/' | parallel --bar --shuf --jo= bs 1 guix build --no-grafts --fallback and you could have "guix refresh -l -e '(@ (gnu packages java) icedtea-7)'" in place of 'guix package -A'. Mine doesn't take into account packages that are already built or dependencies which have already failed, but it could be loading all the packages into memory at once is too much. If it isn't then perhaps: guix build --no-grafts --keep-going < $(guix refresh ... | cut -f1,2 | sed = -e 's/\t/@/' ) would also work. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --fGPQ8TN6VVAOY/Hs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlogW6YACgkQQarn3Mo9 g1FLJw/+JWEJNbY06EOocfT+T/cKZIk/7X86jU1w/pCBaaVLOvRHI3JRTx7YvA8I Fjg64YxH3CyUQyb6esWRdJtv2/wEht/ie98tZkt/t2U7NAu8kGvGN9gUCswDngnq 2ZqFI4SDlmd+gN3Lk7DHMD4itz6w/kyDp2W2/yVIRoMvXkpaWhF3WV8N++gMPPOF +mfJMiEe+lUiSAyRFRgqEWS0+Uoy0mU+8eYz67vOHGlKuKbeCY/QmvUoYhxHQ5rr eFt3iGHR8nqZP1P6SWJMfBxWS1dLVGQ7WdUcgSdPle2vqxgi1V+XF92SI4bbTWtT UJNVTbGKHVFBGCan9KS7OxU6ErmLCEdTYLrHRUgA4zl1sbQxaCjIB8UsFllAFYfp vODY9pdAqRQoaQrR4ptme6r0dSxbLoJVYQLovAQ7xkBtQHzXlITBYWWaFAB3RQwx iEVq25c4p7NFfYHbVBkAkOTRVZxDAxX8Ra+ens4MoBLv/2WHt8RjW2igl4JdyIdF b1AX1jpT9Estm6OQRIQK+vjJP30y/PfmH3A/7ZmEXEIlfcxgKvQB45ee9KVea5BL kxe1cZO5ECilfixSH8T20QkADrlEFdcT4oX5zrTPBgQK0laiGQu7omfzfxkaQvbL i7mZXKOc7vBJAEtSN1uPeR06Eo9PIO4NnMkY3xwEkfS35PRxiKs= =NKwD -----END PGP SIGNATURE----- --fGPQ8TN6VVAOY/Hs--