unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Phil Beadling <phil@beadling.co.uk>
To: help-guix <help-guix@gnu.org>
Subject: guix build gives `/homeless-shelter' exists; please remove it
Date: Fri, 21 Jan 2022 18:50:42 +0000	[thread overview]
Message-ID: <CAOvsyQt8Yx88ZY+VUqs8V2f5gLvG74O47Jqb0WactoEcZ8LLdQ@mail.gmail.com> (raw)

Hi Guixers,

As of last night my Guix installation (on Ubuntu) is giving the following
error when trying to fetch a URL as part of the 'guix build'.  The error
does not happen when downloading the same package using 'guix download':

*guix build: error: directory `/homeless-shelter' exists; please remove it *

It seems to make no difference what the package or or where the URL is
fetched from, I can demonstrate it with any arbitrary file on any website
I've tried so far.

However, if I use 'guix download' I am able to download the package, and
then 'guix build' works as planned, using the copy stored by 'guix
download'.

Can anyone point to where I might look to delete the homeless-shelter - or
if this is perhaps a misleading error message?

I have no idea what triggered this - my installation has worked fine for
months - the only thing I can think is that I updated the version and hash
of a package definition in my local channel just before the problem was
noticed - this may of course be coincidence.

I've tried all the obvious stuff - guix pull, bouncing the daemon, etc.

Any ideas?

Thanks,
Phil

Here's one example - in order to randomly test a few download locations I
simply updated a package to download from a few locations I know to work
github, pypi, etc - here's an example - the package won't build because
it's hijacked - the point is it doesn't even download the pandas tar ball -
it fails immediately before it even downloads and expands the source.

I then replaced the URL with several other locations and got the same
result.

I also tried a few different package definitions too in case that was the
issue.


(define-public gurobipy-950
  (package/inherit gurobipy
                   (name "gurobipy-950")
                   (version "9.5.0")
                   (source (origin
                             (method url-fetch)
*                             (uri
"https://files.pythonhosted.org/packages/99/f0/f99700ef327e51d291efdf4a6de29e685c4d198cbf8531541fc84d169e0e/pandas-1.3.5.tar.gz
<https://files.pythonhosted.org/packages/99/f0/f99700ef327e51d291efdf4a6de29e685c4d198cbf8531541fc84d169e0e/pandas-1.3.5.tar.gz>")*
                             (sha256
                              (base32

 "17n2icl41jzkkhb4a8ksqgzqa92pqnk5xw7ackizd18nbmd2wm5v"))))))


substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'...
100.0%
The following derivations will be built:
   /gnu/store/pvaqlg8sap0z8b2hs8a2g617vx08rxpx-gurobipy-950-9.5.0.drv
*   /gnu/store/ng2kx8hbgsvch8ssa3bvs47sn50xcddz-pandas-1.3.5.tar.gz.drv*
*guix build: error: directory `/homeless-shelter' exists; please remove it*

now if I 'guix download' the pandas package first the build will continue
without the error.

             reply	other threads:[~2022-01-21 19:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 18:50 Phil Beadling [this message]
2022-01-21 20:43 ` guix build gives `/homeless-shelter' exists; please remove it Leo Famulari
2022-01-21 21:31   ` Phil
2022-01-21 21:36     ` Leo Famulari
2022-01-21 21:56       ` Phil
2022-01-21 22:14         ` Leo Famulari
2022-01-22  4:50           ` raingloom

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=CAOvsyQt8Yx88ZY+VUqs8V2f5gLvG74O47Jqb0WactoEcZ8LLdQ@mail.gmail.com \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    /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).