Opened 10 years ago

Closed 10 years ago

#43138 closed defect (fixed)

fail to build py27-petsc4py

Reported by: mengqiz Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: petsc

Description

I want to install PETSc via macports, but I am not sure what happened in the log file, which I attached. Please have a look. Thanks.

Attachments (2)

main1.log (61.8 KB) - added by mengqiz 10 years ago.
main.log (61.8 KB) - added by mengqiz 10 years ago.
The new main.log file

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by mengqiz

Attachment: main1.log added

comment:1 Changed 10 years ago by seanfarley (Sean Farley)

Owner: changed from macports-tickets@… to sean@…
Status: newassigned

For starters, this log is for petsc4py which is a different project than PETSc. It seems that this is choking on some python3 error. Can you send the output of port select --list python?

Last edited 10 years ago by seanfarley (Sean Farley) (previous) (diff)

comment:2 Changed 10 years ago by mengqiz

I reinstalled the macports, and I use python 2.7, the following is the output of port select --list python.

port select --list python

Available versions for python:

none
python25-apple
python26-apple
python27 (active)
python27-apple

Last edited 10 years ago by mengqiz (previous) (diff)

comment:3 Changed 10 years ago by seanfarley (Sean Farley)

Ok, what about port select --list cython?

Changed 10 years ago by mengqiz

Attachment: main.log added

The new main.log file

comment:4 Changed 10 years ago by mengqiz

I did port select --list cython, it was

port select --list cython

Available versions for cython:

cython27 (active)
none

Actually the none was active, then I select cython27. I tried to rebuild and install the py27-petsc4py again, it didn't work. The new main.log file is attached, the error is almost the same....

comment:5 Changed 10 years ago by seanfarley (Sean Farley)

I was able to reproduce this on my mavericks machine. Hopefully, that will leave me to a fix.

comment:6 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

Ok, this turned out to be a bug in petsc4py. Fixed in r118969.

Note: See TracTickets for help on using tickets.