Opened 8 months ago

Last modified 8 months ago

#57096 assigned defect

root6 6.14.02 installed with python36 variant when python34 variant is specified

Reported by: AlexanderLarsRobinson (Alexander Lars Robinson) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc: mojca (Mojca Miklavec)
Port: root6

Description (last modified by AlexanderLarsRobinson (Alexander Lars Robinson))

root6 was upgraded from 6.10.08 on my machine (MacOS Sierra 10.12.6) to 6.14.02, but the installation automatically switched the root6 variant from python34 to python36. Manually specifying the python34 variant results in the installation of the python36 variant instead as well.

E.g.:

sudo port install root6 @6.14.02_1+cocoa+cxx17+gcc7+graphviz+gsl+http+minuit2+opengl+python34+roofit+soversion+ssl+tmva+veccore+xml+xrootd

becomes

Installing root6 @6.14.02_1+cocoa+cxx17+gcc7+graphviz+gsl+http+minuit2+opengl+python36+roofit+soversion+ssl+tmva+veccore+xml+xrootd

This is highly undesirable behaviour, as an upgrade to one package is, in effect, removing a necessary python package and thus breaking everything.

Change History (8)

comment:1 Changed 8 months ago by AlexanderLarsRobinson (Alexander Lars Robinson)

Similarly:

sudo port install root6 @6.14.02_1+python34

became

Attempting to fetch root6-6.14.02_1+cocoa+cxx17+gcc8+graphviz+gsl+http+minuit2+opengl+python36+roofit+soversion+ssl+tmva+xml+xrootd.darwin_16.x86_64.tbz2 from https://packages.macports.org/root6

upon which I killed it.

comment:2 Changed 8 months ago by AlexanderLarsRobinson (Alexander Lars Robinson)

Description: modified (diff)

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

Cc: jonesc@… cjones051073 mojca@… removed
Keywords: python variant removed
Owner: set to cjones051073
Status: newassigned

comment:4 Changed 8 months ago by cjones051073 (Chris Jones)

the python34 variant is no longer offered. It was dropped a while back in a general ratification of the variants. only 27, 3.5 3.6 and 3.7 are now offered.

This is why it changed for your, as the variant you had no longer exists the default is used instead.

comment:5 Changed 8 months ago by AlexanderLarsRobinson (Alexander Lars Robinson)

I am having an severe memory-handling error in the interaction of root6 6.14.02 with python36. I cannot install the python34 variant of root6 6.14.02, nor can I install the python36 variant of any earlier version of root6. In both cases root6 @6.14.02+python36 is installed. It is thus impossible for me to determine what the cause of this error is, and whether a version change in root6 or its python interface will solve it. This is incredibly inconvenient.

comment:6 Changed 8 months ago by cjones051073 (Chris Jones)

By all means checkout the Portfile for root6 and try adding back the older python variant for yourself. You then should be able to try installing it with the newer root6 release.

comment:7 Changed 8 months ago by AlexanderLarsRobinson (Alexander Lars Robinson)

I'm trying the other python versions before I try to figure out how the portfiles work.

Also: the python37 variant of root6 returned Error: Dependency 'py37-metakernel' not found.. I don't feel like submitting another ticket.

comment:8 Changed 8 months ago by mojca (Mojca Miklavec)

I hope I fixed the dependencies for python 3.7

Note: See TracTickets for help on using tickets.