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

Bug#1086600: ocaml: Please enable native backend on hurd-amd64



Package: ocaml
Version: 5.2.0-3
Severity: important
Tags: patch

Hello,

Could you enable hurd-amd64 in the native archs, as the attached patch
does?

Thanks,
Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.11.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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 ocaml depends on:
ii  binutils                                 2.43.1-5
ii  gcc                                      4:14.2.0-1
ii  libc6                                    2.40-3
ii  libncurses-dev                           6.5-2
ii  libstdlib-ocaml [libstdlib-ocaml-7l663]  5.2.0-3
ii  libzstd-dev                              1.5.6+dfsg-1
ii  libzstd1                                 1.5.6+dfsg-1
ii  ocaml-interp                             5.2.0-3

Versions of packages ocaml recommends:
ii  file       1:5.45-3
ii  ocaml-man  5.2.0-3

Versions of packages ocaml suggests:
pn  elpa-tuareg  <none>
pn  ocaml-doc    <none>

-- no debconf information

-- 
Samuel
What's this script do?
    unzip ; touch ; finger ; mount ; gasp ; yes ; umount ; sleep
Hint for the answer: not everything is computer-oriented. Sometimes you're
in a sleeping bag, camping out.
(Contributed by Frans van der Zande.)
https://github.com/ocaml/ocaml/pull/13587

Index: ocaml-5.2.0/configure.ac
===================================================================
--- ocaml-5.2.0.orig/configure.ac
+++ ocaml-5.2.0/configure.ac
@@ -1385,7 +1385,7 @@ AS_CASE([$host],
   [x86_64-*-linux*],
     [has_native_backend=yes; arch=amd64; system=linux],
   [x86_64-*-gnu*],
-    [arch=amd64; system=gnu],
+    [has_native_backend=yes; arch=amd64; system=gnu],
   [x86_64-*-dragonfly*],
     [arch=amd64; system=dragonfly],
   [x86_64-*-solaris*],
--- debian/native-archs.original	2024-11-01 14:39:11.683900959 +0100
+++ debian/native-archs	2024-11-01 14:39:14.115866411 +0100
@@ -1 +1 @@
-amd64 arm64 kfreebsd-amd64 ppc64el s390x riscv64
+amd64 arm64 hurd-amd64 kfreebsd-amd64 ppc64el s390x riscv64

Reply to: