GNU bug report logs - #57104
Python-symengine fails to build

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Wed, 10 Aug 2022 09:31:01 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57104 in the body.
You can then email your comments to 57104 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to help-debbugs <at> gnu.org:
bug#57104; Package debbugs.gnu.org. (Wed, 10 Aug 2022 09:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Wed, 10 Aug 2022 09:31:01 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: guix-devel <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: Python-symengine fails to build
Date: Mon, 8 Aug 2022 23:11:10 +0200
Hello,

updating flint, I have also tried to compile python-symengine as a dependent
package, and notice that it fails, but actually it already failed before
with the error
   error: ‘LLVMLongDoubleVisitor’ is not a member of ‘SymEngine’; did you mean ‘LambdaDoubleVisitor’?

So I have updated symengine to its latest version 0.9.0, and python-symengine
to its latest version 0.9.2, and now the latter fails to build with the
different error message reproduced below.

Since it replaces a broken package by a more modern broken package, I still
took the liberty to push, but it would be nice if someone with knowledge of
python and/or symengine could have a look. Disabling the tests makes the
compilation succeed, but it would be nice to find a better solution...

Thanks,

Andreas


Copying source of python wrappers into: /tmp/guix-build-python-symengine-0.9.2.drv-0/symengine-0.9.2
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/guix-build-python-symengine-0.9.2.drv-0/symengine-0.9.2
[ 25%] Cythonizing symengine_wrapper.pyx
[ 50%] Building CXX object symengine/lib/CMakeFiles/symengine_wrapper.dir/symengine_wrapper.cpp.o
[ 75%] Building CXX object symengine/lib/CMakeFiles/symengine_wrapper.dir/pywrapper.cpp.o
[100%] Linking CXX shared library symengine_wrapper.cpython-39-x86_64-linux-gnu.so
[100%] Built target symengine_wrapper
lib (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: lib (unittest.loader._FailedTest)
----------------------------------------------------------------------
AttributeError: module 'symengine' has no attribute 'lib'

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `check' failed after 92.2 seconds
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1
builder for `/gnu/store/a1fvzjq643azmy4mn2gl86p0xz5v4pl2-python-symengine-0.9.2.drv' failed with exit code 1
build of /gnu/store/a1fvzjq643azmy4mn2gl86p0xz5v4pl2-python-symengine-0.9.2.drv failed






bug reassigned from package 'debbugs.gnu.org' to 'guix'. Request was from Glenn Morris <rgm <at> fencepost.gnu.org> to control <at> debbugs.gnu.org. (Wed, 10 Aug 2022 15:54:02 GMT) Full text and rfc822 format available.

Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Thu, 11 Aug 2022 07:40:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Thu, 11 Aug 2022 07:40:02 GMT) Full text and rfc822 format available.

Message #12 received at 57104-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Andreas Enge <andreas <at> enge.fr>
Cc: guix-devel <at> gnu.org, 57104-done <at> debbugs.gnu.org
Subject: Re: bug#57104: Python-symengine fails to build
Date: Thu, 11 Aug 2022 15:39:12 +0800
Andreas Enge <andreas <at> enge.fr> writes:

> Since it replaces a broken package by a more modern broken package, I still
> took the liberty to push, but it would be nice if someone with knowledge of
> python and/or symengine could have a look. Disabling the tests makes the
> compilation succeed, but it would be nice to find a better solution...
>

Fixed it by using 'nosetests' to run the tests.

Close now, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Sep 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 288 days ago.

Previous Next


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