[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cmake error
From: |
Roy Lemmon |
Subject: |
Re: cmake error |
Date: |
Thu, 13 May 2021 17:54:40 +0100 |
User-agent: |
K-9 Mail for Android |
Hi Thiago,
In fact it is happening when I make a high energy physics python package
(matplo/heppy on GitHub). I narrowed down the issue to the inability to
download the file and so wrote the CMakeFile.txt that I sent you to isolate
that issue. In fact I had the idea you mentioned of the LOG file. However when
I put that command it, it didn't seem to work.
How do you specify a LOG file with the FILE command ?
Note that all the compilation works if I do it in a Docker container on my Guix
laptop (with Debian base).
Thanks
Roy
On 13 May 2021 16:05:20 BST, Thiago Jung Bauermann <bauermann@kolabnow.com>
wrote:
>Em quinta-feira, 13 de maio de 2021, às 11:12:15 -03, Roy Lemmon escreveu:
>> Hi Thiago,
>>
>> Below is CMakeOutput.log
>>
>> I see no occurence of fastjet though.
>
>Yes, this is strange.
>
>> I should mention that I get no
>> error if I just use curl or wget to download the file (and it has a
>> proper size) plus it can then be extracted. Here the download seems to
>> be interrupted or not started as the file has zero size, though it is
>> present after running cmake ...
>>
>> In fact this is part of a larger code base but I have narrowed it down
>> to this trivial download problem.
>
>Is this problem happening during the build of a guix package? If so, as far
>as I know there's no network access inside the build container. This is to
>ensure that the build only uses the inputs described in the package
>definition and thus is reproducible.
>
>> Yes I have the nss-certs package installed though I thought that was
>> just for https sites ?
>
>That's true. I hadn't noticed that the URL was http and not https. I don't
>know why CMake would need to access CA certificates. One idea would be to
>use the LOG option in the file command to try to get more details (in case
>the build isn't happening inside a guix container as I mentioned above).
>
>Thanks,
>Thiago
>
>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.