* [ruby-core:120802] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin
@ 2025-01-27 21:06 jeremyd2019 (Jeremy Drake) via ruby-core
2025-01-28 1:51 ` [ruby-core:120805] " hsbt (Hiroshi SHIBATA) via ruby-core
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: jeremyd2019 (Jeremy Drake) via ruby-core @ 2025-01-27 21:06 UTC (permalink / raw)
To: ruby-core; +Cc: jeremyd2019 (Jeremy Drake)
Issue #21092 has been reported by jeremyd2019 (Jeremy Drake).
----------------------------------------
Bug #21092: error building ruby 3.4.1 on cygwin
https://bugs.ruby-lang.org/issues/21092
* Author: jeremyd2019 (Jeremy Drake)
* Status: Open
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
While building from the release tarball ruby-3.4.1.tar.xz (also confirmed in snapshot-master.tar.gz from Jan 27, 2025), I get the following error:
../ruby-3.4.1/ext/extmk.rb:279:in 'Array#-': no implicit conversion of nil into Array (TypeError)
from ../ruby-3.4.1/ext/extmk.rb:279:in 'Object#extmake'
from ../ruby-3.4.1/ext/extmk.rb:659:in 'block in <main>'
from ../ruby-3.4.1/ext/extmk.rb:653:in 'Array#each'
from ../ruby-3.4.1/ext/extmk.rb:653:in '<main>'
I have tracked this down to happening when an ext writes a dummy makefile. In this case, that ext is .bundle/gems/syslog-0.2.0.
See https://github.com/ruby/syslog/pull/16 for fixing why it is writing a dummy makefile to begin with, but still, it seems like extmk.rb should handle this case gracefully rather than breaking the build.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:120805] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin
2025-01-27 21:06 [ruby-core:120802] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin jeremyd2019 (Jeremy Drake) via ruby-core
@ 2025-01-28 1:51 ` hsbt (Hiroshi SHIBATA) via ruby-core
2025-01-29 13:13 ` [ruby-core:120826] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin/msys2 nobu (Nobuyoshi Nakada) via ruby-core
2025-01-30 5:37 ` [ruby-core:120838] " nobu (Nobuyoshi Nakada) via ruby-core
2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2025-01-28 1:51 UTC (permalink / raw)
To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)
Issue #21092 has been updated by hsbt (Hiroshi SHIBATA).
Status changed from Open to Assigned
Assignee set to hsbt (Hiroshi SHIBATA)
I could reproduce this.
https://github.com/ruby/ruby/actions/runs/13001828367/job/36261824250?pr=12649
----------------------------------------
Bug #21092: error building ruby 3.4.1 on cygwin
https://bugs.ruby-lang.org/issues/21092#change-111672
* Author: jeremyd2019 (Jeremy Drake)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
While building from the release tarball ruby-3.4.1.tar.xz on cygwin (also confirmed in snapshot-master.tar.gz from Jan 27, 2025), I get the following error:
../ruby-3.4.1/ext/extmk.rb:279:in 'Array#-': no implicit conversion of nil into Array (TypeError)
from ../ruby-3.4.1/ext/extmk.rb:279:in 'Object#extmake'
from ../ruby-3.4.1/ext/extmk.rb:659:in 'block in <main>'
from ../ruby-3.4.1/ext/extmk.rb:653:in 'Array#each'
from ../ruby-3.4.1/ext/extmk.rb:653:in '<main>'
I have tracked this down to happening when an ext writes a dummy makefile. In this case, that ext is .bundle/gems/syslog-0.2.0.
See https://github.com/ruby/syslog/pull/16 for fixing why it is writing a dummy makefile to begin with, but still, it seems like extmk.rb should handle this case gracefully rather than breaking the build.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:120826] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin/msys2
2025-01-27 21:06 [ruby-core:120802] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin jeremyd2019 (Jeremy Drake) via ruby-core
2025-01-28 1:51 ` [ruby-core:120805] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2025-01-29 13:13 ` nobu (Nobuyoshi Nakada) via ruby-core
2025-01-30 5:37 ` [ruby-core:120838] " nobu (Nobuyoshi Nakada) via ruby-core
2 siblings, 0 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2025-01-29 13:13 UTC (permalink / raw)
To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)
Issue #21092 has been updated by nobu (Nobuyoshi Nakada).
I cannot reproduce that error at all, with ruby-3.4.1.
----------------------------------------
Bug #21092: error building ruby 3.4.1 on cygwin/msys2
https://bugs.ruby-lang.org/issues/21092#change-111693
* Author: jeremyd2019 (Jeremy Drake)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN
----------------------------------------
While building from the release tarball ruby-3.4.1.tar.xz on cygwin (also confirmed in snapshot-master.tar.gz from Jan 27, 2025), I get the following error:
../ruby-3.4.1/ext/extmk.rb:279:in 'Array#-': no implicit conversion of nil into Array (TypeError)
from ../ruby-3.4.1/ext/extmk.rb:279:in 'Object#extmake'
from ../ruby-3.4.1/ext/extmk.rb:659:in 'block in <main>'
from ../ruby-3.4.1/ext/extmk.rb:653:in 'Array#each'
from ../ruby-3.4.1/ext/extmk.rb:653:in '<main>'
I have tracked this down to happening when an ext writes a dummy makefile. In this case, that ext is .bundle/gems/syslog-0.2.0.
See https://github.com/ruby/syslog/pull/16 for fixing why it is writing a dummy makefile to begin with, but still, it seems like extmk.rb should handle this case gracefully rather than breaking the build.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:120838] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin/msys2
2025-01-27 21:06 [ruby-core:120802] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin jeremyd2019 (Jeremy Drake) via ruby-core
2025-01-28 1:51 ` [ruby-core:120805] " hsbt (Hiroshi SHIBATA) via ruby-core
2025-01-29 13:13 ` [ruby-core:120826] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin/msys2 nobu (Nobuyoshi Nakada) via ruby-core
@ 2025-01-30 5:37 ` nobu (Nobuyoshi Nakada) via ruby-core
2 siblings, 0 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2025-01-30 5:37 UTC (permalink / raw)
To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)
Issue #21092 has been updated by nobu (Nobuyoshi Nakada).
Backport changed from 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
nobu (Nobuyoshi Nakada) wrote in #note-4:
> I cannot reproduce that error at all, with ruby-3.4.1.
This was because I failed to get msys to pretend to be cygwin, and it reproduced by simply trying on cygwin.
MSys is mysterious.
----------------------------------------
Bug #21092: error building ruby 3.4.1 on cygwin/msys2
https://bugs.ruby-lang.org/issues/21092#change-111703
* Author: jeremyd2019 (Jeremy Drake)
* Status: Assigned
* Assignee: hsbt (Hiroshi SHIBATA)
* Backport: 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
----------------------------------------
While building from the release tarball ruby-3.4.1.tar.xz on cygwin (also confirmed in snapshot-master.tar.gz from Jan 27, 2025), I get the following error:
../ruby-3.4.1/ext/extmk.rb:279:in 'Array#-': no implicit conversion of nil into Array (TypeError)
from ../ruby-3.4.1/ext/extmk.rb:279:in 'Object#extmake'
from ../ruby-3.4.1/ext/extmk.rb:659:in 'block in <main>'
from ../ruby-3.4.1/ext/extmk.rb:653:in 'Array#each'
from ../ruby-3.4.1/ext/extmk.rb:653:in '<main>'
I have tracked this down to happening when an ext writes a dummy makefile. In this case, that ext is .bundle/gems/syslog-0.2.0.
See https://github.com/ruby/syslog/pull/16 for fixing why it is writing a dummy makefile to begin with, but still, it seems like extmk.rb should handle this case gracefully rather than breaking the build.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-01-30 5:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-27 21:06 [ruby-core:120802] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin jeremyd2019 (Jeremy Drake) via ruby-core
2025-01-28 1:51 ` [ruby-core:120805] " hsbt (Hiroshi SHIBATA) via ruby-core
2025-01-29 13:13 ` [ruby-core:120826] [Ruby master Bug#21092] error building ruby 3.4.1 on cygwin/msys2 nobu (Nobuyoshi Nakada) via ruby-core
2025-01-30 5:37 ` [ruby-core:120838] " nobu (Nobuyoshi Nakada) via ruby-core
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).