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

Bug#275181: marked as forwarded (tetex-base: pdftex.map screwed up)



Your message dated Mon, 18 Oct 2004 14:24:42 +0200
with message-id <87lle4gqnp.fsf@alhambra.bioz.unibas.ch>
has caused the Debian Bug report #275181,
regarding tetex-base: pdftex.map screwed up
to be marked as having been forwarded to the upstream software
author(s) Thomas Esser <te@dbs.uni-hannover.de>.

(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 275181-forwarded) by bugs.debian.org; 18 Oct 2004 12:41:06 +0000
>From frank@kuesterei.ch Mon Oct 18 05:41:06 2004
Return-path: <frank@kuesterei.ch>
Received: from idmailgate2.unizh.ch [130.60.68.106] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CJWp0-0006ya-00; Mon, 18 Oct 2004 05:41:06 -0700
Received: from alhambra.bioz.unibas.ch ([130.60.169.112])
	by idmailgate2.unizh.ch (8.12.10/8.12.10/Debian-2) with ESMTP id i9ICf3pu010677;
	Mon, 18 Oct 2004 14:41:03 +0200
Received: from localhost ([127.0.0.1] helo=alhambra.bioz.unibas.ch)
	by alhambra.bioz.unibas.ch with esmtp (Exim 3.35 #1 (Debian))
	id 1CJWZ8-0003hm-00; Mon, 18 Oct 2004 14:24:42 +0200
To: Thomas Esser <te@dbs.uni-hannover.de>
Cc: 275181-forwarded@bugs.debian.org, Timo Hoenig <thoenig@nouse.net>
Subject: Re: Bug#275181: tetex-base: pdftex.map screwed up
Sender: frank.kuester@unibas.ch
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
In-Reply-To: <[🔎] 1098097723.4907.18.camel@sunshine> (Timo Hoenig's message of
 "Mon, 18 Oct 2004 13:08:43 +0200")
References: <[🔎] 1097069265.13728.9.camel@somehost.de>
	<[🔎] 20041018070617.GC1180@preusse> <[🔎] 1098085878.4907.2.camel@sunshine>
	<[🔎] 873c0ciaga.fsf@alhambra.bioz.unibas.ch>
	<[🔎] 1098097723.4907.18.camel@sunshine>
From: =?iso-8859-1?q?Frank_K=FCster?= <frank@debian.org>
Date: Mon, 18 Oct 2004 14:24:42 +0200
Message-ID: <87lle4gqnp.fsf@alhambra.bioz.unibas.ch>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/)
Delivered-To: 275181-forwarded@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi Thomas,

we have here a bug report about nonprintable characters in the map
files. updmap uses grep a lot, and if coloring options are set, they get
into grep's output:

Timo Hoenig <thoenig@nouse.net> wrote:

> On Mon, 2004-10-18 at 12:31 +0200, Frank K=FCster wrote:
> [...]
>> I just installed zsh ( 4.2.1 (i686-pc-linux-gnu)), and could not
>> reproduce it. Can you tell us your exact settings in the shell startup
>> files?=20
>
> I got the point why 'updmap' fails.
>
> It does not have anything to do with the shell and/or shell colors. It
> is all about grep...
>
> When exporting
>
> GREP_OPTIONS=3D"--colour=3Dalways"
> GREP_COLOR=3D4
>
> updmap fails since it uses grep is adding the escape sequences for
> matched expressions.

I could not reproduce it directly, because here the escape sequences are
also in the input of LocateMap, which consequently fails:

Scanning for MixedMap entries:
updmap: map file `bsr-interpolated.map' not found.
updmap: map file `bsr.map' not found.

where the filenames are underlined on the terminal. And then it hangs
endlessly, it seems.=20



>
> Thanks for the hints. Patch attached.

I'd rather suggest

--- tetex-bin-2.96.7.20040721-CVS/texk/tetex/updmap.orig        Mon Oct 18 =
14:23:43 2004
+++ tetex-bin-2.96.7.20040721-CVS/texk/tetex/updmap     Mon Oct 18 14:23:50=
 2004
@@ -87,6 +87,9 @@
 # hack around a bug in zsh:
 test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'=3D'"$@"'
=20
+# unset grep options (problems if grep option '--colour=3D' is used).
+test -n "$GREP_OPTIONS" && unset GREP_OPTIONS
+
 # the version string
 version=3D1084485714 # seconds since `00:00:00 1970-01-01 UTC'
                    # date '+%s' (with GNU date)

Regards, Frank

--=20
Frank K=FCster
Inst. f. Biochemie der Univ. Z=FCrich
Debian Developer



Reply to: