poppler-attachment.cc includes gstdio.h which is not available in glib <2.6. configure should either check for version 2.6 of glib or poppler-attachment.cc be changed to work with an older version. How to reproduce: try to compile poppler without glib 2.6 installed. Workaround: If the glib bindings are not needed, compile with --disable-poppler-glib.
Actually there is a check in pkg-config for glib-2.0 >= 2.6 so it should not try to compile glib binding when not installed, i'll try to see if the check is not correct.
Found it, that was quick eh !
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.