[From nobody Wed Jun 17 14:21:08 2026
Received: (at submit) by bugs.debian.org; 15 Jun 2026 10:33:42 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.8 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,HAS_PACKAGE,
 RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,
 SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 65; hammy, 150; neutral, 108; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--sk:buildd.,
 0.000-+--UD:buildd.debian.org, 0.000-+--buildddebianorg
Return-path: &lt;trupti@linux.ibm.com&gt;
Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:57526)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;trupti@linux.ibm.com&gt;)
 id 1wZ4dS-00C4ty-26 for submit@bugs.debian.org;
 Mon, 15 Jun 2026 10:33:42 +0000
Received: from pps.filterd (m0353729.ppops.net [127.0.0.1])
 by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
 65FAIujT2193094
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:40 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=
 content-transfer-encoding:content-type:date:from:message-id
 :mime-version:subject:to; s=pp1; bh=QAw2AzpapUPALBXluUdT/igYllpA
 Z+5wCgWmsOeWbr0=; b=grvCLdVGynbjP7qusRlZDkwZzZdW/Aej0WKcTPCUSugs
 8oxMV8+ILaJfvncH4NnK/LMaAXHCq40X96M8bIyTiVLs5i0J90dkdD2Dw2h15Kc8
 4EHYcfFyl7x6z7kYNa11CDaygLOd7sNneaRQqSN8NtDchmUUFQgIpQcRhZp4bSIA
 wE5f04HAffKdGhweHrQlT02RWFqFKHq4xiwWP8LGPUbSgF37oPt9qtfnym0JIoEs
 5AvjZ5mk+DAiBaifqUaaK/zd6BNBb0nPV0hbNVusy4vJoMjeKVD/faaNdO6u/wBY
 zVHIVJ9bA9memcarPj3um9X6VuideQDFyki46QqyUg==
Received: from ppma11.dal12v.mail.ibm.com
 (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219])
 by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4es1h804v8-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:39 +0000 (GMT)
Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1])
 by ppma11.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 65FAJxt4025698
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:39 GMT
Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70])
 by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4esm7xwvx3-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:38 +0000 (GMT)
Received: from smtpav06.wdc07v.mail.ibm.com (smtpav06.wdc07v.mail.ibm.com
 [10.39.53.233])
 by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id
 65FAX6mi19661560
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:07 GMT
Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1])
 by IMSVA (Postfix) with ESMTP id 4D5B058055
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:38 +0000 (GMT)
Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1])
 by IMSVA (Postfix) with ESMTP id 020E75806D
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:38 +0000 (GMT)
Received: from ltc.linux.ibm.com (unknown [9.5.196.140])
 by smtpav06.wdc07v.mail.ibm.com (Postfix) with ESMTP
 for &lt;submit@bugs.debian.org&gt;; Mon, 15 Jun 2026 10:33:37 +0000 (GMT)
MIME-Version: 1.0
Date: Mon, 15 Jun 2026 16:03:37 +0530
From: Trupti &lt;trupti@linux.ibm.com&gt;
To: Submit &lt;submit@bugs.debian.org&gt;
Subject: UCX:  FTBFS on ppc64el with 'UCS_INFINITY' undeclared
Message-ID: &lt;1fad896cacf210f033181683237d9d41@linux.ibm.com&gt;
X-Sender: trupti@linux.ibm.com
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-TM-AS-GCONF: 00
X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE1MDEwOCBTYWx0ZWRfX32WabwzCHE2F
 z5byoQomVeCv3pxfS/uWbY92gi4j/R2dcSNwKngjc1DCJH8g0lWDtd0pxTKNbG16e3V3KfqwepD
 w7ZWU6NzP1mT9nrTZnThKJm5/QDC2rs=
