Bug#1003323: Failure Config file not found (missing dependency)
Package: ocp-indent
Version: 1.8.2-1+b1
Severity: normal
X-Debbugs-Cc: jspricke@debian.org
$ schroot -b -c unstable-amd64-sbuild -n ocp
$ schroot -r -c ocp -u root
(unstable-amd64-sbuild)root@fenchel:~# apt install ocp-indent
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
ocp-indent
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 919 kB of archives.
After this operation, 3688 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 ocp-indent amd64 1.8.2-1+b1 [919 kB]
Fetched 919 kB in 1s (1605 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package ocp-indent.
(Reading database ... 12532 files and directories currently installed.)
Preparing to unpack .../ocp-indent_1.8.2-1+b1_amd64.deb ...
Unpacking ocp-indent (1.8.2-1+b1) ...
Setting up ocp-indent (1.8.2-1+b1) ...
(unstable-amd64-sbuild)root@fenchel:~# ocp-indent < /dev/null
ocp-indent: internal error, uncaught exception:
Failure("Config file not found - neither /etc/ocamlfind.conf nor the directory /etc/ocamlfind.conf.d")
(unstable-amd64-sbuild)root@fenchel:~# touch /etc/ocamlfind.conf
(unstable-amd64-sbuild)root@fenchel:~# ocp-indent < /dev/null
$ dpkg -S /etc/ocamlfind.conf
libfindlib-ocaml: /etc/ocamlfind.conf
ocp-indent should either depend on libfindlib-ocaml or work without a
/etc/ocamlfind.conf.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 ocp-indent depends on:
ii libc6 2.33-2
ocp-indent recommends no packages.
ocp-indent suggests no packages.
-- no debconf information
Reply to: