Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Sebastien Bacher
Tue, 01 Dec 2026 09:00
Bug#1154260: python-pweave: Testsuite fails to run
Author: Sebastien Bacher
Date: Tue, 01 Dec 2026 09:00
Date: Tue, 01 Dec 2026 09:00
83 lines
4517 bytes
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==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads