Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927767 - dev-python/cysignals: cysignals-CSI-helper.py uses wrong paths
Summary: dev-python/cysignals: cysignals-CSI-helper.py uses wrong paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Orlitzky
URL: https://github.com/sagemath/cysignals...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 05:13 UTC by Michał Górny
Modified: 2024-07-06 11:19 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-25 05:13:00 UTC
As can be seen when cypari2's test suite crashes:

------------------------------------------------------------------------
Attaching gdb to process id 150.
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.11/cysignals-CSI", line 225, in <module>
    main(args)
  File "/usr/lib/python-exec/python3.11/cysignals-CSI", line 174, in main
    trace = run_gdb(args.pid, not args.nocolor)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python-exec/python3.11/cysignals-CSI", line 98, in run_gdb
    stdout, stderr = cmd.communicate(gdb_commands(pid, color))
                                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python-exec/python3.11/cysignals-CSI", line 71, in gdb_commands
    with open(script, 'rb') as f:
         ^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python-exec/python3.11/../share/cysignals/cysignals-CSI-helper.py'
------------------------------------------------------------------------
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-07-06 11:12:44 UTC
Working on it.
Comment 2 Larry the Git Cow gentoo-dev 2024-07-06 11:19:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9caa69388da384c8b699dad5d8d26f158f1c2f7

commit d9caa69388da384c8b699dad5d8d26f158f1c2f7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-07-06 11:11:49 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-07-06 11:19:17 +0000

    dev-python/cysignals: Fix finding cysignals-CSI-helper.py
    
    Closes: https://bugs.gentoo.org/927767
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...ls-1.11.4.ebuild => cysignals-1.11.4-r1.ebuild} |  6 +-
 .../cysignals/files/cysignals-1.11.4-helper.patch  | 85 ++++++++++++++++++++++
 2 files changed, 90 insertions(+), 1 deletion(-)