Article 5N38J issue with dbus-python.SlackBuild in -current

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.latest?d=yIl2AUoC8zA latest?i=N6I5ZrgP96s:3pkamZh-SmA:F7zBnMy latest?i=N6I5ZrgP96s:3pkamZh-SmA:V_sGLiP latest?d=qj6IDK7rITs latest?i=N6I5ZrgP96s:3pkamZh-SmA:gIN9vFwN6I5ZrgP96s
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments