[From nobody Sun Apr 26 13:53:06 2026
Received: (at submit) by bugs.debian.org; 19 Apr 2026 20:56:17 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.7 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DATE_IN_PAST_06_12,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 131; neutral, 25; spammy,
 0. spammytokens: hammytokens:0.000-+--HTo:N*Debian,
 0.000-+--H*Ad:N*Bug, 0.000-+--H*Ad:N*Tracking, 0.000-+--HTo:N*System,
 0.000-+--HTo:N*Bug
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:43116)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;helmut@subdivi.de&gt;) id 1wEZBh-002mPu-1v
 for submit@bugs.debian.org; Sun, 19 Apr 2026 20:56:17 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k27.isilmar-4; t=1776632174;
 bh=LtQfFWVh0b0kTXZuGhvfOCk9eWe4bZzxyBe/vkMmZXk=;
 h=Date:From:To:Subject:From;
 b=XmKyTCBhK3E/qopLtmus0bd/I4FYZt8NLVb4ZKZfFwgeyNbBRzF037cUN0vu8Wuim
 P/+jFzJGI6CbaLl2hb8KiYr8JxiDcGAnP4FUUxYp6+atty7aHmfKwKO39oSJYb4JU2
 5psKoY3OUdDnZvMCZJES/eYKcNiE8+T+HuxyWd0EjthFQh+Ve/etL1G1DIfOOVDxhr
 hi9REqEKBAISPCyx7CTnU2VqzUSC56S7RZLleMPIkLQmPC1lo0/ab4JrLeaEaTK4LS
 Gt70QsqOS6Nnd6AWz1Nln3VauCf4xv3I/n4TYGYuKtD5XMEokhBwR0Ge+2pFpy5WUJ
 Gq8+a7WK1p/xg==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id E722F2008A2
 for &lt;submit@bugs.debian.org&gt;; Sun, 19 Apr 2026 20:56:14 +0000 (UTC)
Date: Sun, 19 Apr 2026 11:59:40 +0200
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: texmacs: does not work in foreign installations
Message-ID: &lt;20260419095940.GA898853@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
Delivered-To: submit@bugs.debian.org

Package: texmacs-bin
Version: 1:2.1.4+ds-5
Severity: serious
Justification: does not work at all in foreign installations

texmacs fails to run when texmacs-bin is installed for foreign
architectures. Consider the following example:

    mmdebstrap --verbose --variant=apt unstable /dev/null --architecture=amd64,i386 --include=texmacs:i386 --chrooted-customize-hook=bash

Running texmacs then results in:

    /usr/bin/texmacs: line 76: exec: texmacs.bin: not found

This is due to /usr/bin/texmacs using dpkg-architecture to figure out
where its installation is, but the package's architecture does not match
the architecture reported by dpkg-architecture, so nothing is found. I
argue that /usr/bin/texmacs should not be using dpkg-architecture at
all. The previous implementation of interpolating the location at build
time was correct.

As an application (as opposed to a library), coinstalling several
texmacs-bin provides little use. The Multi-Arch: same annotation can
easily be dropped without loss of functionality.

Helmut
]