public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
* Redo tries to access a .dep file of a failed target
@ 2023-12-11 12:31 spacefrogg
  2023-12-19 14:29 ` Sergey Matveev
  0 siblings, 1 reply; 2+ messages in thread
From: spacefrogg @ 2023-12-11 12:31 UTC (permalink / raw)
  To: Goredo Devel

Hi,

I'm running goredo 2.5.0 and sometimes, in more complex projects, redo 
tries to acccess the .dep file of a just-failed dependency target.  It 
produces the following error:
run.go:584: go.cypherpunks.ru/goredo/run.go:566: main.runScript.func6.1: 
open <path/to/target>.dep: no such file or directory

This is followed by, sometimes multiple, lines of:
err . <path/to/target>: was not built: no .dep

The original error is retained and also otherwise redo seems to be 
working correctly. So, this behaviour is just kind of redundant and 
produces a lot of noise. If it starts producing the first error message, 
it usually continues for all successively failing targets all to the 
top. I would expect there to be no .dep file when the target failed to 
execute, but may be that is an error in itself.

I wasn't able to come up with a simple MVP. In my trials it behaved as 
expected (printing one 'err . <target>: ...' line per target). I can 
only guess that it may have to do with multiple higher-level targets 
depending on the original failing target.

Best,
–Michael

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

* Re: Redo tries to access a .dep file of a failed target
  2023-12-11 12:31 Redo tries to access a .dep file of a failed target spacefrogg
@ 2023-12-19 14:29 ` Sergey Matveev
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Matveev @ 2023-12-19 14:29 UTC (permalink / raw)
  To: goredo-devel

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

Greetings!

*** spacefrogg [2023-12-11 12:31]:
>I'm running goredo 2.5.0 and sometimes, in more complex projects, redo tries
>to acccess the .dep file of a just-failed dependency target.

Thanks for bugreporting that! Indeed it does not assume that .dep file
can be missing in a failed target. Fixed that in 2.6.0 release.

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2023-12-19 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11 12:31 Redo tries to access a .dep file of a failed target spacefrogg
2023-12-19 14:29 ` Sergey Matveev