GNOME Bugzilla – Bug 133397
make check: file-test fail
Last modified: 2011-02-18 16:07:18 UTC
** ERROR **: file file-test.c: line 61: assertion failed: (fd == -1 && "g_mkstemp works even if template doesn't end in XXXXXX") aborting... /bin/sh: 1097 Trace/BPT trap(coredump) FAIL: file-test Compiler-info: HP C/HP-UX Release Notes for HP-UX 11i/11.x HP 9000 Computers HP C/HP-UX Version B.11.11.06 5187-0750 GLib configured like this: ./configure --prefix=/alcesys/build/gnome-2.6 --exec_prefix=/alcesys/build/gnome-2.6 --bindir=/alcesys/build/gnome-2.6/bin --sbindir=/alcesys/build/gnome-2.6/sbin --libexecdir=/alcesys/build/gnome-2.6/libexec --datadir=/alcesys/build/gnome-2.6/share --sysconfdir=/alcesys/build/gnome-2.6/etc --sharedstatedir=/alcesys/build/gnome-2.6/share --localstatedir=/alcesys/build/gnome-2.6/var --libdir=/alcesys/build/gnome-2.6/lib --infodir=/alcesys/build/gnome-2.6/info --includedir=/alcesys/build/gnome-2.6/include --mandir=/alcesys/build/gnome-2.6/man --disable-static --with-html-dir=/alcesys/build/gnome-2.6/share/gtk-doc/html --disable-gtk-doc --x-includes=/usr/include/X11R6 --x-libraries=/usr/lib/X11R6 --with-threads=posix --with-libiconv=gnu --enable-debug CFLAGS used: +DA2.0W -Ae -g
There's nothing in the POSIX spec requiring mkstemp to reject filenames without XXXXXXX... it's completely undefined by the spec what happens. So, I think we should just remove that bit of the test case.