From owner-freebsd-ports-bugs@freebsd.org Thu Mar 28 02:24:07 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB2161565F4A for ; Thu, 28 Mar 2019 02:24:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6A55675EB4 for ; Thu, 28 Mar 2019 02:24:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 291371565F49; Thu, 28 Mar 2019 02:24:06 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E25131565F48 for ; Thu, 28 Mar 2019 02:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CCC075EB0 for ; Thu, 28 Mar 2019 02:24:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CBF091C20A for ; Thu, 28 Mar 2019 02:24:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2S2O4CK082062 for ; Thu, 28 Mar 2019 02:24:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2S2O4aD082061 for ports-bugs@FreeBSD.org; Thu, 28 Mar 2019 02:24:04 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 236845] sysutils/syslog-ng320: Don't drag in python when PYTHON isn't selected, other fixes Date: Thu, 28 Mar 2019 02:24:04 +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 Only Me X-Bugzilla-Who: leres@freebsd.org 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 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 MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 02:24:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236845 Bug ID: 236845 Summary: sysutils/syslog-ng320: Don't drag in python when PYTHON isn't selected, other fixes Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: leres@freebsd.org Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) I have DEFAULT_VERSIONS=3Dpython3=3D3.7 and noticed poudriere was also building python36. When I investigated I found it was being built due to syslog-ng (syslog-ng320) which had several issues: - unconditional USES=3Dpython:3.6,build - PYTHON_CONFIGURE_OFF=3D--disable-python --with-python=3D3.6 - other general hardcoding to python36 In my testing python I found isn't used at all with --disable-python. When PYTHON is enabled there are many byacc errors: /bin/sh ./ylwrap modules/afsmtp/afsmtp-grammar.y y.tab.c modules/afsmtp/afsmtp-grammar.c y.tab.h modules/afsmtp/afsmtp-grammar.h y.output modules/afsmtp/afsmtp-gramm ar.output -- byacc -Wno-yacc -Wno-other -d 2>&1 | (/usr/bin/egrep -v "(warning: ([0-9]+ )?(nonterminal|rule)s? useless in grammar)|(^updating|unchanged)" || true) /bin/sh ./ylwrap modules/afsmtp/afsmtp-grammar.y y.tab.c modules/afsmtp/afsmtp-grammar.h y.tab.h modules/afsmtp/afsmtp-grammar.h y.output modules/afsmtp/afsmtp-gramm ar.output -- byacc -Wno-yacc -Wno-other -d 2>&1 | (/usr/bin/egrep -v "(warning: ([0-9]+ )?(nonterminal|rule)s? useless in grammar)|(^updating|unchanged)" || true) Usage: byacc [options] filename Options: -b file_prefix set filename prefix (default "y.") -B create a backtracking parser [...] A configure message seems to indicate that it would prefer bison: configure: WARNING: No proper bison found, you'll not be able to change lib/cfg-grammar.y I added PYTHON_USES=3Dbison:build and this solved the errors. I removed USES=3Dpython:3.6,build and added PYTHON_USES=3Dpython:3.5+,build to all use of any of the python3 versions and changed other python version references to use the PYTHON_VER and PYTHON_SUFFIX variables. I also removed SHEBANG_LANG=3Dpython3 because there are no dependencies that would cause the python3 meta port to be installed and thus no python3 = on the path. While here fix some portlint nits: - use tab (not space) to make indentation - whitespace before end of line - order (e.g. DISTFILES and USES) - unnecessary ${INSTALL} -o/-g --=20 You are receiving this mail because: You are the assignee for the bug.=