As of commit 1e3c0ae "unified libdir handling", the libdir argument for the BuildRoot constructor is not a keyword argument anymore. Adapt the argument accordingly.
1e3c0ae