X-Proofpoint-ORIG-GUID: zmzxJ4LHkDw-fJ_6zHAo-AC1gOUYcI7C
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE1MDEwOCBTYWx0ZWRfX2931VaqJPF3i
 LmCZ3/CQAga1bt1xMVyR7vY8C4KAk1ijONcM6ppYJg+IFdtTzi8S/YN8tmLOl8o76UDNJS48/oz
 2zmzpuh7r47noeT4m1x6jxR7gjeV0wYNVQIxygjr+S+Mzl2EQcqb5bF/TXqOeQDANmepMWaSRHY
 C3PAAWsIbso2BsvmHlhQw2vKStHPLID2cIJwNhckDNuHoMJswwCB7Y+0DVCPxrFAz55FiKBkrwE
 itWd9VT0CXb3OBt7aEKeVxVDMOz5S2wGy0RSTcmNGzfwKiMl1iBaBHzIK08KbBt1W5xj7IR3nl9
 L25UemA6tUdp68wv8DD7vkCy4q9dEfdqdS/phKN6f/zmgAbMvbikLQrH2jwUd1AZBfz+Oj4xCOj
 r9Bf4Dqqvfjs0MH/YGScfehpCTAhoO6msQEPkAHE9ANyXaBkKE/jBiyojtc1hf3imrdh+Cmn2KM
 hVUXZLXZtodwT8kkGCQ==
X-Authority-Analysis: v=2.4 cv=U9uiy+ru c=1 sm=1 tr=0 ts=6a2fd503 cx=c_pps
 a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17
 a=kj9zAlcOel0A:10 a=FelO9ux0wxsA:10 a=VkNPw1HP01LnGYTKEx00:22
 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=xNf9USuDAAAA:8
 a=3_uRt0xjAAAA:8 a=Oqycvz1g3kgi2eDodesA:9 a=CjuIK1q_8ugA:10
 a=z1SuboXgGPGzQ8_2mWib:22
X-Proofpoint-GUID: zmzxJ4LHkDw-fJ_6zHAo-AC1gOUYcI7C
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49
 definitions=2026-06-15_02,2026-06-15_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 lowpriorityscore=0 impostorscore=0 bulkscore=0 phishscore=0
 priorityscore=1501 clxscore=1015 adultscore=0 malwarescore=0 suspectscore=0
 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound
 adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000
 definitions=main-2606150108
Delivered-To: submit@bugs.debian.org

Package: ucx
Version:  1.21.0~rc2-1
Severity: serious
Tags: sid, patch
Justification: fails to build from source
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
X-Debbugs-Cc: debian-science-maintainers@alioth-lists.debian.net

Dear Maintainers,

The ucx package fails to build from source on ppc64el architecture due 
to a missing header include.

see build log on ppc64el: 
https://buildd.debian.org/status/fetch.php?pkg=ucx&amp;arch=ppc64el&amp;ver=1.21.0%7Erc2-1&amp;stamp=1781278165&amp;raw=0

/build/reproducible-path/ucx-1.21.0~rc2/src/ucs/time/time.h: In function 
'ucs_time_units_to_sec':
/build/reproducible-path/ucx-1.21.0~rc2/src/ucs/time/time.h:166:16: 
error: 'UCS_INFINITY' undeclared (first use in this function); did you 
mean 'FP_INFINITE'?
   166 |         return UCS_INFINITY;
       |                ^~~~~~~~~~~~
       |                FP_INFINITE
/build/reproducible-path/ucx-1.21.0~rc2/src/ucs/time/time.h:166:16: 
note: each undeclared identifier is reported only once for each function 
it appears in
make[4]: *** [Makefile:869: util/libucm_la-log.lo] Error 1
make[4]: *** Waiting for unfinished jobs....


Solution:
  As time.h directly uses UCS_INFINITY.
  Add #include &lt;ucs/sys/math.h&gt; to src/ucs/time/time.h to make it 
self-contained.

Patch:
   I have created and tested a patch that fixes this issue. The patch 
adds the missing include in src/ucs/time/time.h:

--- ucx-1.21.0~rc2.orig/src/ucs/time/time.h
+++ ucx-1.21.0~rc2/src/ucs/time/time.h
@@ -10,6 +10,7 @@
  #include &lt;ucs/arch/cpu.h&gt;
  #include &lt;ucs/time/time_def.h&gt;
  #include &lt;sys/time.h&gt;
+#include &lt;ucs/sys/math.h&gt;
  #include &lt;limits.h&gt;
  #include &lt;math.h&gt;


After applying this patch, the package builds successfully on ppc64el.

Please review the patch and let me know if any additional changes are 
required.


Thanks,
Trupti
]