Opened 14 years ago

Last modified 14 years ago

#23598 closed defect

Python error activatin duplicity — at Version 11

Reported by: isaac@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: andreas.wilm@…, owenc@…, filippos@…, barthelemy@…
Port: duplicity

Description (last modified by mf2k (Frank Schima))

I get an error while installing "duplicity" during the activation stage.

sudo port install duplicity
...
Error: Target org.macports.destroot returned: can't read "python.prefix": no such variable

Attaching full output with -d.

Change History (13)

Changed 14 years ago by isaac@…

Attachment: port_install.log added

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

Owner: changed from macports-tickets@… to singingwolfboy@…
Port: duplicity added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by singingwolfboy@…

Status: newassigned

Confirmed: I'm seeing exactly the same issue on 10.6. I'm not sure how to solve it, though: even with the debug output, I'm not sure exactly where python.prefix is being called without being defined. (It doesn't help that I'm not very familiar with the internals of Macports.) I tried manually setting that variable, both in the main body of the port and in the post-destroot section (which seems to be where it's failing), but nothing changed. Anyone else want to take a look at this issue?

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

PortGroup was never designed to be used anywhere but right after PortSystem, for one thing.

comment:4 Changed 14 years ago by andreas.wilm@…

Same here.

See also ticket #21126

comment:5 Changed 14 years ago by andreas.wilm@…

Cc: andreas.wilm@… added

Cc Me!

Changed 14 years ago by owenc@…

Attachment: log.txt added

comment:6 Changed 14 years ago by owenc@…

I'm seeing the exact same error.

I'm afraid I have no clue how this all works though. I've tried editing the Portfile but it seems to ignore those changes.

Log attached.

comment:7 Changed 14 years ago by owenc@…

Cc: owenc@… added

Cc Me!

comment:8 Changed 14 years ago by filippos@…

Cc: filippos@… added

Cc Me!

comment:9 Changed 14 years ago by barthelemy@…

Same problem here. Note that it only appears when using python2.6. A workaround is then to use the python25 variant.

comment:10 Changed 14 years ago by barthelemy@…

Cc: barthelemy@… added

Cc Me!

comment:11 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.