[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#117944: marked as done (tetex-bin: Missing return value causes dvips to fail on ia64)



Your message dated Thu, 22 Nov 2001 15:50:29 -0500
with message-id <E1670nl-000368-00@auric.debian.org>
and subject line Bug#117944: fixed in tetex-bin 1.0.7+20001218-7
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; 1 Nov 2001 20:12:24 +0000
>From jdaily@progeny.com Thu Nov 01 14:12:24 2001
Return-path: <jdaily@progeny.com>
Received: from klecker.debian.org [198.186.203.20] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15zNCm-0007KF-00; Thu, 01 Nov 2001 13:08:44 -0600
Received: from murphy.debian.org [216.234.231.6] 
	by klecker.debian.org with smtp (Exim 3.12 1 (Debian))
	id 15zMbo-0007wy-00; Thu, 01 Nov 2001 10:30:32 -0800
Received: (qmail 25864 invoked from network); 1 Nov 2001 16:41:10 -0000
Received: from zealot.progeny.com (HELO butthead.progeny.com) (216.37.46.162)
  by murphy.debian.org with SMTP; 1 Nov 2001 16:41:10 -0000
Received: by butthead.progeny.com (Postfix, from userid 10018)
	id 7F7B676E; Thu,  1 Nov 2001 11:41:09 -0500 (EST)
From: "John R. Daily" <jdaily@progeny.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: Missing return value causes dvips to fail on ia64
X-Reportbug-Version: 1.33
X-Mailer: reportbug 1.33
Date: Thu, 01 Nov 2001 11:41:09 -0500
Message-Id: <20011101164109.7F7B676E@butthead.progeny.com>
Delivered-To: submit@bugs.debian.org

Package: tetex-bin
Version: 1.0.7+20001218-6
Severity: important
Tags: patch

dvips exits prematurely on ia64 because of a missing return value
from a function that is expected to return a boolean. This patch
changes the function to void.

This will enable at least one other package, aleph, to build on
ia64.

diff -Naur tetex-bin.orig/texk/dvipsk/download.c tetex-bin-1.0.7+20001218/texk/dvipsk/download.c
--- tetex-bin.orig/texk/dvipsk/download.c	Tue Jan 18 02:36:19 2000
+++ tetex-bin-1.0.7+20001218/texk/dvipsk/download.c	Thu Nov  1 10:00:12 2001
@@ -407,8 +407,7 @@
         newline() ;
         if (! disablecomments)
            (void)fprintf(bitfile, "%%%%BeginFont: %s\n",  rf->PSname);
-        if (!t1_subset(rf->Fontfile, rf->Vectfile, grid))
-            exit(1);
+        t1_subset(rf->Fontfile, rf->Vectfile, grid);
         if (! disablecomments)
            (void)fprintf(bitfile, "%%%%EndFont \n");
    }
diff -Naur tetex-bin.orig/texk/dvipsk/protos.h tetex-bin-1.0.7+20001218/texk/dvipsk/protos.h
--- tetex-bin.orig/texk/dvipsk/protos.h	Sat Feb  6 17:23:15 1999
+++ tetex-bin-1.0.7+20001218/texk/dvipsk/protos.h	Thu Nov  1 09:55:29 2001
@@ -363,4 +363,7 @@
 extern struct tft *vfontdef P2H(int s, int siz);
 extern Boolean virtualfont P1H(fontdesctype *curfnt);
 
+/* prototypes for functions from writet1.c */
+extern void t1_subset(char *, char *, unsigned char *);
+
 #endif
diff -Naur tetex-bin.orig/texk/web2c/pdftexdir/writet1.c tetex-bin-1.0.7+20001218/texk/web2c/pdftexdir/writet1.c
--- tetex-bin.orig/texk/web2c/pdftexdir/writet1.c	Fri Apr 14 16:49:21 2000
+++ tetex-bin-1.0.7+20001218/texk/web2c/pdftexdir/writet1.c	Thu Nov  1 09:55:12 2001
@@ -1616,8 +1616,12 @@
     t1_close_font_file(">");
 }
 
+
 #ifndef pdfTeX
