Your message dated Sat, 13 May 2006 17:17:26 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#347554: fixed in emacs21 21.4a-4
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)

--- Begin Message ---
Package: emacs21
Version: 21.4a-3
Severity: important
Tags: patch

Hi,

your package fails to autobuild on hurd-i386:

Automatic build of emacs21_21.4a-3 on beethoven by sbuild/hurd-i386 79
Build started at 20051221-1736
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 18.3MB of source archives.
Get:1 http://ftp2.de.debian.org unstable/main emacs21 21.4a-3 (dsc)
[795B]
Get:2 http://ftp2.de.debian.org unstable/main emacs21 21.4a-3 (tar)
[18.1MB]
Get:3 http://ftp2.de.debian.org unstable/main emacs21 21.4a-3 (diff)
[156kB]
Fetched 18.3MB in 23s (786kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends: mailx, libncurses5-dev, texinfo, liblockfile-dev,
libungif4-dev, libtiff4-dev | libtiff-dev, xaw3dg-dev, libpng3-dev,
libjpeg62-dev, autotools-dev, dpkg-dev (>> 1.10.0), dpatch (>= 2.0.9)
** Filtered missing central deps that are dependencies of or provide
build-deps:
zlib1g-dev (>= 1:1.1.4)
**** Warning:
**** The following central src deps are (probably) missing:
  libtiff3g-dev, xlibs-dev (>> 4.1.0)
[...]
Checking correctness of source dependencies...
Toolchain package versions: libc0.3-dev_2.3.5-6 gcc-4.0_4.0.2-4
g++-4.0_4.0.2-4 binutils_2.16.1-2 libstdc++6-4.0-dev_4.0.2-4
libstdc++6_4.0.2-4
------------------------------------------------------------------------------
dpkg-source: extracting emacs21 in emacs21-21.4a
dpkg-source: unpacking emacs21_21.4a.orig.tar.gz
dpkg-source: applying /org/buildd/build/emacs21_21.4a-3.diff.gz
dpkg-buildpackage: source package is emacs21
dpkg-buildpackage: source version is 21.4a-3
dpkg-buildpackage: host architecture hurd-i386
[...]
make[3]: Entering directory
`/build/buildd/emacs21-21.4a/debian/build-x/lisp'
wd=/build/buildd/emacs21-21.4a/lisp; subdirs=`find $wd -type d -print`;
for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* |
*/=* ) ;; *) wins="$wins $file" ;; esac; done; \
echo Directories: $wins; \
../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload
--eval '(setq generated-autoload-file
"/build/buildd/emacs21-21.4a/lisp/loaddefs.el")' -f
batch-update-autoloads $wins
Directories: /build/buildd/emacs21-21.4a/lisp
/build/buildd/emacs21-21.4a/lisp/term
/build/buildd/emacs21-21.4a/lisp/play
/build/buildd/emacs21-21.4a/lisp/toolbar
/build/buildd/emacs21-21.4a/lisp/textmodes
/build/buildd/emacs21-21.4a/lisp/progmodes
/build/buildd/emacs21-21.4a/lisp/obsolete
/build/buildd/emacs21-21.4a/lisp/language
/build/buildd/emacs21-21.4a/lisp/international
/build/buildd/emacs21-21.4a/lisp/eshell
/build/buildd/emacs21-21.4a/lisp/emulation
/build/buildd/emacs21-21.4a/lisp/emacs-lisp
/build/buildd/emacs21-21.4a/lisp/calendar
/build/buildd/emacs21-21.4a/lisp/net
/build/buildd/emacs21-21.4a/lisp/mail
/build/buildd/emacs21-21.4a/lisp/gnus
/bin/sh: line 1: 13265 Segmentation fault      ../src/bootstrap-emacs
-batch --no-site-file
--multibyte -l autoload --eval '(setq generated-autoload-file
"/build/buildd/emacs21-21.4a/lisp/loaddefs.el")' -f
batch-update-autoloads $wins
make[3]: *** [autoloads] Error 139
make[3]: Leaving directory
`/build/buildd/emacs21-21.4a/debian/build-x/lisp'
make[2]: *** [bootstrap-lisp] Error 2
make[2]: Leaving directory `/build/buildd/emacs21-21.4a/debian/build-x'
make[1]: *** [maybe_bootstrap] Error 2
make[1]: Leaving directory `/build/buildd/emacs21-21.4a/debian/build-x'
make: *** [debian/stamp/build] Error 2
******************************************************************************
Build finished at 20051221-1751
FAILED [dpkg-buildpackage died]

The full build log can be found here:
http://experimental.ftbfs.de/fetch.php?&pkg=emacs21&ver=21.4a-3&arch=hurd-i386&stamp=1135183963&file=log&as=raw


This segfault has haunted us for ages, but we now finally have a tested
patch taken from upstream, which is attached as a dpatch, please apply.


cheers,

Michael
#!/bin/sh -e
## hurd-mmap.dpatch by Michael Banck <[EMAIL PROTECTED]>
##
## DP: ** mmap fix
## DP: Author: Richard M. Stallman <[EMAIL PROTECTED]>
## DP: Date: Fri, 06 Jan 2006 18:55:03 -0400

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"

case "$1" in
       -patch) patch $patch_opts -p1 < $0;;
       -unpatch) patch $patch_opts -p1 -R < $0;;
        *)
                echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
                exit 1;;
