Opened 12 years ago
Closed 12 years ago
#36519 closed defect (fixed)
ruby19: build fails with error mentioning openssl
Reported by: | cdeil (Christoph Deil) | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | gjasny@… | |
Port: | ruby19 |
Description
I tried sudo port install rb19-rails
and the ruby19
build fails with this error:
:info:build /opt/local/bin/gmkdir: cannot create directory ‘../../.ext/common/openssl’: File exists :info:build make[2]: *** [../../.ext/common/openssl] Error 1
Note that I had previously installed the ruby19 +nosuffix
variant, but I did uninstall it because I couldn't install rails with it (see ticket:36518).
Is the ruby19 install broken or did the previous uninstall not work properly?
Full log attached.
Attachments (1)
Change History (7)
Changed 12 years ago by cdeil (Christoph Deil)
comment:1 follow-up: 4 Changed 12 years ago by kimuraw (kimura wataru)
comment:2 Changed 12 years ago by gjasny@…
Hello,
I was hit by the same bug (8 processor iMac). Disabling the parallel build solved the problem for me.
Could you please update the Portfile accordingly?
Thanks, Gregor
comment:4 Changed 12 years ago by cdeil (Christoph Deil)
Replying to kimuraw@…:
I cannot reproduce your error. It might be a problem from parallel build (make -j8).
try this:
$ sudo port clean ruby19 $ sudo port install ruby19 use_parallel_build=no
Sorry, I did try this, but forgot to reply here.
I did run the *parallel* build five more times:
sudo port uninstall ruby19 sudo port install ruby19
All five builds succeeded, I wasn't able to reproduce the error.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Cc: | kimuraw@… removed |
---|---|
Owner: | changed from macports-tickets@… to kimuraw@… |
comment:6 Changed 12 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed at r99475.
set use_parallel_build to "no".
I cannot reproduce your error. It might be a problem from parallel build (make -j8).
try this: