Opened 15 years ago

Closed 15 years ago

#20774 closed defect (worksforme)

denyhosts-2.6 fails to build -- unknown variable 'python.bin'

Reported by: razzfazz (Daniel Becker) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: denyhosts

Description

When trying to build security/denyhosts, I get the following error message:

--->  Building denyhosts
Error: Target org.macports.build returned: can't read "python.bin": no such variable
Warning: the following items did not execute (for denyhosts): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

The MacPorts guide says this variable is supposed to be defined for ports with PortGroup python/python2x; could the problem here be that the PortGroup is only set by the variant?

Change History (7)

comment:1 Changed 15 years ago by tobypeterson

heh, this is certainly one of the more egregious abuses of the PortGroup functionality

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to snc@…

comment:3 Changed 15 years ago by razzfazz (Daniel Becker)

This seems to work now, so I think the ticket can be closed.

comment:4 in reply to:  3 ; Changed 15 years ago by jgrevich@…

Replying to razzfazz@…:

This seems to work now, so I think the ticket can be closed.

How did you get it to work? It's still failing for me with the same error:

bash-3.2# port clean denyhosts
--->  Cleaning denyhosts
bash-3.2# port install denyhosts +python26
--->  Computing dependencies for denyhosts
--->  Building denyhosts
Error: Target org.macports.build returned: can't read "python.bin": no such variable
Error: Status 1 encountered during processing.

Do you have any suggestions?

comment:5 in reply to:  4 Changed 15 years ago by jgrevich@…

Replying to jgrevich@…:

Replying to razzfazz@…:

This seems to work now, so I think the ticket can be closed.

How did you get it to work? It's still failing for me with the same error:

bash-3.2# port clean denyhosts
--->  Cleaning denyhosts
bash-3.2# port install denyhosts +python26
--->  Computing dependencies for denyhosts
--->  Building denyhosts
Error: Target org.macports.build returned: can't read "python.bin": no such variable
Error: Status 1 encountered during processing.

Do you have any suggestions?

FYI. I just got python26 +universal to install after building zlib with +universal and removing the Import Nav from the python makefile. This is also running on a MacBookPro (4,1) with Snow Leopard and 64-bit extensions enabled.

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:7 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: assignedclosed
Version: 1.7.1

The problem cited in this ticket doesn't occur any longer for the reporter or myself.

Marking worksforme.

Note: See TracTickets for help on using tickets.