From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#34531: Guix profile fails on Overdrive 1000 Date: Tue, 19 Feb 2019 16:40:42 +0100 Message-ID: <20190219164042.593a6990@scratchpost.org> References: <20190218200552.GB1881@jurong> <87mumsom9l.fsf@fastmail.com> <20190219082728.GA5650@jurong> <87lg2bvrne.fsf@elephly.net> <20190219153553.GA4950@jurong> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/9EV7ypJU+Sh=UazrZOlM+cB"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw7W3-00032G-Ob for bug-guix@gnu.org; Tue, 19 Feb 2019 10:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw7W2-0008S3-QB for bug-guix@gnu.org; Tue, 19 Feb 2019 10:41:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gw7W2-0008Ro-Js for bug-guix@gnu.org; Tue, 19 Feb 2019 10:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gw7W2-0002hG-Ao for bug-guix@gnu.org; Tue, 19 Feb 2019 10:41:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190219153553.GA4950@jurong> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Andreas Enge Cc: 34531@debbugs.gnu.org --Sig_/9EV7ypJU+Sh=UazrZOlM+cB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Andreas, On Tue, 19 Feb 2019 16:35:53 +0100 Andreas Enge wrote: > I tried to simply drop python-wrapper from inputs. Actually it is not > referenced by the final output, so it should be in native-inputs. And > here is what happens: >=20 > -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) > CMake Error at tests/CMakeLists.txt:4 (MESSAGE): > Could not find a python interpeter, which is needed to build the tests. > Make sure python is available, or pass -DBUILD_CLAR=3DOFF to skip build= ing > the tests diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-contro= l.scm index b8e967bf6..7452f17b8 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -545,7 +545,8 @@ everything from small to very large projects with speed= and efficiency.") (build-system cmake-build-system) (outputs '("out" "debug")) (arguments - `(#:configure-flags '("-DUSE_SHA1DC=3DON") ; SHA-1 collision detection + `(#:configure-flags '("-DUSE_SHA1DC=3DON" ; SHA-1 collision detection + "-DBUILD_CLAR=3DOFF") #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-hardcoded-paths @@ -558,11 +559,13 @@ everything from small to very large projects with spe= ed and efficiency.") #t)) ;; Run checks more verbosely. (replace 'check - (lambda _ (invoke "./libgit2_clar" "-v" "-Q")))))) + (const #t) + )))) (inputs `(("libssh2" ,libssh2) ("http-parser" ,http-parser) - ("python" ,python-wrapper))) +; ("python" ,python-wrapper) +)) (native-inputs `(("pkg-config" ,pkg-config))) (propagated-inputs > So we could create a separate package for internal guix use without runni= ng > the tests, which would save us from compiling and especially testing pyth= on. Please, let's just replace the test generator in this case. It's ridiculous to complicate Guix that much for a 250 line test generator, most of which is templates. If necessary, I can do it, although a person who knows Perl or Guile better can probably do it much faster. > Although this is not our usual style - but on the other hand, "guix pull" > is more or less the first command that we recommend to our users, and > it would be nice if it ran fast without requiring (many) additional packa= ges. >=20 > Ironically, libgit2 advertises itself as needing "Zero Dependencies" on i= ts > web site... >=20 > What do you think? Just replace the one script and do run the tests, without depending on Pyth= on. --Sig_/9EV7ypJU+Sh=UazrZOlM+cB Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxsI3oACgkQ5xo1VCww uqUvggf/XeLw6unBrgyS1sT+T1ap1V5J2eWyL2S4BLDxeUEDeT/iuuMN55SshJ7O XN0U+UTIQQ/R7BEYY8KeUIorLJFAfcKBFoIUdNmzaSPqU7fgb5uR3S10Rt1c2Ndd dLe3gSBRE08qaAdIlZRmyi+25m2khw9QDeV93dYv8rDjA3AYiWYxbJkEw5LdNi0r D7Q4gLNm4QDmaEW9VirzayLmXiEYVQjoKGEsE3nR/ilnilgJmcsJnIRanoAbMgZU kkE/CUXkkXqB5a7iOTUdOdl30rJn8Gcc2tDib8qgUXexitPHbImZ4anEvoLLYg/Y 2y2Jp7WRPuxOv8is8VxD0xSSjWNM1Q== =yeEl -----END PGP SIGNATURE----- --Sig_/9EV7ypJU+Sh=UazrZOlM+cB--