From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Packaging cquery Date: Sun, 13 Jan 2019 10:03:01 +0200 Message-ID: <20190113080301.GD2050@macbook41> References: <71d33ed434ab33ab960ca174e6adb2ef@posteo.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eqp4TxRxnD4KrmFZ" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giajY-0006MV-NC for guix-devel@gnu.org; Sun, 13 Jan 2019 03:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giajX-00034K-NU for guix-devel@gnu.org; Sun, 13 Jan 2019 03:03:04 -0500 Received: from flashner.co.il ([178.62.234.194]:49044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giajX-000345-HN for guix-devel@gnu.org; Sun, 13 Jan 2019 03:03:03 -0500 Content-Disposition: inline In-Reply-To: <71d33ed434ab33ab960ca174e6adb2ef@posteo.net> 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: brettg@posteo.net Cc: Guix devel --eqp4TxRxnD4KrmFZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 13, 2019 at 04:24:05AM +0100, brettg@posteo.net wrote: > Hi all, I am attempting to package cquery. >=20 > Here is my definition >=20 > (define-public cquery > (package > (name "cquery") > (version "20180718") > (source (origin > (method url-fetch) > (uri (string-append > "https://github.com/cquery-project/cquery/archive/v" > version ".tar.gz")) 'guix lint cquery' will remind you to use git-fetch =3D). > (sha256 > (base32 > "076cavgipn6g37fhvdcq0z915c5lxxa56mbxw9d6njksdxg1wdkj")))) >=20 > the configuration seems to fail when cmake attempts to download clang. Do= es > anybody know how to get it to ignore this request and use the system clang > (which I assume is the correct (guix) way to do this. >=20 > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Using downloaded Clang > -- Downloading Clang 6.0.0 (https://releases.llvm.org/6.0.0/clang+llvm-6.= 0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz) > ... > CMake Error at cmake/DownloadAndExtractClang.cmake:82 (message): > SHA256 hash of downloaded Clang does not match expected hash. Remove t= he > build directory and try running CMake again. If this keeps happening, > file > an issue to report the problem. > Call Stack (most recent call first): > CMakeLists.txt:96 (download_and_extract_clang) Checking the source, I suspect you'll find the answer here: https://github.com/cquery-project/cquery/blob/v20180718/CMakeLists.txt#L11 It looks like we have at least some of the third party libraries already packaged but I'm not sure how the unbundling process is going to be. I'd suggest starting with it as-is and working one those later. --=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 --eqp4TxRxnD4KrmFZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlw68LIACgkQQarn3Mo9 g1GVHw/+MHJ4M9ipApI8EFDVFT7kZZQv/qso4BOwmZGEH885/frjOns9Gb63k3Ev ijGcZcA/+rXT8o+wGje84EWa5s+IhnKloDXCeDUyQF8gu9Cd6q4HKqw23TGbMwtt ffBCZxhm+56KmZdLWBpIBXdTN/EPonyBCpMyS+gK9YHGgjZjJTGraNiaMkz6qYja W9NoVLXMNNAPdHNLoBS6ESugeiS8WQ0KnHo1xaVKSHXD8MMyKHYOen8QFkL9P4qG qt+oVAac/A981P6OoLDL94oEFAq+0a0ezvtOju0G8mrA2lKTfE6AEWR96o8GusVU 4zsoKDuLdU2/fv6DbxUZ3xPwbGqmAypLag6KmuuFUQvA/7fWn7lvezoj5SeFAqt3 zV5NTWGNxzM8A7fSZ2E3Pl92bPWOo1ngm+5IDbu2PwLQkLqzDak+h3D9vKBJEpfS 9NnJQALRqQjeTm871gPLoV21oPGXYac6As+U3PM5IY3ATgpO7x2LOgJS5JX3frEr o3JrQ6gJadN+Drb1eMFzRKWVNELhrmLKl9wDs7AUNMH6+ZV83wZzynXAczpMCTvl QhwD7OnvLlYn7QcEJGEt9ZJWyDQydDc2e37ETjlwMUitOivtgxrSs4hOQDcoO9yf RvFWbY6TC8EKzgFkdkylOonQuFWUIRcZ17IAmtow2bBdNNnFhww= =9c9L -----END PGP SIGNATURE----- --eqp4TxRxnD4KrmFZ--