After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 133397 - make check: file-test fail
make check: file-test fail
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
2.3.x
Other HP-UX
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2004-02-04 13:06 UTC by Jonas Jonsson
Modified: 2011-02-18 16:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Jonas Jonsson 2004-02-04 13:06:05 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
Comment 1 Owen Taylor 2004-02-04 15:09:20 UTC
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.