[Bug 270153] sysutils/syslog-ng: 4.1.1 fails to stage with PYTHON=ON: setuptools missing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Mar 2023 11:44:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270153 Bug ID: 270153 Summary: sysutils/syslog-ng: 4.1.1 fails to stage with PYTHON=ON: setuptools missing Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: chris@chrullrich.net Flags: maintainer-feedback?(cy@FreeBSD.org) Assignee: cy@FreeBSD.org Created attachment 240790 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240790&action=edit Patch When option PYTHON is on, syslog-ng 4.1.1 fails in stage: [00:01:00] (cd ./modules/python-modules && /usr/local/bin/python3.11 setup.py \ [00:01:00] build --build-base="/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/modules/python-modules/build" \ [00:01:00] egg_info --egg-base="/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/modules/python-modules" \ [00:01:00] install --record=/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/modules/python-modules/install-manifest.txt --root="/wrkdirs/usr/ports/sysutils/syslog-ng/work/stage" --install-lib="/usr/local/lib/syslog-ng/python") [00:01:00] Traceback (most recent call last): [00:01:00] File "/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/modules/python-modules/setup.py", line 24, in <module> [00:01:00] from setuptools import setup [00:01:00] ModuleNotFoundError: No module named 'setuptools' This is because in 4.1.1 setuptools is required for the Python components. The attached patch fixes this. I think it is correct not to make the port flavored ecause it does not install anything into the Python site-packages directory. -- You are receiving this mail because: You are the assignee for the bug.