https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-12-21T06:24:29ZRuby Issue Tracking SystemBackport193 - Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.sohttps://bugs.ruby-lang.org/issues/7550?journal_id=349202012-12-21T06:24:29ZHenryse (Henry Seurer)Henryse@gmail.com
<ul></ul><p>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:</p>
<p>../../../../.ext/x86_64-linux/-test-/array/resize.so</p>
<p>When I tried to build ruby I would get the following error:</p>
<p>make[2]: Entering directory <code>/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 </code>/home/ruby-1.9.3-p327/ext/-test-/array/resize'<br>
make[1]: *** [ext/-test-/array/resize/all] Error 2<br>
make[1]: Leaving directory `/home/ruby-1.9.3-p327'<br>
make: *** [build-ext] Error 2</p>
<p>So I did the following:</p>
<p>mkdir ../../../../.ext<br>
mkdir ../../../../.ext/x86_64-linux<br>
mkdir ../../../../.ext/x86_64-linux/-test-<br>
mkdir ../../../../.ext/x86_64-linux/-test-/array</p>
<p>I had to do this for each target in the -test- directory.</p>
<p>Upon further investigation, if you do the following in each of the failing directories it fixes the issue:</p>
<p>make -B</p>
<p>I ran into this issue on the following OSs:<br>
OSX 10.8.2<br>
CentOS 6.2</p>
<p>It worked find in Ubuntu.</p> Backport193 - Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.sohttps://bugs.ruby-lang.org/issues/7550?journal_id=349242012-12-21T16:32:44Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>nobu (Nobuyoshi Nakada)</i></li></ul><p>nobu, do you have any idea about this?</p> Backport193 - Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.sohttps://bugs.ruby-lang.org/issues/7550?journal_id=349262012-12-21T18:19:57Zphasis68 (Heesob Park)phasis@gmail.com
<ul></ul><p>In order to fix this issue, the change set r36820 should be backported.</p> Backport193 - Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.sohttps://bugs.ruby-lang.org/issues/7550?journal_id=349292012-12-21T19:16:17Zusa (Usaku NAKAMURA)usa@garbagecollect.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r38528.<br>
Victor, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>merge revision(s) 36820: [Backport <a class="issue tracker-4 status-5 priority-4 priority-default closed" title="Backport: Can't rebuild 1.9.3-p327 because of missing resize.so (Closed)" href="https://bugs.ruby-lang.org/issues/7550">#7550</a>]</p>
<pre><code>mkmf.rb: clean timestamps
* lib/mkmf.rb (MakeMakefile::CLEANINGS): clean timestamp files.
</code></pre> Backport193 - Backport #7550: Can't rebuild 1.9.3-p327 because of missing resize.sohttps://bugs.ruby-lang.org/issues/7550?journal_id=350432012-12-24T11:28:41Zbcardarella (Brian Cardarella)bcardarella@gmail.com
<ul></ul><p>I just applied this diff and am still getting the same error</p>