🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6974

Bug#1154260: python-pweave: Testsuite fails to run

#6974
From: Sebastien Bacher
Date: Tue, 01 Dec 2026 09:00
83 lines
4517 bytes
This is a multi-part MIME message sent by reportbug.


--===============7398601938553571112==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: python-pweave
Version: 0.30.3-4
Followup-For: Bug #1154260
X-Debbugs-Cc: seb128@ubuntu.com
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu tenacious ubuntu-patch
Control: tags -1 patch

Hi,

The test failure is not caused by texlive. debian/tests/control has two
stray double quotes that leave the shell command unbalanced:

  ; echo "Testing texw => tex"# => pdf:"
  ; echo "Testing mdw => tex"# => pdf:"

The first quote after "tex" closes the string, the "# => pdf:" is not a
comment because it is glued to the closing quote, and the final " opens a
new string that swallows the following lines. The command then fails to
parse, before anything runs:

  bash: -c: line 1: syntax error near unexpected token `('

This is the error in the autopkgtest logs, in Ubuntu on s390x for example.
Joining the Test-Command lines with spaces and running "bash -n -c" on the
result gives that same error with 0.30.3-4, and passes with the attached
patch, which only drops the stray " # => pdf:" from the two echo lines.
I have not run the whole test with the patch applied, only the syntax check.

Cheers,
Sebastien


-- System Information:
Debian Release: forky/sid
  APT prefers resolute-updates
  APT policy: (500, 'resolute-updates'), (500, 'resolute-security'), (500, 'resolute'), (100, 'resolute-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 7.0.0-44-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--===============7398601938553571112==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="pweave-test-quoting.patch"

--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,7 +1,7 @@
 Test-Command: set -e
  ; cp debian/tests/examples/FIR_* "$AUTOPKGTEST_TMP"
  ; cd "$AUTOPKGTEST_TMP"
- ; echo "Testing texw => tex"# => pdf:"
+ ; echo "Testing texw => tex"
  ; pweave -f tex FIR_design_verb.texw
 # ; pdflatex FIR_design_verb.tex
  ; echo "Testing rstw => rst => html:"
@@ -12,7 +12,7 @@
  ; echo "Testing mdw => md => html (via pandoc):"
  ; pweave -f pandoc FIR_design.mdw
  ; pandoc -s --mathjax FIR_design.md -o FIR_design_pandoc.html
- ; echo "Testing mdw => tex"# => pdf:"
+ ; echo "Testing mdw => tex"
  ; pweave -f pandoc2latex FIR_design.mdw
 # ; pdflatex FIR_design.tex
 Depends: pandoc,

--===============7398601938553571112==--
Technical Details
Message-ID: <O5rSp-fipq-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <O5rSp-fipq-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Sebastien Bacher <seb128@ubuntu.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154260: python-pweave: Testsuite fails to run
Date: Tue, 01 Dec 2026 10:00:01 +0100
Message-ID: <O5rSp-fipq-1@gated-at.bofh.it>
References: <O5rSp-fipq-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Dec  1 08:55:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Sebastien Bacher <seb128@ubuntu.com>, 1154260@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: seb128@ubuntu.com, debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1154260
X-Debian-Pr-Package: src:python-pweave
X-Debian-Pr-Source: python-pweave
Content-Type: multipart/mixed; boundary="===============7398601938553571112=="
MIME-Version: 1.0
X-Mailer: reportbug 13.2.0+ubuntu1
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006242
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 83
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 01 Dec 2026 09:54:13 +0100
X-Original-Message-ID: <179611525313.2054497.14262345034827248108.reportbug@seb128-ThinkPad-T16>
X-Original-References: <avzWnRO2gNbO-cRS@rasppi3>