Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1035420: pdfjam: Produces error "sed ...: not found"

36 views
Skip to first unread message

Filip Strömbäck

unread,
May 3, 2023, 4:40:04 AM5/3/23
to
Package: texlive-extra-utils
Version: 2022.20230122-3
Severity: normal
Tags: upstream

When running pdfjam to work with PDF files, it produces the following
error:

/usr/bin/pdfjam: 1141: sed s/^Title:\\\s\*//: not found

Inspecting the pdfjam script reveals that this is due to an improper
quote on line 1141 on my machine (line 1140 in the upstream source).
The line in question currently reads:

grep -e '^Title:'| 'sed s/^Title:\\\s\*//' | \

But should read:

grep -e '^Title:'| sed 's/^Title:\\\s\*//' | \

That is, the single quote should be moved ahead to after "sed".

In the upstream tarball, this is in the file:
texmf-dist/scripts/pdfjam/pdfjam

Note: I found this issue on my Ubuntu machine, but the system
information below is from one of my Debian machines. The issue
still exists in Debian as of the latest version in sid.

-- System Information:
Debian Release: 11.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texlive-extra-utils depends on:
pn libunicode-linebreak-perl <none>
ii python3 3.9.2-3
pn tex-common <none>
pn texlive-base <none>
pn texlive-binaries <none>
pn texlive-latex-base <none>
pn texlive-luatex <none>
pn texlive-plain-generic <none>

Versions of packages texlive-extra-utils recommends:
ii ghostscript 9.53.3~dfsg-7+deb11u4
pn libfile-homedir-perl <none>
pn liblog-log4perl-perl <none>
pn libyaml-tiny-perl <none>
pn ruby | ruby-interpreter <none>
pn texlive-latex-recommended <none>

Versions of packages texlive-extra-utils suggests:
pn chktex <none>
pn default-jre-headless <none>
pn dvidvi <none>
pn dvipng <none>
pn fragmaster <none>
pn lacheck <none>
pn latexdiff <none>
pn latexmk <none>
pn purifyeps <none>
pn xindy <none>

Preuße@buxtehude.debian.org, Hilmar

unread,
May 3, 2023, 5:20:06 AM5/3/23
to
On 03.05.2023 10:28, Filip Strömbäck wrote:

Hi,

> In the upstream tarball, this is in the file:
> texmf-dist/scripts/pdfjam/pdfjam
>
> Note: I found this issue on my Ubuntu machine, but the system
> information below is from one of my Debian machines. The issue
> still exists in Debian as of the latest version in sid.
>
Fixed long time ago in upstream [1]. Unfortunately the fix did not reach
CTAN yet...

Hilmar

[1]
https://github.com/rrthomas/pdfjam/commit/6ea854d489d3baaaa4b715e1b83a2ac1f20a328f
--
sigfault

Preuße@buxtehude.debian.org, Hilmar

unread,
May 3, 2023, 4:41:20 PM5/3/23
to
On 03.05.2023 10:28, Filip Strömbäck wrote:

Hi,

> When running pdfjam to work with PDF files, it produces the following
> error:
>
> /usr/bin/pdfjam: 1141: sed s/^Title:\\\s\*//: not found
>
I've added the patch to our repo. However I uploaded -4 to unstable
yesterday and don't intend to do another upload for that patch. Sorry!

Hilmar
--
sigfault

Preuße@buxtehude.debian.org, Hilmar

unread,
May 15, 2023, 5:40:05 AM5/15/23
to
Control: tags -1 + pending
0 new messages