Bug#325201: marked as done (gnome-libs: FTBFS (ppc64): configure check for 'umode_t' fails)

Debian Bug Tracking System owner at bugs.debian.org
Thu Sep 1 13:03:07 UTC 2005


Your message dated Thu, 01 Sep 2005 05:47:11 -0700
with message-id <E1EAoTH-0002lx-00 at spohr.debian.org>
and subject line Bug#325201: fixed in gnome-libs 1.4.2-21
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Aug 2005 19:45:42 +0000
>From aj at andaco.de Fri Aug 26 12:45:41 2005
Return-path: <aj at andaco.de>
Received: from c203066.adsl.hansenet.de (localhost.localdomain) [213.39.203.66] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E8k8z-0004wf-00; Fri, 26 Aug 2005 12:45:41 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
	id 1E8k8v-0008FE-B4; Fri, 26 Aug 2005 21:45:37 +0200
To: Debian Bug Tracking System <submit at bugs.debian.org>
From: Andreas Jochens <aj at andaco.de>
Subject: gnome-libs: FTBFS (ppc64): configure check for 'umode_t' fails
Message-Id: <E1E8k8v-0008FE-B4 at localhost.localdomain>
Date: Fri, 26 Aug 2005 21:45:37 +0200
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: gnome-libs
Version: 1.4.2-20
Severity: normal
Tags: patch

When building 'gnome-libs' on ppc64/unstable,
I get the following error:

                 from /usr/include/asm/elf.h:8,
                 from /usr/include/asm-ppc64/sigcontext.h:12,
                 from /usr/include/asm/sigcontext.h:8,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from /usr/include/sys/wait.h:30,
                 from gnome-exec.c:48:
/usr/include/asm-ppc64/types.h:19: error: two or more data types in declaration specifiers
gnome-exec.c: In function 'gnome_execute_async_with_env_fds':
gnome-exec.c:193: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
make[3]: *** [gnome-exec.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support -I../intl -I../intl -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DGNOMELIBDIR=\"/usr/lib\" -DGNOMEDATADIR=\"/usr/share\" -DGNOMEBINDIR=\"/usr/bin\" -DGNOMELOCALSTATEDIR=\"/var/lib\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOMESYSCONFDIR=\"/etc\" -DVERSION=\"1.4.2\" -DG_LOG_DOMAIN=\"Gnome\" -I/usr/include/libpng10 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -Wall -g -O2 -Wall -Wunused -c gnome-fileconvert.c -o gnome-fileconvert.o >/dev/null 2>&1
mv -f .libs/gnome-fileconvert.lo gnome-fileconvert.lo
make[3]: Leaving directory `/gnome-libs-1.4.2/libgnome'

This occurs because 'umode_t' is defined explicitly by the configure 
script.

The 'umode_t' check in the configure script fails for some reason.

With the attached patch 'gnome-libs' can be compiled on ppc64.

The patch remove the configure check for 'umode_t' entirely.
This should not do any harm because 'umode_t' is not used
in the sources.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnome-libs-1.4.2/configure.in ./configure.in
--- ../tmp-orig/gnome-libs-1.4.2/configure.in	2002-08-16 00:24:36.000000000 +0200
+++ ./configure.in	2005-08-26 20:30:05.000000000 +0200
@@ -304,7 +304,6 @@
 AC_CHECK_FUNCS(strdup)
 AC_CHECK_HEADERS(utime.h)
 AC_FUNC_MMAP
-AC_CHECK_TYPE(umode_t, int)
 
 AC_ARG_ENABLE(prefer-db1, [  --enable-prefer-db1     Prefer Berkeley DB 1.x] [default=no]],[prefer_db1="$enableval"],[prefer_db1=no])
 dnl
diff -urN ../tmp-orig/gnome-libs-1.4.2/configure ./configure
--- ../tmp-orig/gnome-libs-1.4.2/configure	2002-08-16 00:24:44.000000000 +0200
+++ ./configure	2005-08-26 20:30:27.000000000 +0200
@@ -11284,39 +11284,6 @@
 
 fi
 
-echo $ac_n "checking for umode_t""... $ac_c" 1>&6
-echo "configure:11289: checking for umode_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_umode_t'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  cat > conftest.$ac_ext <<EOF
-#line 11294 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#endif
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "(^|[^a-zA-Z_0-9])umode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
-  rm -rf conftest*
-  ac_cv_type_umode_t=yes
-else
-  rm -rf conftest*
-  ac_cv_type_umode_t=no
-fi
-rm -f conftest*
-
-fi
-echo "$ac_t""$ac_cv_type_umode_t" 1>&6
-if test $ac_cv_type_umode_t = no; then
-  cat >> confdefs.h <<\EOF
-#define umode_t int
-EOF
-
-fi
-
 
 # Check whether --enable-prefer-db1 or --disable-prefer-db1 was given.
 if test "${enable_prefer_db1+set}" = set; then

---------------------------------------
Received: (at 325201-close) by bugs.debian.org; 1 Sep 2005 12:49:30 +0000
>From katie at spohr.debian.org Thu Sep 01 05:49:30 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EAoTH-0002lx-00; Thu, 01 Sep 2005 05:47:11 -0700
From: Loic Minier <lool at dooz.org>
To: 325201-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#325201: fixed in gnome-libs 1.4.2-21
Message-Id: <E1EAoTH-0002lx-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Thu, 01 Sep 2005 05:47:11 -0700
Delivered-To: 325201-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: gnome-libs
Source-Version: 1.4.2-21

We believe that the bug you reported is fixed in the latest version of
gnome-libs, which is due to be installed in the Debian FTP archive:

gnome-bin_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/gnome-bin_1.4.2-21_i386.deb
gnome-dev-doc_1.4.2-21_all.deb
  to pool/main/g/gnome-libs/gnome-dev-doc_1.4.2-21_all.deb
gnome-libs-data_1.4.2-21_all.deb
  to pool/main/g/gnome-libs/gnome-libs-data_1.4.2-21_all.deb
gnome-libs_1.4.2-21.diff.gz
  to pool/main/g/gnome-libs/gnome-libs_1.4.2-21.diff.gz
gnome-libs_1.4.2-21.dsc
  to pool/main/g/gnome-libs/gnome-libs_1.4.2-21.dsc
libart-dev_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libart-dev_1.4.2-21_i386.deb
libart2_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libart2_1.4.2-21_i386.deb
libgnome-dev_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnome-dev_1.4.2-21_i386.deb
libgnome32_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnome32_1.4.2-21_i386.deb
libgnomesupport0_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnomesupport0_1.4.2-21_i386.deb
libgnomeui32_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnomeui32_1.4.2-21_i386.deb
libgnorba-dev_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnorba-dev_1.4.2-21_i386.deb
libgnorba27_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnorba27_1.4.2-21_i386.deb
libgnorbagtk0_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgnorbagtk0_1.4.2-21_i386.deb
libgtkxmhtml-dev_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgtkxmhtml-dev_1.4.2-21_i386.deb
libgtkxmhtml1_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libgtkxmhtml1_1.4.2-21_i386.deb
libzvt-dev_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libzvt-dev_1.4.2-21_i386.deb
libzvt2_1.4.2-21_i386.deb
  to pool/main/g/gnome-libs/libzvt2_1.4.2-21_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 325201 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Loic Minier <lool at dooz.org> (supplier of updated gnome-libs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 27 Aug 2005 00:13:34 +0200
Source: gnome-libs
Binary: libart2 libgnomesupport0 libgnomeui32 libgtkxmhtml-dev gnome-dev-doc libgnorbagtk0 libgtkxmhtml1 libgnorba-dev gnome-libs-data libgnorba27 libzvt-dev libzvt2 gnome-bin libart-dev libgnome32 libgnome-dev
Architecture: source i386 all
Version: 1.4.2-21
Distribution: unstable
Urgency: low
Maintainer: lool at dooz.org
Changed-By: Loic Minier <lool at dooz.org>
Description: 
 gnome-bin  - Miscellaneous binaries used by GNOME
 gnome-dev-doc - GNOME developers documentation
 gnome-libs-data - Data for GNOME libraries
 libart-dev - The GNOME canvas widget - development files
 libart2    - The GNOME canvas widget - runtime files
 libgnome-dev - The GNOME libraries -- development package
 libgnome32 - The GNOME libraries
 libgnomesupport0 - The GNOME libraries (Support libraries)
 libgnomeui32 - The GNOME libraries (User Interface)
 libgnorba-dev - GNOME CORBA services -- development package
 libgnorba27 - GNOME CORBA services
 libgnorbagtk0 - GNOME CORBA services (Gtk bindings)
 libgtkxmhtml-dev - The GNOME gtkxmhtml (HTML) widget -- development package
 libgtkxmhtml1 - The GNOME gtkxmhtml (HTML) widget
 libzvt-dev - The GNOME zvt (zterm) widget -- development package
 libzvt2    - The GNOME zvt (zterm) widget
Closes: 325201
Changes: 
 gnome-libs (1.4.2-21) unstable; urgency=low
 .
   * Remove unnecessary configure.in check on umode_t versus int because of
     FTBFS on pppc64 (Andreas Jochens <aj at andaco.de>). (Closes: #325201)
     [debian/patches/15_umode_t-configure-check.dpatch, debian/patches/00list]
   * Import changes from 1.4.2-20 as a patch.
     [debian/patches/16_gcc4-build-fixes.dpatch, debian/patches/00list]
   * Use newer style dpatch calls. [debian/control, debian/control.in,
     debian/rules]
Files: 
 58053848fc3ff5d54eabc30ccb3e823b 2003 oldlibs optional gnome-libs_1.4.2-21.dsc
 bfc10bee9bc0a32fa9bce60a3d42c563 24263 oldlibs optional gnome-libs_1.4.2-21.diff.gz
 c8834144ed9ffbd41a3d2f38ba016343 308872 gnome optional gnome-libs-data_1.4.2-21_all.deb
 563c9e653e92a3bc25680d5011eb90cb 519720 doc optional gnome-dev-doc_1.4.2-21_all.deb
 0c5f446efdd0d02b424c9e085f0d1cd6 80720 oldlibs optional libgnome32_1.4.2-21_i386.deb
 36b424cd29e7c3f9cd55b42dc1a3ed9a 435238 oldlibs optional libgnomeui32_1.4.2-21_i386.deb
 180cc63c1278e06576073bef22940fee 25470 oldlibs optional libgnomesupport0_1.4.2-21_i386.deb
 7936a17add303ec92aa0fb497ee86c18 584426 libdevel optional libgnome-dev_1.4.2-21_i386.deb
 b29cb5c96ff78de8e8db13baaf62ac26 50116 oldlibs optional libart2_1.4.2-21_i386.deb
 d09f6e92c24ede3cdd1dd7a61f9c4f59 47632 libdevel optional libart-dev_1.4.2-21_i386.deb
 4abbe777553a492f867f54573249eba7 54606 oldlibs optional libgnorba27_1.4.2-21_i386.deb
 3361e4cc284c93bd332edf99eab0616e 44520 oldlibs optional libgnorbagtk0_1.4.2-21_i386.deb
 8c5c1806bf5cea3cbdcecbfc06301c5d 35938 libdevel optional libgnorba-dev_1.4.2-21_i386.deb
 951a2681a36168d7ca927ad7b711ca23 97608 oldlibs optional libzvt2_1.4.2-21_i386.deb
 76a505236ffc69c1f8d1dc8493d017f8 51802 libdevel optional libzvt-dev_1.4.2-21_i386.deb
 c5ab1a176bdb07c2b547deff5d0289d4 186046 oldlibs optional libgtkxmhtml1_1.4.2-21_i386.deb
 5ddf81647726422646371a5395ae4ada 244574 libdevel optional libgtkxmhtml-dev_1.4.2-21_i386.deb
 d24ea4153751126ae7d954f7c5f00a1a 93906 gnome optional gnome-bin_1.4.2-21_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFvSaQxo87aLX0pIRAuXZAJ9nX09eSsrRKXFu79BKkLYZnzpFmQCg0Wrg
wIgqhSPFIHPAXXol3QMewhk=
=ujHe
-----END PGP SIGNATURE-----




More information about the Pkg-gnome-maintainers mailing list