Opened 14 years ago

Closed 14 years ago

#29331 closed defect (wontfix)

PyPy 1.4.1 won't compile without gcc-4.0

Reported by: zelegolas@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: pypy

Description

I try to install PyPy 1.4.1 like this:

sudo port install pypy

It generate this output:

--->  Computing dependencies for pypy
--->  Building pypy
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for pypy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_pypy/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I put the log in attach

Attachments (1)

pypy-1.4.1-port.log (28.0 KB) - added by zelegolas@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by zelegolas@…

Attachment: pypy-1.4.1-port.log added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed
OSError: /usr/bin/gcc-4.0: [Errno 2] No such file or directory

This version of PyPy simply won't build correctly with anything but gcc-4.0, so you need to have it.

comment:2 Changed 14 years ago by zelegolas@…

Resolution: worksforme
Status: closedreopened

Since Xcode 4.0 the latest version of gcc it's gcc-4.2.

$ ll /usr/bin/gcc*
lrwxr-xr-x  1 root  wheel     7B 15 Apr 18:29 /usr/bin/gcc -> gcc-4.2
-rwxr-xr-x  1 root  wheel   162K 11 Feb 17:00 /usr/bin/gcc-4.2

You have to replace gcc-4.0 by "gcc" or "gcc-4.2"

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: reopenedclosed
Summary: PyPy 1.4.1 won't compilePyPy 1.4.1 won't compile without gcc-4.0

I meant what I said in my previous comment. You'll have to complain to upstream about it.

Note: See TracTickets for help on using tickets.