Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2023 11:44:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270153] sysutils/syslog-ng: 4.1.1 fails to stage with PYTHON=ON: setuptools missing
Message-ID:  <bug-270153-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270153

            Bug ID: 270153
           Summary: sysutils/syslog-ng: 4.1.1 fails to stage with
                    PYTHON=3DON: 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=3D240790&action=
=3Dedit
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=3D"/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/=
modules/python-modules/build"
\
[00:01:00]      egg_info
--egg-base=3D"/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/mo=
dules/python-modules"
\
[00:01:00]      install
--record=3D/wrkdirs/usr/ports/sysutils/syslog-ng/work/syslog-ng-4.1.1/modul=
es/python-modules/install-manifest.txt
--root=3D"/wrkdirs/usr/ports/sysutils/syslog-ng/work/stage"
--install-lib=3D"/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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270153-7788>