Forum: Ruby-core [Backport93 - Backport #7550][Open] Can't rebuild 1.9.3-p327 because of missing resize.so

Posted by Victor E. (victor_e)
on 2012-12-12 11:28
(Received via mailing list)
Issue #7550 has been reported by l0b0 (Victor Engmark).

----------------------------------------
Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.so
https://bugs.ruby-lang.org/issues/7550

Author: l0b0 (Victor Engmark)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


=begin
As ((<reported elsewhere|URL:http://www.ruby-forum.com/topic/4408967>)), 
Ruby compiles fine the first time after extracting, but repeating it 
after a (({make distclean})) doesn't work.

The commands:

 $ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
 $ cd ruby-1.9.3-p327/
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config.log
 $ make &> my-make.log
 $ make distclean
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config2.log
 $ diff my-config* && echo identical
 identical
 $ make &> my-make2.log

From the difference, it looks like at least some generated files are not 
deleted by (({make distclean})) - miniprelude.c being the first. Then 
ripper is not configured. And last it seems that .ext/i686-linux/-test-/ 
and subdirectories has been deleted but not regenerated.
=end
Posted by Henryse (Henry Seurer) (Guest)
on 2012-12-20 22:25
(Received via mailing list)
Issue #7550 has been updated by Henryse (Henry Seurer).


I also ran into a problem when trying to build 327 on CentOS 6.2.  It 
was having a problem with the following file missing:

../../../../.ext/x86_64-linux/-test-/array/resize.so

When I tried to build ruby I would get the following error:

make[2]: Entering directory 
`/home/ruby-1.9.3-p327/ext/-test-/array/resize'
linking shared-object -test-/array/resize.so
/usr/bin/ld: cannot open output file 
../../../../.ext/i686-linux/-test-/array/resize.so: No such file or 
directory
collect2: ld returned 1 exit status
make[2]: *** [../../../../.ext/i686-linux/-test-/array/resize.so] Error 
1
make[2]: Leaving directory 
`/home/ruby-1.9.3-p327/ext/-test-/array/resize'
make[1]: *** [ext/-test-/array/resize/all] Error 2
make[1]: Leaving directory `/home/ruby-1.9.3-p327'
make: *** [build-ext] Error 2

So I did the following:

mkdir ../../../../.ext
mkdir ../../../../.ext/x86_64-linux
mkdir ../../../../.ext/x86_64-linux/-test-
mkdir ../../../../.ext/x86_64-linux/-test-/array

I had to do this for each target in the -test- directory.

----------------------------------------
Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.so
https://bugs.ruby-lang.org/issues/7550#change-34920

Author: l0b0 (Victor Engmark)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


=begin
As ((<reported elsewhere|URL:http://www.ruby-forum.com/topic/4408967>)), 
Ruby compiles fine the first time after extracting, but repeating it 
after a (({make distclean})) doesn't work.

The commands:

 $ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
 $ cd ruby-1.9.3-p327/
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config.log
 $ make &> my-make.log
 $ make distclean
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config2.log
 $ diff my-config* && echo identical
 identical
 $ make &> my-make2.log

From the difference, it looks like at least some generated files are not 
deleted by (({make distclean})) - miniprelude.c being the first. Then 
ripper is not configured. And last it seems that .ext/i686-linux/-test-/ 
and subdirectories has been deleted but not regenerated.
=end
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-12-21 08:33
(Received via mailing list)
Issue #7550 has been updated by usa (Usaku NAKAMURA).

Status changed from Open to Assigned
Assignee set to nobu (Nobuyoshi Nakada)

nobu, do you have any idea about this?
----------------------------------------
Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.so
https://bugs.ruby-lang.org/issues/7550#change-34924

Author: l0b0 (Victor Engmark)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category:
Target version:


=begin
As ((<reported elsewhere|URL:http://www.ruby-forum.com/topic/4408967>)), 
Ruby compiles fine the first time after extracting, but repeating it 
after a (({make distclean})) doesn't work.

The commands:

 $ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
 $ cd ruby-1.9.3-p327/
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config.log
 $ make &> my-make.log
 $ make distclean
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config2.log
 $ diff my-config* && echo identical
 identical
 $ make &> my-make2.log

From the difference, it looks like at least some generated files are not 
deleted by (({make distclean})) - miniprelude.c being the first. Then 
ripper is not configured. And last it seems that .ext/i686-linux/-test-/ 
and subdirectories has been deleted but not regenerated.
=end
Posted by Heesob Park (phasis)
on 2012-12-21 10:20
(Received via mailing list)
Issue #7550 has been updated by phasis68 (Heesob Park).


In order to fix this issue, the change set r36820 should be backported.


----------------------------------------
Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.so
https://bugs.ruby-lang.org/issues/7550#change-34926

Author: l0b0 (Victor Engmark)
Status: Assigned
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category:
Target version:


=begin
As ((<reported elsewhere|URL:http://www.ruby-forum.com/topic/4408967>)), 
Ruby compiles fine the first time after extracting, but repeating it 
after a (({make distclean})) doesn't work.

The commands:

 $ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
 $ cd ruby-1.9.3-p327/
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config.log
 $ make &> my-make.log
 $ make distclean
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config2.log
 $ diff my-config* && echo identical
 identical
 $ make &> my-make2.log

From the difference, it looks like at least some generated files are not 
deleted by (({make distclean})) - miniprelude.c being the first. Then 
ripper is not configured. And last it seems that .ext/i686-linux/-test-/ 
and subdirectories has been deleted but not regenerated.
=end
Posted by Brian Cardarella (bcardarella)
on 2012-12-24 03:29
(Received via mailing list)
Issue #7550 has been updated by bcardarella (Brian Cardarella).


I just applied this diff and am still getting the same error
----------------------------------------
Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.so
https://bugs.ruby-lang.org/issues/7550#change-35043

Author: l0b0 (Victor Engmark)
Status: Closed
Priority: Normal
Assignee: nobu (Nobuyoshi Nakada)
Category:
Target version:


=begin
As ((<reported elsewhere|URL:http://www.ruby-forum.com/topic/4408967>)), 
Ruby compiles fine the first time after extracting, but repeating it 
after a (({make distclean})) doesn't work.

The commands:

 $ tar --extract --gzip --file ruby-1.9.3-p327.tar.gz
 $ cd ruby-1.9.3-p327/
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config.log
 $ make &> my-make.log
 $ make distclean
 $ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327 &> 
my-config2.log
 $ diff my-config* && echo identical
 identical
 $ make &> my-make2.log

From the difference, it looks like at least some generated files are not 
deleted by (({make distclean})) - miniprelude.c being the first. Then 
ripper is not configured. And last it seems that .ext/i686-linux/-test-/ 
and subdirectories has been deleted but not regenerated.
=end
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.