Bug#894545: jbuilder: Sets wrong libdir in configure
Source: jbuilder
Version: 1.0~beta19-1
Severity: important
Tags: patch
Hi,
The debian/rules files for juilder sets the libdir to jbuilder
to /usr/lib/<arch triple>. While this would be completely correct
for multi-arch packages, for jbuilder, this should point to the
*OCaml library path*, i.e., /usr/lib/ocaml (which is also the default).
In particular, with the libdir set to /usr/lib/<arch triple>, jbuilder
will not be able to find any OCaml libraries installed using apt.
Best regards,
Johannes
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- jbuilder-1.0~beta19/debian/rules~ 2018-03-19 08:21:27.000000000 +0100
+++ jbuilder-1.0~beta19/debian/rules 2018-04-01 11:25:41.898936589 +0200
@@ -10,10 +10,6 @@
%:
dh $@ --with ocaml
-.PHONY: override_dh_auto_configure
-override_dh_auto_configure:
- ./configure --libdir /usr/lib/$(DEB_HOST_MULTIARCH)
-
.PHONY: override_dh_auto_build
override_dh_auto_build:
ocaml bootstrap.ml
Reply to: