issue with dbus-python.SlackBuild in -current
by bl0tt0 from LinuxQuestions.org on (#5N38J)
I came across this issue when trying to build the avahi package on slackbuilds.org, which wasn't able to detect the dbus module in Python. It looks like the dbus-python package doesn't include a build for Python 2, even though the SlackBuild runs through the build twice. The problem is that the first build sets PYTHON_VERSION=3, and that environment variable persists for the second build, meaning a python3 vresion of the dbus module is getting built twice. This can be fixed by either setting PYTHON_VERSION=2 for the second build, or by changing the ordering of the builds so that PYTHON_VERSION=3 is only set on the second iteration.
Of course, Python 2 has been EOL for a while now, so perhaps it would be better to just drop the second build completely and add PYTHON=/usr/bin/python3 to the avahi SlackBuild on slackbuilds.org in order to stay on the active version of the language.
Of course, Python 2 has been EOL for a while now, so perhaps it would be better to just drop the second build completely and add PYTHON=/usr/bin/python3 to the avahi SlackBuild on slackbuilds.org in order to stay on the active version of the language.