It appears that pacman needs /usr/lib/libattr.la
but the package "attr" has
options=('!libtool')
and does not provide that file.
Setting
options=('libtool')
for the package "attr"
solves the problem, but I don't know if that is the correct solution.
Karolina