unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: help-guix@gnu.org, Roy Lemmon <roy@roylemmon.com>
Subject: Re: cmake error
Date: Thu, 13 May 2021 15:09:58 -0300	[thread overview]
Message-ID: <1768773.XjZmRzmZaY@popigai> (raw)
In-Reply-To: <F0C5743B-501B-45C0-92B5-2570FE351A0A@roylemmon.com>

Hello Roy,

Em quinta-feira, 13 de maio de 2021, às 14:17:21 -03, Roy Lemmon escreveu:
> Hi again,
> 
> Just to not that the original CMakeList.txt file for fastjet uses
> ExternalProject_Add with the URL command. Perhaps no-one has used cmake
> in Guix with that option before ...

That's a good possibility. I tried your CMakeLists.txt example with cmake 
installed via Guix and I saw the same error. With my host distro's cmake it 
works fine.

So it appears that file(DOWNLOAD) is broken in Guix's cmake. Perhaps no one 
noticed because when building guix packages, dependencies are download in 
advance rather than as part of the build.

> Still no solution ...

Sorry, I'm not of much help. I only have very limited experience with 
cmake.

I tried using the LOG option in this way:

file(DOWNLOAD "http://fastjet.fr/repo/fastjet-3.3.3.tar.gz"
     "fastjet-3.3.3.tar.gz" TIMEOUT 60 LOG FILE_LOG)
message(STATUS "file log = ${FILE_LOG}")


But ${FILE_LOG} is empty. Not sure whether I'm using the option in the 
wrong way, or file didn't log this problem.

-- 
Thanks,
Thiago




  reply	other threads:[~2021-05-13 20:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 10:35 cmake error Roy Lemmon
2021-05-13 13:48 ` Thiago Jung Bauermann
2021-05-13 14:12   ` Roy Lemmon
2021-05-13 15:05     ` Thiago Jung Bauermann
2021-05-13 16:54       ` Roy Lemmon
2021-05-13 17:07     ` Thiago Jung Bauermann
2021-05-13 17:17       ` Roy Lemmon
2021-05-13 18:09         ` Thiago Jung Bauermann [this message]
2021-05-13 18:17           ` Roy Lemmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1768773.XjZmRzmZaY@popigai \
    --to=bauermann@kolabnow.com \
    --cc=help-guix@gnu.org \
    --cc=roy@roylemmon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).