make failure when creating bootstrap-graph.png

  • Done
  • quality assurance status badge
Details
2 participants
  • Eric Bavier
  • Ludovic Courtès
Owner
unassigned
Submitted by
Eric Bavier
Severity
normal

Debbugs page

Eric Bavier wrote 11 years ago
(address . bug-guix@gnu.org)
8738nz7b32.fsf@gmail.com
Hello Guix,

From a fresh checkout of the guix source, a vpath build fails when
trying to create doc/images/bootstrap-graph.png:

$ git clone git://git.savannah.gnu.org/guix.git
[...]
$ cd guix && ./bootstrap
[...]
$ mkdir build && cd build && ../configure
[...]
$ make
[...]
/bin/bash /tmp/guix/build-aux/missing dot -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < "../doc/images/bootstrap-graph.dot" > "doc/images/bootstrap-graph.png.tmp"
/bin/bash: doc/images/bootstrap-graph.png.tmp: File or directory not found
Makefile:3318: recipe for target 'doc/images/bootstrap-graph.png' failed
make[2]: *** [doc/images/bootstrap-graph.png] Error 1
$ ls doc
$ mkdir doc/images
$ make
[...]
$ echo $?
0

After configure I don't see a "doc" directory, so it's being created at
some point, but it looks like the doc/images directory isn't being
created before make wants to put bootstra-graph.png there.

I don't recall running into this problem a couple days ago.

--
`~Eric
Ludovic Courtès wrote 11 years ago
(name . Eric Bavier)(address . ericbavier@gmail.com)(address . 15640@debbugs.gnu.org)
87k3haibqq.fsf@gnu.org
Hi,

Eric Bavier <ericbavier@gmail.com> skribis:

Toggle quote (9 lines)
> $ mkdir build && cd build && ../configure
> [...]
> $ make
> [...]
> /bin/bash /tmp/guix/build-aux/missing dot -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < "../doc/images/bootstrap-graph.dot" > "doc/images/bootstrap-graph.png.tmp"
> /bin/bash: doc/images/bootstrap-graph.png.tmp: File or directory not found
> Makefile:3318: recipe for target 'doc/images/bootstrap-graph.png' failed
> make[2]: *** [doc/images/bootstrap-graph.png] Error 1

I believe commit 02c72d1 fixes it; can you confirm?

Previously this would work when $(top_srcdir) = $(top_builddir) and fail
otherwise.

Thanks,
Ludo’.
Ludovic Courtès wrote 11 years ago
(name . Eric Bavier)(address . ericbavier@gmail.com)(address . 15640-done@debbugs.gnu.org)
87mwm6gsw6.fsf@gnu.org
Eric Bavier <ericbavier@gmail.com> skribis:

Toggle quote (20 lines)
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Eric Bavier <ericbavier@gmail.com> skribis:
>>
>>> $ mkdir build && cd build && ../configure
>>> [...]
>>> $ make
>>> [...]
>>> /bin/bash /tmp/guix/build-aux/missing dot -Tpng -Gratio=.9
>>> -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1
>>> < "../doc/images/bootstrap-graph.dot" >
>>> "doc/images/bootstrap-graph.png.tmp"
>>> /bin/bash: doc/images/bootstrap-graph.png.tmp: File or directory not found
>>> Makefile:3318: recipe for target 'doc/images/bootstrap-graph.png' failed
>>> make[2]: *** [doc/images/bootstrap-graph.png] Error 1
>>
>> I believe commit 02c72d1 fixes it; can you confirm?
>
> Confirmed. Fixed.

Thanks,
Ludo'.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 15640@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 15640
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help