esac

exit 0

@DPATCH@
2002-04-30  Richard M. Stallman  <[EMAIL PROTECTED]>

        * s/gnu.h [emacs]: Include stdio.h.
        (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.

2002-05-05  Richard M. Stallman  <[EMAIL PROTECTED]>

        * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.

--- orig/src/s/gnu.h
+++ mod/src/s/gnu.h
@@ -60,6 +60,11 @@
 #undef BSD_PGRPS
 #define GETPGRP_NO_ARG
 
+/* Use mmap directly for allocating larger buffers.  */
+#ifdef DOUG_LEA_MALLOC
+#undef REL_ALLOC
+#endif
+
 #define HAVE_WAIT_HEADER
 #define WAIT_USE_INT
 #define HAVE_UNION_WAIT
@@ -78,3 +83,12 @@
 #endif
 
 #define NARROWPROTO 1
+
+#ifdef emacs
+#include <stdio.h>  /* Get the definition of _IO_STDIO_H.  */
+#if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM)
+/* new C libio names */
+#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
+  ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
+#endif /* !_IO_STDIO_H */
+#endif /* emacs */

--- End Message ---
--- Begin Message ---
Source: emacs21
Source-Version: 21.4a-4

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

emacs21-bin-common_21.4a-4_i386.deb
  to pool/main/e/emacs21/emacs21-bin-common_21.4a-4_i386.deb
emacs21-common_21.4a-4_all.deb
  to pool/main/e/emacs21/emacs21-common_21.4a-4_all.deb
emacs21-el_21.4a-4_all.deb
  to pool/main/e/emacs21/emacs21-el_21.4a-4_all.deb
emacs21-nox_21.4a-4_i386.deb
  to pool/main/e/emacs21/emacs21-nox_21.4a-4_i386.deb
emacs21_21.4a-4.diff.gz
  to pool/main/e/emacs21/emacs21_21.4a-4.diff.gz
emacs21_21.4a-4.dsc
  to pool/main/e/emacs21/emacs21_21.4a-4.dsc
emacs21_21.4a-4_i386.deb
  to pool/main/e/emacs21/emacs21_21.4a-4_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rob Browning <[EMAIL PROTECTED]> (supplier of updated emacs21 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Sat, 13 May 2006 16:24:05 -0700
Source: emacs21
Binary: emacs21-el emacs21-common emacs21-nox emacs21-bin-common emacs21
Architecture: source all i386
Version: 21.4a-4
Distribution: unstable
Urgency: low
Maintainer: Rob Browning <[EMAIL PROTECTED]>
Changed-By: Rob Browning <[EMAIL PROTECTED]>
Description: 
 emacs21    - The GNU Emacs editor
 emacs21-bin-common - The GNU Emacs editor's shared, architecture dependent 
files
 emacs21-common - The GNU Emacs editor's shared, architecture independent 
infrastru
 emacs21-el - GNU Emacs LISP (.el) files
 emacs21-nox - The GNU Emacs editor (without X support)
Closes: 347554 365597
Changes: 
 emacs21 (21.4a-4) unstable; urgency=low
 .
   * Migrate from dpatch to quilt and update generation of README. [rlb]
     - debian/README.in
     - debian/rules
     - debian/control.in
     - debian/patches/*
 .
   * Change occurrence of "find ... -perm +u+x" to "find ... -perm /u+x".
     The former is no longer handled the way it used to be, and *doesn't*
     find all files with execute permission.  Thanks to François Fleuret
     for pointing out the initial problem.  [rlb]
     - debian/rules
 .
   * Replace $(pwd) with $(CURDIR) in debian/rules.
     - debian/rules
 .
   * Remove PACKAGE variable.
     - debian/rules
 .
   * Arrange DEB_ vars as recommended by
     /usr/share/doc/autotools-dev/README.Debian.gz and do the same with
     DEB_HOST_ARCH and DEB_HOST_GNU_CPU. [rlb]
     - debian/rules
 .
   * Use DEB_HOST_GNU_TYPE for the value of target rather than
     DEB_BUILD_GNU_TYPE. [rlb]
     - debian/rules
 .
   * Add $(src_name) and $(flavor) and use them. [rlb]
     - debian/rules
 .
   * Remove show-upstream-diffs target (use check-diff instead). [rlb]
     - debian/rules
 .
   * Rename orig_tgz and orig_tgz_dir variables to deb_orig_tgz and
     deb_orig_tgz_dir. [rlb]
     - debian/rules
 .
   * Lowercase local makefile variable names. [rlb]
     - debian/rules
 .
   * Migrate to debhelper (while consulting Jérôme Marant's work on
     emacs-snapshot).  There may still be a bit to do. [rlb]
     - debian/rules
     - debian/changelog
     - debian/compat
     - debian/control
     - debian/control.in
     - debian/emacs-bin-common.postinst
     - debian/emacs-bin-common.postrm
     - debian/emacs-bin-common.prerm
     - debian/emacs-common.README
     - debian/emacs-common.docs
     - debian/emacs-common.postinst
     - debian/emacs-common.prerm
     - debian/emacs-el.prerm
     - debian/emacs.README
     - debian/emacs.menu
     - debian/emacs.postinst
     - debian/emacs.postrm
     - debian/emacs.preinst
     - debian/emacs.prerm
     - debian/rules
     - debian/README.binpkg.in (moved to debian/emacs.README)
     - debian/README.in (moved to debian/emacs-common.README)
     - debian/build-binary-pkg (removed - now handled in debian/rules)
     - debian/menu.in (moved to debian/emacs.menu)
 .
   * Change nominal_ver computation to match code in configure.in. [rlb]
     - debian/rules
 .
   * Add libxaw7-dev dependency to make sure we get that instead of
     libxaw8-dev.  Thanks to Tollef Fog Heen <[EMAIL PROTECTED]>.
     (closes: #365597) [rlb]
     - debian/control.in
 .
   * Apply an upstream patch to fix an mmap related Hurd build problem.
     Thanks to Michael Banck <[EMAIL PROTECTED]>. (closes: #347554) [rlb]
     - debian/patches/series
     - debian/patches/hurd-mmap.diff
Files: 
 6f0ec88be27507b7a4ab80cd1d4d0d95 859 editors optional emacs21_21.4a-4.dsc
 70319bfb4eb4ec3dfbde32e8ed97e90c 150623 editors optional 
emacs21_21.4a-4.diff.gz
 4402674bb30cbfaac77bf1cf98b21007 7210114 editors optional 
emacs21-el_21.4a-4_all.deb
 328e02a731a0b54cfc2430b813005fa7 11025578 editors optional 
emacs21-common_21.4a-4_all.deb
 6b19d74562842c22db00b4f0d6a9a9af 2043916 editors optional 
emacs21_21.4a-4_i386.deb
 aa975fe1b7356f7fa6ba5d34f2ce8892 1840536 editors optional 
emacs21-nox_21.4a-4_i386.deb
 f06c7bbc9798f538d8ca31394322a285 139234 editors optional 
emacs21-bin-common_21.4a-4_i386.deb

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

iD8DBQFEZnV/JcjTd4x+c6QRAstAAJ4qZepnYw2fux9RgatFP/MZoveZQACg25Sm
wn4B/wUdagEtIektrssTGi4=
=/t93
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to