ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50909] [Ruby master Bug#16490] mkimf.rbの非互換な変更
       [not found] <redmine.issue-16490.20200109031701@ruby-lang.org>
@ 2020-01-09  3:17 ` taca
  0 siblings, 0 replies; only message in thread
From: taca @ 2020-01-09  3:17 UTC (permalink / raw)
  To: ruby-dev

Issue #16490 has been reported by taca (Takahiro Kambe).

----------------------------------------
Bug #16490: mkimf.rbの非互換な変更
https://bugs.ruby-lang.org/issues/16490

* Author: taca (Takahiro Kambe)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-netbsd]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
tmailのrubygem 1.2.7.1をインストールする際に、
```
make "DESTDIR="
make: don't know how to make /usr/pkg/include/ruby-2.7.0/defines.h. Stop

```
といったエラーを起こします。Makefileの最後の依存関係の記述は
```
###
tmailscanner.o: tmailscanner.c $(hdrdir)/ruby.h $(arch_hdrdir)/ruby/config.h $(hdrdir)/defines.h Makefile

```
となっていますが、Ruby 2.6では`$(hdrdir)/defines.h`ではなく`$(hdrdir)/ruby/defines.h`となっていました。
なお、tmail側を見ると`ext/tmailscanner/tmail/depend`の内容が、
```
tmailscanner.o: tmailscanner.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h Makefile
```
となっていて、`defines.h`だけ置き換えられていない様に見えます。

r 67033 のmkmf.rbのdepend_rules()に対する変更を戻すとRuby 2.6と同じ挙動になる様です。





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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-09  3:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-16490.20200109031701@ruby-lang.org>
2020-01-09  3:17 ` [ruby-dev:50909] [Ruby master Bug#16490] mkimf.rbの非互換な変更 taca

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 NNTP newsgroup(s).