-boolean t1_subset(char *fontfile, char *encfile, unsigned char *g)
+/*
+ * Formerly declared to return boolean, but there was no return value!
+ */
+void t1_subset(char *fontfile, char *encfile, unsigned char *g)
 {
     int i;
     cur_enc_name = encfile;

-- System Information
Debian Release: testing/unstable
Architecture: ia64
Kernel: Linux butthead 2.4.9-itanium-smp #1 SMP Mon Sep 17 20:48:35 MDT 2001 ia64
Locale: LANG=C, LC_CTYPE=

Versions of packages tetex-bin depends on:
ii  debianutils             1.15             Miscellaneous utilities specific t
ii  dpkg                    1.9.17           Package maintenance system for Deb
ii  ed                      0.2-19           The classic unix line editor
ii  libc6.1                 2.2.4-3          GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20001218-6 shared libkpathsea for teTeX
ii  libpng2                 1.0.12-2         PNG library - runtime
ii  libstdc++2.10-glibc2.2  1:2.96-5         The GNU stdc++ library version 3
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libwww0                 5.3.2-7          The W3C-WWW library.
ii  libxaw7                 4.1.0-9          X Athena widget set library
ii  perl-base               5.6.1-5          The Pathologically Eclectic Rubbis
ii  tetex-base              1.0.2+20000804-9 basic teTeX library files
ii  xlibs                   4.1.0-9          X Window System client libraries
ii  zlib1g                  1:1.1.3-16       compression library - runtime


---------------------------------------
Received: (at 117944-close) by bugs.debian.org; 22 Nov 2001 20:50:30 +0000
>From troup@auric.debian.org Thu Nov 22 14:50:30 2001
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 1670nm-0004Ry-00; Thu, 22 Nov 2001 14:50:30 -0600
Received: from troup by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 1670nl-000368-00; Thu, 22 Nov 2001 15:50:29 -0500
From: Christoph Martin <christoph.martin@uni-mainz.de>
To: 117944-close@bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#117944: fixed in tetex-bin 1.0.7+20001218-7
Message-Id: <E1670nl-000368-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Thu, 22 Nov 2001 15:50:29 -0500
Delivered-To: 117944-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
tetex-bin, which has been installed in the Debian FTP archive:

libkpathsea-dev_1.0.7+20001218-7_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_1.0.7+20001218-7_i386.deb
libkpathsea3_1.0.7+20001218-7_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_1.0.7+20001218-7_i386.deb
tetex-bin_1.0.7+20001218-7.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20001218-7.diff.gz
tetex-bin_1.0.7+20001218-7.dsc
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20001218-7.dsc
tetex-bin_1.0.7+20001218-7_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20001218-7_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 117944@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Martin <christoph.martin@uni-mainz.de> (supplier of updated tetex-bin 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Thu, 22 Nov 2001 14:55:54 +0100
Source: tetex-bin
Binary: tetex-bin libkpathsea-dev libkpathsea3
Architecture: source i386
Version: 1.0.7+20001218-7
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Christoph Martin <christoph.martin@uni-mainz.de>
Description: 
 libkpathsea-dev - kpathsea.a and include files for teTeX
 libkpathsea3 - shared libkpathsea for teTeX
 tetex-bin  - teTeX binary files
Closes: 112345 117500 117944 120301
Changes: 
 tetex-bin (1.0.7+20001218-7) unstable; urgency=low
 .
   * add special copyright statement about tex.web and mf.web to
     copyrights file (closes: #117500)
   * fix a bug in dvips on ia64 (closes: #117944)
   * remove pre-depends on essential perl(5)-base (closes: #120301)
   * suggests perl-tk instead of recommends (closes: #112345)
Files: 
 efb3e19aee4667f2fbaff49f921d64dc 1186 tex standard tetex-bin_1.0.7+20001218-7.dsc
 b7bb557e9b6059f6f190ecfa7cfa0d22 53572 tex standard tetex-bin_1.0.7+20001218-7.diff.gz
 736fa540b67e53e861f5165224488490 2551254 tex standard tetex-bin_1.0.7+20001218-7_i386.deb
 e70366791e39bfa74bcb6ab6b8cd3e0a 35414 libs standard libkpathsea3_1.0.7+20001218-7_i386.deb
 357bec8bb9f8dcd53b692acbdef46148 63368 devel optional libkpathsea-dev_1.0.7+20001218-7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBO/0LHm4/9k35XC9tAQGPcAgArVSj8b8B0vVL/Ru/s9KcWqrDibE5PLl3
5e+VocaedkkqWB+XFYG8OOCHjLUEBQGVhxl6EmJqjt0Hpw6ALYc9Ws39fvYLajjQ
lZdPB5iTesJLuF+UltlIiKeh3QK2WCh60yALhIAsToE77gJyio5f+7L8nin+70Wd
xwHHNcNz54CO6taKNWAZvcuq2OjsghrjqyJfZ3XgIOIQNzFIsweNjp3TtEayH0q/
ga503ZNCg6ChIzSZ3XFWgbdiZ+1b1LkmIbEmJOcBjtRWpQgPrM/LZEii1lSeavpI
hsatj1sJTlMvp0ebKt6Ko1VUvdQmyL48Wo6T1jsJW0CVjWmzxQMi2g==
=Udf8
-----END PGP SIGNATURE-----



Reply to: