Bug#1088833: pmix: Please complete hurd-fix patch
Samuel Thibault
sthibault at debian.org
Sun Dec 1 19:33:20 GMT 2024
Source: pmix
Version: 5.0.4-1
Severity: important
Tags: patch
Hello,
pmix currently FTBFS on hurd-amd64, because of another
use of the optional MAXPATHLEN macro. Here is an updated
debian/patches/hurd-fix.patch, could you integrate it?
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.12.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
Je suis maintenant possesseur d'un ordinateur portable Compaq Armada
1592DT avec port infra-rouge. Auriez-vous connaissance de programmes
suceptibles d'utiliser ce port afin de servir de télécommande ?
-+- JN in NPC : ben quoi, c'est pas à ça que ça sert ?
-------------- next part --------------
Origin-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881952
Description: Fix for MAXHOSTNAMELEN, MAXPATHLEN not present on Hurd
Author: Alastair McKinstry <mckinstry at debian.org>
Forwarded: no
Last-Updated: 2024-12-01
--- a/src/mca/base/pmix_mca_base_var.c
+++ b/src/mca/base/pmix_mca_base_var.c
@@ -52,6 +52,10 @@
#include "src/util/pmix_printf.h"
#include "src/util/pmix_show_help.h"
+#ifndef MAXPATHLEN /* Hurd */
+#define MAXPATHLEN 1024
+#endif
+
/*
* global variables
*/
Index: pmix-5.0.4/src/common/pmix_pfexec.c
===================================================================
--- pmix-5.0.4.orig/src/common/pmix_pfexec.c
+++ pmix-5.0.4/src/common/pmix_pfexec.c
@@ -88,6 +88,10 @@
#include "src/common/pmix_pfexec.h"
#include "src/server/pmix_server_ops.h"
+#ifndef MAXPATHLEN /* Hurd */
+#define MAXPATHLEN 1024
+#endif
+
static pmix_status_t setup_prefork(pmix_pfexec_child_t *child);
static pmix_status_t register_nspace(char *nspace, pmix_setup_caddy_t *fcd);
static void wait_signal_callback(int fd, short event, void *arg);
More information about the debian-science-maintainers
mailing list