Opened 14 years ago

Closed 13 years ago

#13391 closed defect (fixed)

BUG: Ruby fails to compile on 10.3 with pthreads enabled

Reported by: eejd Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: ruby pthreads Cc:


Ruby fails to install on OS X 10.3 (Server) when installed with and without thread_hooks. The build fails on a linker error.

ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
make: *** [miniruby] Error 1

Warning: the following items did not execute (for ruby): org.macports.activate or
g.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Ruby 1.8.6 MacPorts 1.520

A complete debug build is included below

Attachments (1)

LogFile.txt (24.7 KB) - added by eejd 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by eejd

Attachment: LogFile.txt added

comment:1 Changed 14 years ago by eejd

if you disable pthreads ruby compiles successfully.

diff Portfile.original Portfile 
> platform darwin 7 {
>       # pthreads is being called with an unavailible function call
>       configure.args  --enable-shared \
>                               --mandir="${prefix}/share/man" \
>                               --without-tk
> }

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to pguyot@…

Assigning to maintainer.

comment:3 Changed 13 years ago by pguyot (Paul Guyot)

Resolution: wontfix
Status: newclosed

I don't have any access to a 10.3 box and we're not supposed to support 10.3 (especially since 10.5.1 was released). I mark this bug as wontfix, but I'll integrate a patch if you provide me with one.

comment:4 Changed 13 years ago by pguyot (Paul Guyot)

Resolution: wontfix
Status: closedreopened

Oops, I didn't see the patch.

comment:5 Changed 13 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: reopenedclosed

Fixed in r34556.

Note: See TracTickets for help on using tickets.