ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:48679] [ruby-trunk - Bug #10409] [Open] Can't build Ruby checked out from official GitHub mirror
       [not found] <redmine.issue-10409.20141021072447@ruby-lang.org>
@ 2014-10-21  7:24 ` imasahiro9
  2014-10-21  7:45 ` [ruby-dev:48680] [ruby-trunk - Bug #10409] [Assigned] " shibata.hiroshi
  2014-10-21  8:35 ` [ruby-dev:48683] [ruby-trunk - Bug #10409] [Closed] " duerst
  2 siblings, 0 replies; 3+ messages in thread
From: imasahiro9 @ 2014-10-21  7:24 UTC (permalink / raw
  To: ruby-dev

Issue #10409 has been reported by Masahiro Ide.

----------------------------------------
Bug #10409: Can't build Ruby checked out from official GitHub mirror
https://bugs.ruby-lang.org/issues/10409

* Author: Masahiro Ide
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-10-21 trunk 48070) [i686-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
When I tried to compile official github mirror version of ruby on linux system, I get the error:

~~~
$ ./configure
...
checking for broken memmem... no
checking for nroff... /usr/bin/nroff
.ext/include/i686-linux/ruby/config.h updated
ruby library version = 2.2.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.2.pc
Downloading Unicode data files...
ruby: Can't chdir to ../enc/unicode/data (fatal)
make: *** [update-unicode] Error 1
~~~

This error happens only in the git version because git don't track emtpy directories ("$(srcdir)/enc/unicode/data").

The following patch may fix this problem.

~~~
diff --git a/common.mk b/common.mk
index 09ce4a8..e41e047 100644
--- a/common.mk
+++ b/common.mk
@@ -1097,6 +1097,7 @@ update-gems: PHONY
 
 update-unicode: PHONY
 	$(ECHO) Downloading Unicode data files...
+	$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data"
 	$(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \
 	    ../../../tool/downloader.rb -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \
 	    UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt

~~~



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

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

* [ruby-dev:48680] [ruby-trunk - Bug #10409] [Assigned] Can't build Ruby checked out from official GitHub mirror
       [not found] <redmine.issue-10409.20141021072447@ruby-lang.org>
  2014-10-21  7:24 ` [ruby-dev:48679] [ruby-trunk - Bug #10409] [Open] Can't build Ruby checked out from official GitHub mirror imasahiro9
@ 2014-10-21  7:45 ` shibata.hiroshi
  2014-10-21  8:35 ` [ruby-dev:48683] [ruby-trunk - Bug #10409] [Closed] " duerst
  2 siblings, 0 replies; 3+ messages in thread
From: shibata.hiroshi @ 2014-10-21  7:45 UTC (permalink / raw
  To: ruby-dev

Issue #10409 has been updated by Hiroshi SHIBATA.

Status changed from Open to Assigned
Assignee set to Martin Dürst

I got same situation. Please fix it.

----------------------------------------
Bug #10409: Can't build Ruby checked out from official GitHub mirror
https://bugs.ruby-lang.org/issues/10409#change-49563

* Author: Masahiro Ide
* Status: Assigned
* Priority: Normal
* Assignee: Martin Dürst
* Category: 
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-10-21 trunk 48070) [i686-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
When I tried to compile official github mirror version of ruby on linux system, I get the error:

~~~
$ ./configure
...
checking for broken memmem... no
checking for nroff... /usr/bin/nroff
.ext/include/i686-linux/ruby/config.h updated
ruby library version = 2.2.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.2.pc
Downloading Unicode data files...
ruby: Can't chdir to ../enc/unicode/data (fatal)
make: *** [update-unicode] Error 1
~~~

This error happens only in the git version because git don't track emtpy directories ("$(srcdir)/enc/unicode/data").

The following patch may fix this problem.

~~~
diff --git a/common.mk b/common.mk
index 09ce4a8..e41e047 100644
--- a/common.mk
+++ b/common.mk
@@ -1097,6 +1097,7 @@ update-gems: PHONY
 
 update-unicode: PHONY
 	$(ECHO) Downloading Unicode data files...
+	$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data"
 	$(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \
 	    ../../../tool/downloader.rb -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \
 	    UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt

~~~



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

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

* [ruby-dev:48683] [ruby-trunk - Bug #10409] [Closed] Can't build Ruby checked out from official GitHub mirror
       [not found] <redmine.issue-10409.20141021072447@ruby-lang.org>
  2014-10-21  7:24 ` [ruby-dev:48679] [ruby-trunk - Bug #10409] [Open] Can't build Ruby checked out from official GitHub mirror imasahiro9
  2014-10-21  7:45 ` [ruby-dev:48680] [ruby-trunk - Bug #10409] [Assigned] " shibata.hiroshi
@ 2014-10-21  8:35 ` duerst
  2 siblings, 0 replies; 3+ messages in thread
From: duerst @ 2014-10-21  8:35 UTC (permalink / raw
  To: ruby-dev

Issue #10409 has been updated by Martin Dürst.

Category set to build
Status changed from Assigned to Closed

Fixed with r48073.

----------------------------------------
Bug #10409: Can't build Ruby checked out from official GitHub mirror
https://bugs.ruby-lang.org/issues/10409#change-49566

* Author: Masahiro Ide
* Status: Closed
* Priority: Normal
* Assignee: Martin Dürst
* Category: build
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-10-21 trunk 48070) [i686-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
When I tried to compile official github mirror version of ruby on linux system, I get the error:

~~~
$ ./configure
...
checking for broken memmem... no
checking for nroff... /usr/bin/nroff
.ext/include/i686-linux/ruby/config.h updated
ruby library version = 2.2.0
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating Makefile
config.status: creating ruby-2.2.pc
Downloading Unicode data files...
ruby: Can't chdir to ../enc/unicode/data (fatal)
make: *** [update-unicode] Error 1
~~~

This error happens only in the git version because git don't track emtpy directories ("$(srcdir)/enc/unicode/data").

The following patch may fix this problem.

~~~
diff --git a/common.mk b/common.mk
index 09ce4a8..e41e047 100644
--- a/common.mk
+++ b/common.mk
@@ -1097,6 +1097,7 @@ update-gems: PHONY
 
 update-unicode: PHONY
 	$(ECHO) Downloading Unicode data files...
+	$(Q) $(MAKEDIRS) "$(srcdir)/enc/unicode/data"
 	$(Q) $(BASERUBY) -C "$(srcdir)/enc/unicode/data" \
 	    ../../../tool/downloader.rb -e $(ALWAYS_UPDATE_UNICODE:yes=-a) unicode \
 	    UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt

~~~



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

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

end of thread, other threads:[~2014-10-21  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-10409.20141021072447@ruby-lang.org>
2014-10-21  7:24 ` [ruby-dev:48679] [ruby-trunk - Bug #10409] [Open] Can't build Ruby checked out from official GitHub mirror imasahiro9
2014-10-21  7:45 ` [ruby-dev:48680] [ruby-trunk - Bug #10409] [Assigned] " shibata.hiroshi
2014-10-21  8:35 ` [ruby-dev:48683] [ruby-trunk - Bug #10409] [Closed] " duerst

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 read-only IMAP folder(s) and NNTP newsgroup(s).