Opened 8 years ago

Closed 8 years ago

#52534 closed defect (fixed)

Error: org.macports.build for port py35-graph-tool returned: command execution failed

Reported by: garethsimons@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mamoll (Mark Moll), wladston (Wladston Ferreira Filho)
Port: py-graph-tool

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am getting errors trying to install py35-graph-tool.

At first it gave me errors about the wrong boost, so I ran:

port install boost +no_single +no_static +python35
port clean py35-graph-tool
port install py35-graph-tool

However, I'm still getting errors. Log file attached.

Thanks.

Attachments (2)

main.log (179.0 KB) - added by garethsimons@… 8 years ago.
error log file
main.2.log (123.1 KB) - added by garethsimons@… 8 years ago.
log file showing boost error

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by garethsimons@…

Attachment: main.log added

error log file

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mmoll@… added
Description: modified (diff)
Keywords: boost graph-tool removed
Owner: changed from macports-tickets@… to tiago@…

Can you be more specific about what you mean by "errors about the wrong boost"? Can you attach a log of that too?

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from tiago@… to mf2k@…
Port: py-graph-tool added; py35-graph-tool removed
Status: newassigned

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from mf2k@… to tiago@…
Status: assignednew

comment:4 Changed 8 years ago by mamoll (Mark Moll)

Owner: changed from tiago@… to jwa@…

I think this is not a bug in py-graph-tool, but in python35. This patch needs to be applied: https://trac.macports.org/attachment/ticket/44288/patch-Include-pyport.h.diff.

Re. the errors about the wrong boost, I think he means that boost with the wrong python variant.

comment:5 Changed 8 years ago by garethsimons@…

Yes, that is correct, the error is related to boost being built with the wrong python variant.

I completely uninstalled mac ports and re-ran the install to recreate the original issue -> log file attached.

Thanks.

Changed 8 years ago by garethsimons@…

Attachment: main.2.log added

log file showing boost error

comment:6 Changed 8 years ago by wladston (Wladston Ferreira Filho)

I also have the same problem. Also received an error about the wrong boost variant, reinstalled boost, and still can't install py35-graph-tool.

@mamoll, how can I apply this patch?

comment:7 Changed 8 years ago by wladston (Wladston Ferreira Filho)

Cc: wladston added

comment:8 Changed 8 years ago by mamoll (Mark Moll)

@wladston, I don't this error anymore with the latest versions of python35 and py35-graph-tool. Can you attach your main.log?

comment:9 Changed 8 years ago by wladston (Wladston Ferreira Filho)

@mamoll Installing with port install py35-graph-tool still complains about boots not being installed with +python35. However, after I install boost as described by the OP, py35-graph-tool builds without errors. Thanks!

Last edited 8 years ago by wladston (Wladston Ferreira Filho) (previous) (diff)

comment:10 Changed 8 years ago by mamoll (Mark Moll)

@wladston there's no mechanism in MacPorts to depend on a specific variant of a port. The py-graph-tool port will give an error message when you have boost installed with the wrong python variant.

comment:11 Changed 8 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.