I too have encountered this problem when updating build images to use Ubuntu 16.04. The build images are used to build an application built on SFML.
I have been able to work around the problem with a privately patched clone of SFML that incorporates Jakub Jelinek's and Dan Kegel's suggestions (see http://web.archive.org/web/20160509014317/https://gitlab.peach-bun.com/pinion/SFML/commit/3383b4a472f0bd16a8161fb8760cd3e6333f1782.patch for a patch against SFML 2.3.2), but maintaining a private clone is overhead that I'd prefer to eliminate.
I too have encountered this problem when updating build images to use Ubuntu 16.04. The build images are used to build an application built on SFML.
I have been able to work around the problem with a privately patched clone of SFML that incorporates Jakub Jelinek's and Dan Kegel's suggestions (see http:// web.archive. org/web/ 20160509014317/ https:/ /gitlab. peach-bun. com/pinion/ SFML/commit/ 3383b4a472f0bd1 6a8161fb8760cd3 e6333f1782. patch for a patch against SFML 2.3.2), but maintaining a private clone is overhead that I'd prefer to eliminate.