iLCSoft / iLCInstall

Python scripts to install iLCSoft software and dependencies
GNU General Public License v3.0
4 stars 26 forks source link

ILCSoft does not work anymore in zsh #142

Closed ueinhaus closed 1 year ago

ueinhaus commented 3 years ago

To make it short, using zsh gives an error when init_ilsoft.sh is sourced. This is true since v02-01, while v02-00-02 was still working. Presumably this is due to ENV variables in DD4HEP (that changed from v01-07-02 to v01-11-02), which are in conflict with default ones in zsh. This is not only forcing me right now to use bash for the moment, but it also came without warning or proper error message, leading to repeated frustration over "Why does this not work anymore??".

tmadlener commented 2 years ago

This is indeed a problem of DD4hep, that was introduced somewhere between v01-07-02 and v01-11-02 (of DD4hep). The problem is L58 here: https://github.com/AIDASoft/DD4hep/blob/2d88cf58bf4644b4cce292f24f746ced4d4881ba/cmake/thisdd4hep.sh#L58-L61

Starting with v01-13 of DD4hep everything should work again (L59-61 above).

tmadlener commented 1 year ago

Closing this, as it is a DD4hep issue and fixed again with newer versions of DD4hep.