Issue #18054 has been updated by duerst (Martin D=FCrst).


(sorry this answer is late)

nobu (Nobuyoshi Nakada) wrote in #note-1:
> Do `ext/-test-/thread_fd` directory and `Makefile` there exist?

The directory exists, but the Makefile doesn't exist.


> Probably `make -C ext/-test-/thread_fd_close distclean` may help you.

This says `make: *** No rule to make target 'distclean'.  Stop.`. It doesn'=
t help, unfortunately.

> Although `configure-ext` should remove no longer existing directory but m=
ay have a bug for deeper paths.

Do you mean `ext/-test-/thread_fd_close` should no longer exist? Or somethi=
ng else?

----------------------------------------
Bug #18054: No rule to make target 'thread_fd_close.c', needed by 'thread_f=
d_close.o'
https://bugs.ruby-lang.org/issues/18054#change-93117

* Author: duerst (Martin D=FCrst)
* Status: Open
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* ruby -v: ruby 3.1.0dev (2021-06-03T06:59:33Z master 7e14762159) [x86_64-l=
inux]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
When running `make` on the newest `master` checkout, I get the following er=
ror:

```
transdb.h unchanged
generating makefiles ext/configure-ext.mk
ext/configure-ext.mk unchanged
make[1]: Entering directory '/home/duerst/ruby3'
make[2]: Entering directory '/home/duerst/ruby3/ext/-test-/thread_fd_close'
make[2]: *** No rule to make target 'thread_fd_close.c', needed by 'thread_=
fd_close.o'.  Stop.
make[2]: Leaving directory '/home/duerst/ruby3/ext/-test-/thread_fd_close'
make[1]: *** [exts.mk:195: ext/-test-/thread_fd_close/all] Error 2
make[1]: Leaving directory '/home/duerst/ruby3'
make: *** [uncommon.mk:301: build-ext] Error 2
```

This may (or may not) be related to https://github.com/ruby/ruby/commit/756=
4e066ff.

This is on an Ubuntu 20.04 on WSL2 on Windows 10.



-- =

https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>