From: merch-redmine@jeremyevans.net
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:51096] [Ruby master Bug#16490] mkmf.rbの非互換な変更
Date: Fri, 13 Aug 2021 21:05:46 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-93277.20210813210545.375@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-16490.20200109031701.375@ruby-lang.org>
Issue #16490 has been updated by jeremyevans0 (Jeremy Evans).
Reverting the line removed from mkmf.rb in r67033 (commit:3d1c86a26f0c96a9c1d0247b968aa96e6f3c30bb) allows for the tmail gem to install on the master branch. I've submitted a pull request for that: https://github.com/ruby/ruby/pull/4738
----------------------------------------
Bug #16490: mkmf.rbの非互換な変更
https://bugs.ruby-lang.org/issues/16490#change-93277
* Author: taca (Takahiro Kambe)
* Status: Open
* Priority: Normal
* 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/
next parent reply other threads:[~2021-08-13 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-16490.20200109031701.375@ruby-lang.org>
2021-08-13 21:05 ` merch-redmine [this message]
2021-08-14 0:54 ` [ruby-dev:51097] " nobu
2021-08-14 9:35 ` [ruby-dev:51098] " taca
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-93277.20210813210545.375@ruby-lang.org \
--to=merch-redmine@jeremyevans.net \
--cc=ruby-dev@ruby-lang.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 NNTP newsgroup(s).