From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: How to install prerelease package versions (particularly Emacs) Date: Wed, 11 Apr 2018 21:27:59 +0530 Message-ID: <87sh813fco.fsf@gmail.com> References: <871sh1pid1.fsf@gmail.com> <87o9jku2gt.fsf@gmail.com> <87lgeehe5g.fsf@gmail.com> <87lgedx2vn.fsf@gnu.org> <87k1txedot.fsf@gmail.com> <87in9huthf.fsf@gnu.org> <877epwn06z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f6I8N-0005sS-Gf for help-guix@gnu.org; Wed, 11 Apr 2018 11:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f6I8K-0005C3-CT for help-guix@gnu.org; Wed, 11 Apr 2018 11:58:07 -0400 In-reply-to: <877epwn06z.fsf@gmail.com> List-Id: 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: Oleg Pykhalov Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: >>> In case of =E2=80=98emacs=E2=80=99 package recipe, =E2=80=98--with-sour= ce=E2=80=99 doesn't work for a >>> snapshot of the =E2=80=98master=E2=80=99 branch. >> >> Why? Because you=E2=80=99d need to run =E2=80=98autoreconf=E2=80=99 and= the like? > > To run everything in =E2=80=98(arguments =E2=80=A6)=E2=80=99 except =E2= =80=98#:parallel-build? #t=E2=80=99. > > From http://lists.gnu.org/archive/html/help-guix/2017-09/msg00074.html > --8<---------------cut here---------------start------------->8--- > (arguments > (substitute-keyword-arguments > `(#:parallel-build? #t > #:tests? #f > ,@(package-arguments emacs)) > ((#:phases phases) > `(modify-phases ,phases > (add-after 'unpack 'autogen > (lambda _ > (zero? (system* "sh" "autogen.sh")))) > (delete 'reset-gzip-timestamps))))) > --8<---------------cut here---------------end--------------->8--- What do you mean? That parallel-build has to be turned off for the master branch? I actually noticed that running `make -j5` locally, the build fails at the `temacs` step. The build succeeds with `make`. That said, I tried running guix build --keep-failed --with-source=3Dftp://alpha.gnu.org/gnu/emacs/pre= test/emacs-26.1-rc1.tar.xz emacs It fails with starting phase `check' make -C lib all make info-real info-dir You do not seem to have the test/ directory. Maybe you are using a release tarfile, rather than a repository checkout. make: *** [Makefile:937: have-tests] Error 1 make: *** Waiting for unfinished jobs.... Why should it fail if it's a tarball? The error message seems that it understands precisely what we are trying to do. =2D-=20 Pierre Neidhardt Being overloaded is the sign of a true Debian maintainer. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlrOMIcACgkQm9z0l6S7 zH+gFwf8DFESi1+YQruWwH1+dLteSPCQCctEHxYbIB48WysWsEdxss9zN7lCrOVK qifuEbMa8fjkMTloTt25ecH3+MNZeXBPkZo+fucNJjcLDwlhE7t5WnHWUyvNDBXd X4RdbUwcmVL0e3DQblE40Gujc4VoDJL+MgXdTU93tf3btM+sVaQuPmZ5aevmQOt4 oe1qIqxoqCXY62RaOziwHlXtlzmZgbRtrUMzEt6yRh7dxGpxFxPyLjSuOPa/2jx7 3CyvQu3SlWmbkomOmr1xO2DJ6Uks+yUiOrVNOp3yo/7V/MlSRWxhVUCEuJ1/ulpu 11py7ZCBKovPrrIGE8JxrbZ1bEuHaA== =qRZU -----END PGP SIGNATURE----- --=-=-=--