Bug#1102919: cthumb: Global symbol "$datarootdir" requires explicit package name

Jan Huijsmans bofh at koffie.nu
Sun Apr 13 09:34:10 BST 2025


Package: cthumb
Version: 4.2-4
Severity: grave
Justification: renders package unusable

s version relied on a variable datadit which is never set. On start you get the error:

Global symbol "$datarootdir" requires explicit package name (did you forget to declare "my $datarootdir"?) at /bin/cthumb line 90.

In the script I had to replace $datarootdir/images at line 90 with /usr/share to get it working again.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'oldstable-security'), (500, 'oldoldstable'), (500, 'testing'), (500, 'oldstable'), (100, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.21-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cthumb depends on:
ii  libjpeg-turbo-progs  1:2.1.5-3.1
ii  libwww-perl          6.78-1
ii  netpbm               2:11.09.03-1
ii  perl                 5.40.1-2

Versions of packages cthumb recommends:
pn  jhead  <none>

Versions of packages cthumb suggests:
ii  imagemagick                      8:7.1.1.43+dfsg1-1
ii  imagemagick-7.q16 [imagemagick]  8:7.1.1.43+dfsg1-1

-- no debconf information



More information about the Pkg-phototools-devel mailing list