You are not logged in.
I'm trying to compile `python-rosdep` but after calling makepkg it hangs infinitely on "Starting build()". I've tried with several AUR helpers and manually calling makepkg and the result is always the same. I can, however, install other AUR packages.
Is this a problem on the package/PKGBUILD/source files, or on my side? Is there a way to get a more verbose output of makepkg?
Last edited by joaocandre (2019-07-04 22:39:15)
Offline
There's very little makepkg involvement here run
pacman -Qkk python-setuptools
strace python setup.py build
in the relevant folder, maybe something turns up. Educated guess, did you ever install anything with sudo pip? You shouldn't.
Online
Not that I recall honestly, but I can't be sure. I may have used pip in the past to install packages in the past, but this problem started over this last week.
The first command outputs `python-setuptools: 192 total files, 0 altered files`
And the second leaves me in a jumble of characters, and apparently `read()` keeps being called, waiting for keyboard input? Maybe that is why it hangs.
Offline
I noticed that at this moment, I can't build any AUR packages, no matter which helper I use. It always hangs somewhere during the build process. Is there a way to debug exactly what is happening?
Offline
Usual suspects, you contain something in your PATH that masks an actual existing and standard binary: See https://bbs.archlinux.org/viewtopic.php?id=247306 for another example of this. Check/remove any path adjustments, and/or verify which binaries you are masking. Alternatively a broken bash? Did you do partial updates at some point ?
FWIW you might want to post at least part of that strace (or rather strace makepkg instead...) as it will likely clear up things and/or initiate a build with
bash -x makepkg
.
Last edited by V1del (2019-07-04 17:58:19)
Online
Thanks, I think was able to solve it.
I had a script `/usr/local/bin/python` in order to force previous ROS projects to use python2, as suggested [in the wiki](https://wiki.archlinux.org/index.php/Py … ld_scripts), but since then I have uninstalled ROS completely and removed the project folders, so that script was hanging there.
Offline