View Issue Details

IDCategoryLast Update
0007796bugs2019-08-26 17:08
ReporterdvzrvAssigned To 
Reproducibilityhave not tried 
Status newResolutionopen 
PlatformSome Other LinuxOSSome Other LinuxOS Versionunknown
Product Version 
Fixed in Version 
Summary0007796: update waf to >=2.0.7
DescriptionIt would be most awesome, if the (quite old) waf version (1.6.11) could be updated.

For the Arch Linux package I'm currently experimenting with a system installed waf (which works flawlessly with waf >= 2.0.0), as python2 is soon EOL ( https://pythonclock.org/ ) and will be dropped from the repositories.

The custom autowaf import is fairly easy to get working with the system installed waf. However, the configuration loading of 'misc' is no longer possible, as the extra configuration has been dropped from waf and e.g. `command-output` is not available anymore. This is still in use in gtk2_ardour ( https://github.com/Ardour/ardour/blob/6.0-pre0/gtk2_ardour/wscript#L818 ) and needs to be replaced/removed.
The configuration 'misc' is loaded in tools/luadevel/wscript, session_utils/wscript, libs/fst/wscript, headless/wscript and gtk2_ardour/wscript.
Apart from the latter, I don't know yet, on which the others will break, if this is plainly removed. Additionally, testing against the old version is hard, because it requires python2, etc.

Ideally waf would be updated to the current version (2.0.18), to ensure interoperability with python3.7.
Steps To ReproduceTry to build current stable (5.12) or above from source using system installed waf, by replacing the global autowaf imports with local ones:

```
touch __init__.py
find . -type f -iname "*wscript*" -exec sed -e 's/from waflib.extras import autowaf/from tools import autowaf/g' -i {} \;
find . -type f -iname "*wscript*" -exec sed -e 's/import waflib.extras.autowaf/from tools import autowaf/g' -i {} \;
```
Additional Informationwaf 2.0.18
Tagscleanup, waf

Activities

x42

2019-08-26 16:31

administrator   ~0020755

Likely a won't fix for years to come. It likely won't happen until we drop winXP and OSX 10.5 PPC, OSX 10.6 support. and Linux glibc 2.2.5, gcc4 compatibility.
Python2 works just fine as build system, even if it is EOL.

dvzrv

2019-08-26 17:08

reporter   ~0020756

"Likely a won't fix for years to come."
What are the main blockers?

"It likely won't happen until we drop winXP and OSX 10.5 PPC, OSX 10.6 support. and Linux glibc 2.2.5, gcc4 compatibility."
How is that connected to waf 1.6.11?

"Python2 works just fine as build system, even if it is EOL."
Well, if it's not in the repositories anymore, Ardour will not be buildable.

Issue History

Date Modified Username Field Change
2019-08-26 15:58 dvzrv New Issue
2019-08-26 15:58 dvzrv Tag Attached: cleanup
2019-08-26 15:58 dvzrv Tag Attached: waf
2019-08-26 16:31 x42 Note Added: 0020755
2019-08-26 17:08 dvzrv Note Added: 0020756