Open max-arnold opened 10 months ago
Looks like you need to do a relenv fetch before the build will work. The intent here is to publish wheels but I have not had time to finish the release pipelines for this repository.
I did the relenv fetch (see the above log), but the install fails with module 'relenv' has no attribute 'common'
Check if relenv-gdb has any specific dependencies you need to install.
To get this installed and working on Ubuntu 22.04 & Salt 3006, I needed to:
$ apt install patchelf m4
The patch hacks around broken imports with local imports. It also uses the main branch of saltstack/relative-environment-for-python, since the buildenv branch wants to pull in Python 3.10.12 which 3006.8 doesn't use. Finally, it make a super ugly patch against gdb's python-config.py script, which leaves out a linker flag for readline for some reason. The upshot is a working relenv-dbg on 22.04 for Salt 3006.8.
@max-arnold FYI just found using the gh tool on Ubuntu 22.04 to be lacking, it's version is 2.4, while on 24.04 it is 2.45.0, a lot of minor revisions, found on 22.04 that gh auth token
didn't work correctly, unlike in 24.04.
Wonder what other tools fail to function correctly on 22.04, just a heads up.
Wheels are now uploaded to pypi. See https://pypi.org/project/gdbdbg/
Trying to install the tool (Ubuntu 22.04, Salt 3006.5 onedir installed via salt-bootstrap.sh):