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

Bug#1099649: marked as done (cudf: ftbfs on non-linux: undefined reference to symbol 'pthread_create)



Your message dated Fri, 07 Mar 2025 15:10:54 +0000
with message-id <E1tqZLi-001z6E-NF@fasolo.debian.org>
and subject line Bug#1099649: fixed in cudf 0.10-6
has caused the Debian Bug report #1099649,
regarding cudf: ftbfs on non-linux: undefined reference to symbol 'pthread_create
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1099649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099649
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: cudf
Source-Version: 0.10-6
Done: Stéphane Glondu <glondu@debian.org>

We believe that the bug you reported is fixed in the latest version of
cudf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1099649@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated cudf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 07 Mar 2025 15:35:18 +0100
Source: cudf
Architecture: source
Version: 0.10-6
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1099649
Changes:
 cudf (0.10-6) unstable; urgency=medium
 .
   [ Stéphane Glondu ]
   * Team upload
   * Install C library into multiarch path
 .
   [ Samuel Thibault ]
   * Explicitly link with -lpthread (Closes: #1099649)
Checksums-Sha1:
 cb9ac0f1399715d3a7af05e178687f0cefc69791 1973 cudf_0.10-6.dsc
 efd8190c9c5f2280b29199d797bb9a9fb82e6ddd 6580 cudf_0.10-6.debian.tar.xz
Checksums-Sha256:
 b910b1171d0e353cd573ecd5f8dbf486c0f886b19326dfcab13d9b3f6ee3e68f 1973 cudf_0.10-6.dsc
 12a86357138f7b54ca9b210a6a5cda152c7a4869aa709f8dab6d26e2447649ed 6580 cudf_0.10-6.debian.tar.xz
Files:
 9558d16143c1bd467440ee4220a931c0 1973 devel optional cudf_0.10-6.dsc
 7ee8d443d9621e73b564f4026d96fbb0 6580 devel optional cudf_0.10-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmfLCUESHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCBHJcH/jZLDLV1gvsgb8B/oexB755MlhZZDYYb
bLcAqxnw58ohBPTyzx4R0rl4d4JPndxUukWvf8yFWXwwaoKRcEyI6Et+joB3HrD0
J36acfS9Yi+8RnriwlgQe+gUuBZsD+ghZEVKtEdpuDRb7rOAJc1qVtf7hJ6FvVp/
s1V5oN8aypGixld98ESUvEpLDh+cnZMxgzrfE4VkmZtnWGxXdI0EIbttqt2aghTB
fOtXYOVEzMB7rHNvM7/Z/svd5mbuilvn/FtwK45WGYmL/gbn7/A1DyGLZCSJV2Wr
0Ldsv7Ox0UMf+9PrU4ELBW0YejLxQtJp5qEr/xj7Lsr+UF/14zQZykg=
=li6a
-----END PGP SIGNATURE-----

Attachment: pgp7NXikutd1R.pgp
Description: PGP signature


--- End Message ---

Reply to: