Many thanks to Alexander, Mick and Urs!
The strange C.UTF-8 , which was suggested by one of the devolopers of
media-gfx/darktable,
did cause the problems. The error messages were strange and misleading.
Urs wrote
You can generate a "fake" C.UTF-8 locale with localedef:
# localedef -i en_US -f UTF-8 C.UTF-8
and remove it when no longer needed:
# localedef --delete-from-archive C.utf8
Don't blame me for ugly side effects...
Urs
Many thanks for this unusual hint. With this I can build the
GIT-version of darktable.
Is the strange locale name C.UTF-8 a "specialty" of darktable or have
other distributions such a locale?
Many thanks again to you all,
Helmut