GNU bug report logs - #67632
Build python-dm-tree.x86_64-linux on master is broken.

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 4 Dec 2023 22:55:02 UTC

Severity: normal

To reply to this bug, email your comments to 67632 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to code <at> greghogan.com, ludo <at> gnu.org, bug-guix <at> gnu.org:
bug#67632; Package guix. (Mon, 04 Dec 2023 22:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to code <at> greghogan.com, ludo <at> gnu.org, bug-guix <at> gnu.org. (Mon, 04 Dec 2023 22:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Re: Build python-dm-tree.x86_64-linux on master is broken.
Date: Mon, 04 Dec 2023 17:53:59 -0500
Hello,

cuirass <at> gnu.org (Cuirass) writes:

> <p>The build <b>python-dm-tree.x86_64-linux</b> for specification <b>master</b> is
> broken. You can find the detailed information about this build <a
> href="https://ci.guix.gnu.org/build/2802866/details">here</a>.</p>
>
> https://ci.guix.gnu.org/build/2802866/details

--8<---------------cut here---------------start------------->8---
starting phase `sanity-check'
validating 'dm-tree' /gnu/store/9xzpw6casxsg7pfw8hmky3b21hwyxas4-python-dm-tree-0.1.8/lib/python3.10/site-packages
...checking requirements: OK
...trying to load module tree: ERROR:
Traceback (most recent call last):
  File "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py", line 73, in <module>
    importlib.import_module(name)
  File "/gnu/store/0a75sq4c9sf8wrqw9gd2kg11cr013j68-python-3.10.7/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/gnu/store/9xzpw6casxsg7pfw8hmky3b21hwyxas4-python-dm-tree-0.1.8/lib/python3.10/site-packages/tree/__init__.py", line 23, in <module>
    from .sequence import _is_attrs
  File "/gnu/store/9xzpw6casxsg7pfw8hmky3b21hwyxas4-python-dm-tree-0.1.8/lib/python3.10/site-packages/tree/sequence.py", line 19, in <module>
    from tree import _tree
ImportError: /gnu/store/9xzpw6casxsg7pfw8hmky3b21hwyxas4-python-dm-tree-0.1.8/lib/python3.10/site-packages/tree/_tree.so: undefined symbol: _ZN4absl12lts_2023080213hash_internal15MixingHashState5kSeedE
error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/9xzpw6casxsg7pfw8hmky3b21hwyxas4-python-dm-tree-0.1.8/lib/python3.10/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `sanity-check' failed after 0.2 seconds
--8<---------------cut here---------------end--------------->8---

I guess that may be related to the abseil-cpp upgrade in commit
af2735e874232d0ba46e2e943f0ba4697c42f70f.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#67632; Package guix. (Tue, 05 Dec 2023 19:49:01 GMT) Full text and rfc822 format available.

Message #8 received at 67632 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: 67632 <at> debbugs.gnu.org
Cc: Greg Hogan <code <at> greghogan.com>
Subject: [PATCH 2/2] gnu: python-dm-tree: Pin abseil-cpp version.
Date: Tue,  5 Dec 2023 19:48:03 +0000
* gnu/packages/python-xyz.scm (python-dm-tree)[inputs]: Replace
static-abseil-cpp with static-abseil-cpp-20220623.1.

Change-Id: Ia83175c266eeea5bab9dac4282e39d9f71b06052
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9f458196fa..9b3c917e7a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5890,7 +5890,7 @@ (define-public python-dm-tree
     ;; We link the static abseil libraries here to avoid problems in
     ;; downstream libraries using potentially different variants of
     ;; abseil-cpp.  This is also what's done in the upstream CMake build.
-    (inputs (list pybind11 static-abseil-cpp python))
+    (inputs (list pybind11 static-abseil-cpp-20220623.1 python))
     (propagated-inputs (list python-wheel
                              python-absl-py
                              python-attrs
-- 
2.40.1





Information forwarded to bug-guix <at> gnu.org:
bug#67632; Package guix. (Tue, 05 Dec 2023 19:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 67632 <at> debbugs.gnu.org (full text, mbox):

From: Greg Hogan <code <at> greghogan.com>
To: 67632 <at> debbugs.gnu.org
Cc: Greg Hogan <code <at> greghogan.com>
Subject: [PATCH 1/2] gnu: Add static-abseil-cpp-20220623.1.
Date: Tue,  5 Dec 2023 19:48:02 +0000
* gnu/packages/cpp.scm (static-abseil-cpp-20220623.1): New variable.
(make-static-abseil-cpp): Parameterize base.

Change-Id: I9667914de031f431524bf195818e8d2f316e8553
---
 gnu/packages/cpp.scm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f7549cb22a..c451033287 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1320,15 +1320,14 @@ (define (abseil-cpp-for-c++-standard base version)
                                    (number->string version))
                   #$flags)))))))
 
-(define (make-static-abseil-cpp version)
-  (let ((base abseil-cpp))
-    (hidden-package
-     (package/inherit base
-       (arguments
-        (substitute-keyword-arguments (package-arguments base)
-          ((#:configure-flags flags)
-           #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
-                    (delete "-DBUILD_SHARED_LIBS=ON" #$flags)))))))))
+(define (make-static-abseil-cpp base)
+  (hidden-package
+   (package/inherit base
+     (arguments
+      (substitute-keyword-arguments (package-arguments base)
+        ((#:configure-flags flags)
+         #~(cons* "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
+                  (delete "-DBUILD_SHARED_LIBS=ON" #$flags))))))))
 
 (define-public abseil-cpp-cxxstd17
   (abseil-cpp-for-c++-standard abseil-cpp 17))  ;XXX: the default with GCC 11?
@@ -1339,6 +1338,9 @@ (define-public abseil-cpp-cxxstd11
 (define-public static-abseil-cpp
   (make-static-abseil-cpp abseil-cpp))
 
+(define-public static-abseil-cpp-20220623.1
+  (make-static-abseil-cpp abseil-cpp-20220623.1))
+
 (define-public pegtl
   (package
     (name "pegtl")

-- 
2.40.1





This bug report was last modified 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.