[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023867: labltk: /usr/bin/labltk script won't run; paths in it not sanitized after package build



Package: labltk
Version: 8.06.9-1+b1
Severity: important

Dear Maintainer,

The /usr/bin/labltk script which is the main content of package labltk
fails to run, with the following error message :

/usr/bin/labltk: 2: exec: /build/labltk-
mgG2qY/labltk-8.06.9/debian/tmp//usr/lib/ocaml/labltk/labltktop: not found

Indeed, this one-liner script contains two hardcoded paths that are wrong,
they expose the build path of the package instead of the installation
location /usr/lib/ocaml/labltk. Both the path of the binary labltktop and the
included path after "-I" need fixing.

Thanks a lot for Debian in general and for the OCaml packages in particulier!
Best
Jean


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

Kernel: Linux 5.10.0-19-amd64 (SMP w/8 CPU threads)
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

Versions of packages labltk depends on:
ii  liblabltk-ocaml-dev  8.06.9-1+b1

Versions of packages labltk recommends:
ii  ocaml-findlib  1.8.1-2

labltk suggests no packages.


Reply to: