Opened 7 years ago

Closed 7 years ago

#53999 closed defect (fixed)

gds @2.17.7 fails to build: root needs python

Reported by: rxa254 (Rana Adhikari) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ed.maros@…
Port: gds

Description

--->  Fetching archive for root_select
--->  Attempting to fetch root_select-1.2_0.darwin_14.noarch.tbz2 from https://packages.macports.org/root_select
--->  Attempting to fetch root_select-1.2_0.darwin_14.noarch.tbz2.rmd160 from https://packages.macports.org/root_select
--->  Installing root_select @1.2_0
--->  Activating root_select @1.2_0
--->  Cleaning root_select
--->  Fetching archive for root5
--->  Attempting to fetch root5-5.34.37_0+cocoa+gcc6+graphviz+gsl+http+minuit2+opengl+roofit+soversion+ssl+tmva+xml.darwin_14.x86_64.tbz2 from https://packages.macports.org/root5
--->  Attempting to fetch root5-5.34.37_0+cocoa+gcc6+graphviz+gsl+http+minuit2+opengl+roofit+soversion+ssl+tmva+xml.darwin_14.x86_64.tbz2.rmd160 from https://packages.macports.org/root5
--->  Installing root5 @5.34.37_0+cocoa+gcc6+graphviz+gsl+http+minuit2+opengl+roofit+soversion+ssl+tmva+xml
--->  Activating root5 @5.34.37_0+cocoa+gcc6+graphviz+gsl+http+minuit2+opengl+roofit+soversion+ssl+tmva+xml
======================================================================================
  Making root5 your default root version. To change this run 'sudo port select root'
======================================================================================
--->  Cleaning root5
--->  Fetching archive for gds
Error: Failed to archivefetch gds: root5 must be installed with +python27.

Attachments (2)

main.log (47.7 KB) - added by rxa254 (Rana Adhikari) 7 years ago.
log file from build attempt
main.2.log (2.3 MB) - added by rxa254 (Rana Adhikari) 7 years ago.
log file of failed build

Change History (6)

Changed 7 years ago by rxa254 (Rana Adhikari)

Attachment: main.log added

log file from build attempt

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

Cc: ed.maros@… added
Port: gds added
Resolution: invalid
Status: newclosed
Summary: gds 2.17.7 fails to build: root needs pythongds @2.17.7 fails to build: root needs python

So install root5 with the +python27 variant.

comment:2 Changed 7 years ago by rxa254 (Rana Adhikari)

indeed, that is the correct solution.

But it seems to be an issue that this port does not add the +python27 flag when installing root5 (as is a common convention with other ports). It seems that if python27 is required, then when the gds port calls for the root5 installation it should do it in the way that allows gds to build.

Changed 7 years ago by rxa254 (Rana Adhikari)

Attachment: main.2.log added

log file of failed build

comment:3 Changed 7 years ago by rxa254 (Rana Adhikari)

Resolution: invalid
Status: closedreopened

re-opening since this issue has not been resolved - the port needs to be fixed to use the correct dependencies to be considered 'resolved'

also, using the +python27 variant doesn't even work anymore (build log on Mac OS Sierra attached above)

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed

This port works as well as it can. It uses the active_variants portgroup:

require_active_variants port:root5 python27

See also #126.

Note: See TracTickets for help on using tickets.