From nobody Fri Jul 1 20:49:58 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 609858B58F1 for ; Fri, 1 Jul 2022 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LZS4l0ryqz3tq2 for ; Fri, 1 Jul 2022 20:49:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EDC76226AF for ; Fri, 1 Jul 2022 20:49:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 261KnwLs044431 for ; Fri, 1 Jul 2022 20:49:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 261Knwiv044430 for ports-bugs@FreeBSD.org; Fri, 1 Jul 2022 20:49:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264985] sysutils/syslog-ng: Broken in 3.37.1 with option PYTHON Date: Fri, 01 Jul 2022 20:49:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: chris@chrullrich.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cy@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656708599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=djkQHjhC8t4lOhTkfgttjczo5ilI5OcfP4X2MZw1b5Y=; b=YKBS3eL6nsIaGBHzD56IB7dP1ZR+uBLMEGmZ0BfleSe+5kS2n0gAdvcr4GVrSR+l3BF9fN n333/Xta1Na15oShb+zJAs2y2f0tNLNFG8uTlp/FxK2fRrJJF6ftTVx1yLoKy1Wqf/1vu4 R4nFzc100QflvdIp8tzNsI4ZGZacUtZpgL0d2PX/IaI34tbod4/lxH7IbF2nAPPARK62GH SCIruP9K4Pnn//JRdyKeJLDmmvKXH3PWyFUb8aMwcuJ6eX8NKAssFdBDGS3Ulsb6yBLCQK uZFSzV2xlWbaoou4yIz6y3TRc2DtkBGwKAwWB66ciG2NRVEsUYG0qT5RO6i+yQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656708599; a=rsa-sha256; cv=none; b=gqCCFjXXm+L5Op8t4KpmNPZLbBdgJlvTBsSTmsB+mafPz6Jt00Hyu4xc+2Wnv3RuvpShQI 5A4nKeHrflp/2T+N3QmWzoKIj8UQ+aSnYY26C9/gqaYVDEgSGfnU23tRaTPnWe0VyR1BOH rYS2OnCGe+Gby+FrEqiuESV+7u8tUJ4io+CabuEcag3SqOomvZg529mHKesf7Uqa7wDMZM 3wLaF2YgSK5XRF/j8voppydfnSEvjdAz9GhwJtuFUYU7g7p6YlQHILHs7ig5VePdnLb5Ak MMB0i2mWT+68Wda1ti82vz5KEsWf81AaQFrt9sDKqefWivdGFfH0HfjlCJ7JFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264985 Bug ID: 264985 Summary: sysutils/syslog-ng: Broken in 3.37.1 with option PYTHON 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 Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Created attachment 235028 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D235028&action= =3Dedit Patch. Since the 3.37.1 update, syslog-ng does not build with option PYTHON enable= d: [00:01:12] =3D=3D=3D=3D> Running Q/A tests (stage-qa) [00:01:12] Error: /usr/local/lib/syslog-ng/libmod-python.so is linked to /usr/local/lib/libpython3.10.so.1.0 from lang/python310 but it is not decla= red as a dependency [00:01:12] Warning: you need LIB_DEPENDS+=3Dlibpython3.10.so:lang/python310 [There's this, too. Not sure about it.] [00:01:12] =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) [00:01:12] =3D=3D=3D> Parsing plist [00:01:12] =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist [00:01:12] Error: Orphaned: lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info [00:01:12] =3D=3D=3D> Checking for items in pkg-plist which are not in STAG= EDIR [00:01:12] Error: Missing: lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/PKG-INFO [00:01:12] Error: Missing: lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt [00:01:12] Error: Missing: lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/dependency_link= s.txt [00:01:12] Error: Missing: lib/syslog-ng/python/syslogng-1.0-py%%PYTHON_VER%%.egg-info/top_level.txt [00:01:12] =3D=3D=3D> Error: Plist issues found. [00:01:12] *** Error code 1 The reason is that the plist changed to expect the .egg-info of the Python module to be a directory, i.e. created by setuptools. Without setuptools installed, however, the .egg-info is still created as a file. The attached patch fixes this. If the opposite behavior is desired, i.e. the plist should remain as is, a dependency on devel/py-setuptools must be adde= d. The correct way to do this is USE_PYTHON=3Ddistutils , but I don't know how to do this conditional on the PYTHON option. It will also make the port flavored. --=20 You are receiving this mail because: You are the assignee for the bug.=