Opened 6 years ago

Closed 6 years ago

#43997 closed defect (worksforme)

Dolfin build failure

Reported by: mwathen@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc:
Port: dolfin

Description

I updated my macports today and I got an error the following error when it tried to upgrade dolfin:

Error: org.macports.build for port dolfin returned: command execution failed Please see the log file for port dolfin for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port dolfin failed

I have attached the main.log file

Attachments (3)

main.log (323.9 KB) - added by mwathen@… 6 years ago.
main2.log (783.0 KB) - added by mwathen@… 6 years ago.
main.2.log (199.6 KB) - added by mwathen@… 6 years ago.

Download all attachments as: .zip

Change History (14)

Changed 6 years ago by mwathen@…

Attachment: main.log added

comment:1 Changed 6 years ago by ci42

Owner: changed from macports-tickets@… to sean@…
Port: dolfin added
Summary: Dolfin updateDolfin build failure

In the future please remember to fill in the port field and Cc the maintainers (port info --maintainers dolfin).

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

I got this error a lot when trying to compile petsc4py support. Could you do the usual 'port clean', 'port selfupdate', and 'port upgrade outdated' dance, and then run in tracemode? port -vt install dolfin You might want to try with none of the variants, as well (SuiteSparse is needed for the examples, though).

comment:3 in reply to:  2 Changed 6 years ago by mwathen@…

Replying to sean@…:

I got this error a lot when trying to compile petsc4py support. Could you do the usual 'port clean', 'port selfupdate', and 'port upgrade outdated' dance, and then run in tracemode? port -vt install dolfin You might want to try with none of the variants, as well (SuiteSparse is needed for the examples, though).

I still get an error when doing this

Changed 6 years ago by mwathen@…

Attachment: main2.log added

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

Hmm, is this with mpich 3.1.1? That should have rebuilt boost when you did a upgraded outdated. Did it do that? If I remember correctly, that fixed this issue for me.

comment:5 in reply to:  4 Changed 6 years ago by mwathen@…

Replying to sean@…:

Hmm, is this with mpich 3.1.1? That should have rebuilt boost when you did a upgraded outdated. Did it do that? If I remember correctly, that fixed this issue for me.

I just checked and I am using mpich 3.1.1, the first time when I upgraded outdated it did up grade boost.

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

Then this is a conundrum.

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

I've pushed some fixes for dolfin today. Is this still an issue?

Changed 6 years ago by mwathen@…

Attachment: main.2.log added

comment:8 in reply to:  7 Changed 6 years ago by mwathen@…

Replying to sean@…:

I've pushed some fixes for dolfin today. Is this still an issue?

I have just tried again and I still get an error. I have attached the log file

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

Can you try to install a version with less variants?

port selfupdate
port clean dolfin
port install dolfin +mpich +SuiteSparse

A more drastic approach would be to uninstall mpich and all its dependents and then reinstall via boost:

port uninstall --follow-dependents mpich-default
port install boost +mpich

comment:10 in reply to:  9 ; Changed 6 years ago by mwathen@…

Replying to sean@…:

Can you try to install a version with less variants?

port selfupdate
port clean dolfin
port install dolfin +mpich +SuiteSparse

A more drastic approach would be to uninstall mpich and all its dependents and then reinstall via boost:

port uninstall --follow-dependents mpich-default
port install boost +mpich

I tried both these and it still does not work

comment:11 in reply to:  10 Changed 6 years ago by seanfarley (Sean Farley)

Resolution: worksforme
Status: newclosed

Replying to mwathen@…:

Replying to sean@…:

Can you try to install a version with less variants?

port selfupdate
port clean dolfin
port install dolfin +mpich +SuiteSparse

A more drastic approach would be to uninstall mpich and all its dependents and then reinstall via boost:

port uninstall --follow-dependents mpich-default
port install boost +mpich

I tried both these and it still does not work

Well, damn. At this point, you'd have to deactivate (if it is activated) dolfin and try building it from source (without macports). This way you could try to isolate the error. With this working for me and others, I don't know what else to do without access to this machine.

Note: See TracTickets for help on using tickets.