From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OLCOJKD7mGD+QwAAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 11:23:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gN80IKD7mGDdEQAAB5/wlQ (envelope-from ) for ; Mon, 10 May 2021 09:23:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D82E515D33 for ; Mon, 10 May 2021 11:23:43 +0200 (CEST) Received: from localhost ([::1]:46536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg28c-0005jB-Pm for larch@yhetil.org; Mon, 10 May 2021 05:23:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg28E-0005j1-R6 for help-guix@gnu.org; Mon, 10 May 2021 05:23:18 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:55506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg28B-0002uV-Pv for help-guix@gnu.org; Mon, 10 May 2021 05:23:18 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id 88E9D2868; Mon, 10 May 2021 11:23:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1620638592; s=20201217-4wa7; d=roylemmon.com; i=roy@roylemmon.com; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; l=10185; bh=WXbkR1skWWyy8vIclLxJS8EBWaZXwuln3uMNkEFl3U0=; b=appdv5/rs4WDJnMmZHwyzEi6qvma4SHg7byuJtM0XhL2zWiR4kEFC/JF5OeEK1nH AFygh+MnL3FlFXEYohABb8PUeuC/l5FSy6BhPqMdZh7PHgG+OwfIIznnwGZT1sSvbB7 xMf1NroKdUSWmaSJy/WJa4kWo1ikMNpZs5ptMPA7F8kKA6uLAhj1tBySib3qkfH1FSI NCPGvRnJHFNRrrmGQprPUpNwHP7ehZ7FSSy6TaoeQfoAMbG5gfXjcKbvKVAKe6QIPOv EwnMD2b3/J57PxT3R5IptccmUtf77Yzq+XXKb0zoWjLHYhb2CpyCqVggfdMFdnzdgGL rS41ZVCT/w== Received: by smtp.mailfence.com with ESMTPA ; Mon, 10 May 2021 11:23:07 +0200 (CEST) From: Roy Lemmon To: Leo Famulari Subject: Re: cmake ca-certificates References: <8C138F6A-E761-43FF-85E7-E130603A64A7@roylemmon.com> <878s4nx8p4.fsf@roylemmon.com> Date: Mon, 10 May 2021 10:23:05 +0100 In-Reply-To: <878s4nx8p4.fsf@roylemmon.com> (Roy Lemmon's message of "Mon, 10 May 2021 10:02:47 +0100") Message-ID: <874kfbx7ra.fsf@roylemmon.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-ContactOffice-Account: com:270257514 Received-SPF: pass client-ip=212.3.242.68; envelope-from=roy@roylemmon.com; helo=wilbur.contactoffice.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620638623; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WXbkR1skWWyy8vIclLxJS8EBWaZXwuln3uMNkEFl3U0=; b=MynJCSz6IXU92v4lVSUuzZ/Q9CMsfqEZg+RoEuTOpbdlw/9hBeKcBb4pHXPdWttNqvqqaT cR14sz/derL+JYH9yTPyJkPI5w09P0A4GBpetbRZ/HOCnMr7uiJv5y5Z4kn+jxPDFBALac j2FNviSyTJWZxK0gB8koG8PnhtzELHnf0TweDQ8l7NGmJTRGVKS4z/K+NaIEaUVMU+rjJR bBtbOQcJpBln7PbpiHtOqj5B6lzj732DSfmbPQxGGHfxI0QWe2hGyz1viAs8qxVM9JHuV+ ImMl/OxxvO3s1zmoELDCCf86YW5w2B7Cmkn+mL9KfO+xM848nuUBAk98fsVR2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620638623; a=rsa-sha256; cv=none; b=t1W+FvwB4614VAXv2hvW5Q186eL3oI7R9bo03v0ghCER9Xnwz4pj6dUigL0+RxEX7crdDJ 3PpsggXInyTw0BQjr7EfBdTKifSEBrz4J69PAYN9VjiVicg/E40/8NePZ/XxXD9M+Qy+Gc bTl/ewpb6s6jE8RTy1ggsdHJY1QQf4mEdCHCOW5nVCi0uzAlPnJ1cnw24Ki3alvNnWxrX4 HUe8Yf69cGlG0w0Bqc5VFXRXDM31eyYIjy70e9U2GdCj0UNwKmpIYYsqK2v09sEXGG5iWz Ih4QfV45c7OdzztytcUsCPMU+VfwI6/SW3bUE9+bJxrT57udranJY3iXk63MNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=roylemmon.com header.s=20201217-4wa7 header.b="appdv5/r"; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=roylemmon.com header.s=20201217-4wa7 header.b="appdv5/r"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=roylemmon.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: D82E515D33 X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: aR7R4ubpczgn Hi, More information ... In fact it does NOT download the file ... Well it starts to download it because the name appears in the right directory (/home/rlemmon/heppy/external/fastjet/download/fastjet-3.3.3.tar.gz). However it has zero size, whereas the Docker version that works has a large size. It seems to me that it is a problem of the ca-certificates that Debian defaults to. In fact in Guix I found out from the manual that I need to install a package nss-certs that contains the certificates. However I am not sure that they are found correctly when cmake downloads the file with whatever program it uses for that (curl, etc). Any ideas ? Cheers Roy. Roy Lemmon writes: > Yes, I forgot the logfile(s). Here they are: > > ************************************************************************************************************** > rlemmon@parton ~/heppy$ ./external/fastjet/build.sh > [ building fastjet /home/rlemmon/heppy/external/fastjet ] > -----------------[ configuration ]----------------- > -- Will use /home/rlemmon/.guix-profile/bin/make when needed. > -- CMAKE_CURRENT_SOURCE_DIR: /home/rlemmon/heppy/external/fastjet > -- Note: this build requires to run within virtual environment of Python... > -- This is heppy_external_fastjet ver. 1.0 > -- Will use /home/rlemmon/.guix-profile/bin/make when needed. > -- CMAKE_CURRENT_LIST_DIR: /home/rlemmon/heppy/external/fastjet > -- Python ver. 3.8.2 found. > -- FASTJET_VERSION 3.3.3 > -- FASTJET_HEPPY_PREFIX /home/rlemmon/heppy/external/fastjet/fastjet-3.3.3 > -- Python version string is 3.8.2 > -- Python version parsed: 3.8.2 > -- python3.8-config at /home/rlemmon/.guix-profile/bin/python3.8-config > -- Extra python directives for FASTJET compilation PYTHON=/home/rlemmon/.guix-profile/bin/python3.8 PYTHON_CONFIG=/home/rlemmon/.guix-profile/bin/python3.8-config > -- note: CGAL not enabled - use -DENABLE_CGAL=TRUE to enable... > -- Configuring done > -- Generating done > -- Build files have been written to: /home/rlemmon/heppy/external/fastjet/build_fastjet > ---------------------[ build ]--------------------- > [ 12%] Performing download step (download, verify and extract) for 'FASTJET' > CMake Error at FASTJET-stamp/FASTJET-download-Release.cmake:49 (message): > Command failed: 1 > > '/gnu/store/6pn8kznkxr67w2r58zslai0mkhv0y0vq-cmake-3.19.2/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/home/rlemmon/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/FASTJET-download-Release-impl.cmake' > > See also > > /home/rlemmon/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/FASTJET-download-*.log > > > make[2]: *** [CMakeFiles/FASTJET.dir/build.make:110: FASTJET-prefix/src/FASTJET-stamp/FASTJET-download] Error 1 > make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/FASTJET.dir/all] Error 2 > make: *** [Makefile:103: all] Error 2 > [e] sorry... the build failed: no fastjet-config in /home/rlemmon/heppy/external/fastjet/fastjet-3.3.3/bin/ > -----------[ fastjet build script done ]----------- > rlemmon@parton ~/heppy$ > ********************************************************************************************************* > > Here are the FASTJET-stamp/FASTJET-download-*.log files: > > ********************************************************************************************************* > rlemmon@parton ~/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ cat /home/rlemmon/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/FASTJET-download-out.log > -- File already exists but no hash specified (use URL_HASH): > file='/home/rlemmon/heppy/external/fastjet/downloads/fastjet-3.3.3.tar.gz' > Old file will be removed and new file downloaded from URL. > -- Downloading... > dst='/home/rlemmon/heppy/external/fastjet/downloads/fastjet-3.3.3.tar.gz' > timeout='none' > inactivity timeout='none' > -- Using src='http://fastjet.fr/repo/fastjet-3.3.3.tar.gz' > rlemmon@parton ~/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ > ********************************************************************************************************** > > ********************************************************************************************************** > rlemmon@parton ~/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ cat /home/rlemmon/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/FASTJET-download-err.log > CMake Error at FASTJET-stamp/download-FASTJET.cmake:127 (file): > file /home/rlemmon/.guix-profile/etc/ssl/certs/ca-certificates.crt > > > CMake Error at FASTJET-stamp/FASTJET-download-Release-impl.cmake:9 (message): > Command failed (1): > > '/gnu/store/6pn8kznkxr67w2r58zslai0mkhv0y0vq-cmake-3.19.2/bin/cmake' '-P' '/home/rlemmon/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/download-FASTJET.cmake' > > > rlemmon@parton ~/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ > *********************************************************************************************************** > > Finally, a version that works which is inside a Docker container using > Debian as the base (but there are other things that so not work there): > > ************************************************************************************************************ > I have no name!@e02d8f074dce ~/matplo/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ cat /home/rlemmon/matplo/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp/FASTJET-download-out.log > -- Downloading... > dst='/home/rlemmon/matplo/heppy/external/fastjet/downloads/fastjet-3.3.3.tar.gz' > timeout='none' > -- Using src='http://fastjet.fr/repo/fastjet-3.3.3.tar.gz' > -- [download 0% complete] > -- [download 1% complete] > -- [download 2% complete] > -- [download 3% complete] > -- [download 4% complete] > -- [download 5% complete] > -- [download 6% complete] > -- [download 7% complete] > -- [download 8% complete] > -- [download 9% complete] > -- [download 10% complete] > -- [download 11% complete] > -- [download 12% complete] > -- [download 13% complete] > -- [download 14% complete] > -- [download 15% complete] > -- [download 16% complete] > -- [download 17% complete] > -- [download 18% complete] > -- [download 19% complete] > -- [download 20% complete] > -- [download 21% complete] > -- [download 22% complete] > -- [download 23% complete] > -- [download 24% complete] > -- [download 25% complete] > -- [download 26% complete] > -- [download 27% complete] > -- [download 28% complete] > -- [download 29% complete] > -- [download 30% complete] > -- [download 31% complete] > -- [download 32% complete] > -- [download 33% complete] > -- [download 34% complete] > -- [download 35% complete] > -- [download 36% complete] > -- [download 37% complete] > -- [download 38% complete] > -- [download 39% complete] > -- [download 40% complete] > -- [download 41% complete] > -- [download 42% complete] > -- [download 43% complete] > -- [download 44% complete] > -- [download 45% complete] > -- [download 46% complete] > -- [download 47% complete] > -- [download 48% complete] > -- [download 49% complete] > -- [download 50% complete] > -- [download 51% complete] > -- [download 52% complete] > -- [download 53% complete] > -- [download 54% complete] > -- [download 55% complete] > -- [download 56% complete] > -- [download 57% complete] > -- [download 58% complete] > -- [download 59% complete] > -- [download 60% complete] > -- [download 61% complete] > -- [download 62% complete] > -- [download 63% complete] > -- [download 64% complete] > -- [download 65% complete] > -- [download 66% complete] > -- [download 67% complete] > -- [download 68% complete] > -- [download 69% complete] > -- [download 70% complete] > -- [download 71% complete] > -- [download 72% complete] > -- [download 73% complete] > -- [download 74% complete] > -- [download 75% complete] > -- [download 76% complete] > -- [download 77% complete] > -- [download 78% complete] > -- [download 79% complete] > -- [download 80% complete] > -- [download 81% complete] > -- [download 82% complete] > -- [download 83% complete] > -- [download 84% complete] > -- [download 85% complete] > -- [download 86% complete] > -- [download 87% complete] > -- [download 88% complete] > -- [download 89% complete] > -- [download 90% complete] > -- [download 91% complete] > -- [download 92% complete] > -- [download 93% complete] > -- [download 94% complete] > -- [download 95% complete] > -- [download 96% complete] > -- [download 97% complete] > -- [download 98% complete] > -- [download 99% complete] > -- [download 100% complete] > -- Downloading... done > -- extracting... > src='/home/rlemmon/matplo/heppy/external/fastjet/downloads/fastjet-3.3.3.tar.gz' > dst='/home/rlemmon/matplo/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET' > -- extracting... [tar xfz] > -- extracting... [analysis] > -- extracting... [rename] > -- extracting... [clean up] > -- extracting... done > I have no name!@e02d8f074dce ~/matplo/heppy/external/fastjet/build_fastjet/FASTJET-prefix/src/FASTJET-stamp$ > ************************************************************************************************************************************* > > So you see I think I have a problem with Guix, cmake and the > certificates here. > > Thanks > Roy > > > > Leo Famulari writes: > >> On Sat, May 08, 2021 at 04:24:15PM +0100, Roy Lemmon wrote: >>> Hi, >>> >>> I have an issue with a program I would like to install. It uses >>> cmake to download and make the executable. However when I download >>> the file, which is a tar.gz file, the file is downloaded ok but then >>> is never extracted. Cmake then crashes. >>> >>> I am assuming that there is an issue with the certificates or perhaps curl etc. That is what the logfile says. >> >> I think you forgot to include the logfile.