unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* cmake ca-certificates
@ 2021-05-08 15:24 Roy Lemmon
  2021-05-08 15:44 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Roy Lemmon @ 2021-05-08 15:24 UTC (permalink / raw)
  To: help-guix

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.

There is nothing special with my installation. I have installed nss-certs for example but the same error ..

Cheers
Roy

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cmake ca-certificates
  2021-05-08 15:24 cmake ca-certificates Roy Lemmon
@ 2021-05-08 15:44 ` Leo Famulari
  2021-05-10  9:02   ` Roy Lemmon
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2021-05-08 15:44 UTC (permalink / raw)
  To: Roy Lemmon; +Cc: help-guix

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cmake ca-certificates
  2021-05-08 15:44 ` Leo Famulari
@ 2021-05-10  9:02   ` Roy Lemmon
  2021-05-10  9:23     ` Roy Lemmon
  0 siblings, 1 reply; 4+ messages in thread
From: Roy Lemmon @ 2021-05-10  9:02 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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 <leo@famulari.name> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: cmake ca-certificates
  2021-05-10  9:02   ` Roy Lemmon
@ 2021-05-10  9:23     ` Roy Lemmon
  0 siblings, 0 replies; 4+ messages in thread
From: Roy Lemmon @ 2021-05-10  9:23 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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 <roy@roylemmon.com> 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 <leo@famulari.name> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-10  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 15:24 cmake ca-certificates Roy Lemmon
2021-05-08 15:44 ` Leo Famulari
2021-05-10  9:02   ` Roy Lemmon
2021-05-10  9:23     ` Roy Lemmon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).