Comment 2 for bug 285861

It fails to build in intrepid amd64 pbuilder:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -pthread -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DGETTEXT_DEFAULT_CATALOG_DIR="\"/usr/share/locale\"" -DDEFAULTRC="\"/etc/pavukrc\"" -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.c; \
 then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi
tools.c: In function 'st_xvaprintf':
tools.c:203: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
In function 'open',
    inlined from 'tl_save_text_file' at tools.c:1729:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [tools.o] Error 1
make[3]: Leaving directory `/tmp/buildd/pavuk-0.9.35/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/pavuk-0.9.35'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/pavuk-0.9.35'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem