Opened 12 years ago

Closed 3 years ago

#37062 closed defect (wontfix)

pymol @1.5 tcl must be installed without +corefoundation

Reported by: ryan.sheldon@… Owned by: howarth.at.macports@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: howarth@…, steeves@…, csumma@…, quantum7@…, locober@…, SickTeddyBear, ryandesign (Ryan Carsten Schmidt)
Port: pymol

Description

Pymol fails to build; seems similar to ticket:21968. Running Mac OS X 10.7.5 with Xcode 4.5.2. Failure occurs when compiling with clang, llvm, and gcc. Following appears in main.log when attempting to build pymol:

:notice:configure --->  Configuring pymol
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure tcl is installed with the following variants: +corefoundation
:debug:configure   required: , forbidden: corefoundation
:debug:configure   rejected, because forbidden variant corefoundation is present
:error:configure org.macports.configure for port pymol returned: tcl must be installed without +corefoundation.
:debug:configure Error code: NONE
:debug:configure Backtrace: tcl must be installed without +corefoundation.

This issue appears to be new as installing PyMOL last month on another Mac OS X 10.7.5 system did not have any errors.

Attachments (1)

main.log (177.2 KB) - added by ryan.sheldon@… 12 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 12 years ago by ryan.sheldon@…

Also appears related to changes made by ticket:31995

Changed 12 years ago by ryan.sheldon@…

Attachment: main.log added

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

Cc: howarth@… added
Port: pymol added
Resolution: invalid
Status: newclosed

In the future, please fill in the Port field and Cc the port maintainer(s).

So you need to do what it says and build tcl without +corefoundation.

sudo port install tcl -corefoundation

comment:3 Changed 12 years ago by steeves@…

Resolution: invalid
Status: closedreopened

This causes a problem with other ports (e.g. R-framework) which depend on tcl being built with corefoundation. If I remove this option to get pymol to build and install, launching R and trying to install a package via the install.package() command causes R to crash:

R> install.packages("rgl")
Installing package(s) into '/Users/steevmi1/Library/R/2.15'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... TclMacOSXNotifierAddRunLoopMode: Tcl not built with CoreFoundation support
[1]    61302 abort      R

comment:4 Changed 12 years ago by steeves@…

Cc: steeves@… added

Cc Me!

comment:5 Changed 12 years ago by howarth@…

So you are saying you broke pymol again? It is beyond me why you fellows don't just do the sensible thing and fold the use of corefoundation into the pthreads variant (which I recommended long ago). Using corefoundation drags in threading so you might as well couple the two together.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 12 years ago by steeves@…

Well, no. My choice is to either run pymol (using a tcl installed with -corefoundation) and not be able to run other applications (R from R-framework was the one I found, may be others) that want tcl installed with +corefoundation, or to not be able to install pymol but to be able to use the other apps.

In the example I used when I reopened the ticket, I fixed pymol and broke R....

comment:7 Changed 12 years ago by csumma@…

Cc: csumma@… added

Cc Me!

comment:8 Changed 12 years ago by csumma@…

I've had to do the following to allow pymol to install (in the following order):

sudo port uninstall py26-pmw
sudo port uninstall py26-tkinter
sudo port uninstall tk
sudo port uninstall tcl

sudo port install tcl -corefoundation
sudo port install tk -quartz
sudo port install pymol

This was after a failed install of pymol from a clean Macports on Lion.

Hardly a fix, but if you're in a jam and need pymol - this works. Not sure what other packages may be uninstallable as a result, though.

comment:9 Changed 12 years ago by danny.ash@…

I also have this problem. I do not want to screw up my tcl so that I can't run R, just in order to fix a compatibility issue for a program that used to build just fine before this regression.

Last edited 12 years ago by danny.ash@… (previous) (diff)

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: quantum7@… added

comment:11 Changed 11 years ago by locober@…

Cc: locober@… added

Cc Me!

comment:12 Changed 11 years ago by SickTeddyBear

Cc: amcgee@… added

Cc Me!

comment:13 in reply to:  5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to howarth.at.macports@…
Status: reopenednew

Replying to howarth@…:

So you are saying you broke pymol again? It is beyond me why you fellows don't just do the sensible thing and fold the use of corefoundation into the pthreads variant (which I recommended long ago). Using corefoundation drags in threading so you might as well couple the two together.

I'm not sure to whom this comment was directed, and I'm not sure what you meant by it. The pymol portfile states that it requires that the tcl port be installed without the corefoundation variant:

require_active_variants tcl "" corefoundation
require_active_variants tk "" quartz

(To explain, for any readers unfamiliar with require_active_variants: this states that for the dependency tcl there are no required variants and there is 1 forbidden variant (corefoundation). Similarly, it states that for the dependency tk there are no required variants and there is 1 forbidden variant (quartz).)

How would combining the corefoundation and threads variants in the tcl port have anything to do with whether or not pymol works with corefoundation support?

comment:14 Changed 3 years ago by reneeotten (Renee Otten)

Resolution: wontfix
Status: newclosed

current version is 2.5 ; this is no longer relevant as it now uses Qt5

Note: See TracTickets for help on using tickets.