XPost: linux.debian.maint.ocaml.maint
Source: cudf
Version: 0.10-5
Severity: important
Tags: ftbfs patch
Hello,
cudf is missing adding -lpthread after -lcamlrun, leading to
/usr/bin/ld: /usr/lib/x86_64-gnu/ocaml/5.3.0/libcamlrun.a(domain.b.o): undefined reference to symbol 'pthread_join@@GLIBC_2.38'
/usr/bin/ld: /lib/x86_64-gnu/libpthread.so.0.3: error adding symbols: DSO missing from command line
It doesn't pose problem on Linux because libpthread was merged into
libc, but other operating systems haven't done this, so -lpthread is
generally needed, could you apply the attached patch?
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.13.0 (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
--
Samuel
Voici mon problème, j'ai deux PCs relies par des cartes ethernet,
configures avec le protocole PPP.
-+- Romain in Guide du linuxien pervers - "Ils sont fous ces romains !" -+-
--- debian/patches/0001-Fix-build-with-OCaml-5.2.0.patch.original 2025-03-06 11:06:06.000000000 +0000
+++ debian/patches/0001-Fix-build-with-OCaml-5.2.0.patch 2025-03-06 11:06:10.000000000 +0000
@@ -21,7 +21,7 @@
+ifeq ($(OCAML_GE_5),yes)
+STUBS_SUFFIX_BYT := byt
+STUBS_SUFFIX_OPT := nat
-+OTHER_CLIBS := -lzstd -latomic
++OTHER_CLIBS := -lzstd -latomic -lpthread
+endif
+
include Makefile.variants
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)