From nobody Fri Dec 17 02:50:40 2021 X-Original-To: x11@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 B075818F3344 for ; Fri, 17 Dec 2021 02:50:40 +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 4JFYPr34CQz4SQZ for ; Fri, 17 Dec 2021 02:50:40 +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 498ED14015 for ; Fri, 17 Dec 2021 02:50:40 +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 1BH2oe6N080805 for ; Fri, 17 Dec 2021 02:50:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BH2oeGR080804 for x11@FreeBSD.org; Fri, 17 Dec 2021 02:50:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 260484] x11/xorg-cf-files: Stop using 'l' option with 'ar' Date: Fri, 17 Dec 2021 02:50:40 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639709440; 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: in-reply-to:in-reply-to:references:references; bh=Lq0+tU6GUqZso0hr/LoVya1Pjaog+cNJihWjSSQzrWE=; b=Z3XiGSzepQGLvN2L5nUUDKtAcEcJh7j9fXeloEsWBEmwNqNSbqhBqeuaTEtaxWKZU7tyW2 3SJkofNyLEYfc4fSkEydJ+5uRNm7EtCvxkzfTqLy920pwcL7CWHpoCLJU+WDv9P2XoI2sS CmAeO6WDwYy8B8sMR2CEiXsfY9cNbLFghBCbihAGFBuxDPATntZNCUlilXLgsezvNxC/Qs zqwK4dagCoaZptyxL58daT7HmX1MKRbZPs8cdLz5tOQnsoc9bW+59oHDKS9Tw16Q6iXqMl M21VpMkjPduyqNKcOy9zc6a+1oMsUwBtprgnX0vTU/d6vzjaTnyvcbjeRnfnvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639709440; a=rsa-sha256; cv=none; b=O4rcUgY8DsXS8phTlfR1WVT6q7cCzQuY4P+adUczLF9x9aCkYT3zUXnOv0hVuEf6Tuiypn lUE0klQcvLpKjXjhTrPJXBRdI6LoMUNZzAnFkcQmaPxZldQAbnf5wix//DWHivmOdGLvyL Kr6fALbL3OK50AyanxXonSZPqJ+0dRa6mvnzDgIRSw1mkJ2NAc37tQtectWtUHqe47QQb5 /YtTkLNMD4WbvxxbjgsjkVVRzKlKgiYHqhbPgELMee2h6nibg7VYuBO4q/DFhZjezIKH8O btK/0SWoxK1pMC+K0HR5BhegdRsjBL85oWYCPrCX8GZgF2nPYP7k9OG/kZ05fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 260484: x11/xorg-cf-files: Stop using 'l' option with 'ar' https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260484 --- Description --- In the ar(1) man page of base system 'l' option is explained as following. -l This option is accepted for compatibility with GNU ar(1), but = is ignored. However, since binutils 2.36 GNU ar changed the meaning of 'l' option. According to the ar(1) man page of binutils 2.37 it is explained as followi= ng. l Specify dependencies of this library. The dependencies must immediately follow this option character, must use the same syntax as the linker command line, and must be specified within a single argument. I.e., if multiple items are needed, they must be quoted to form a single command line argument. For example L "-L/usr/local/lib -lmydep1 -lmydep2" And this incompatible change affects to the build of ports that uses 'USES=3Dimake' if devel/binutils is installed and /usr/local/bin is before /usr/bin in the value of PATH environment variable. For example build of textproc/docbook-to-man fails as following. rm -f libtptregexp.a ar clq libtptregexp.a regexp.o regsub.o regerror.o ar: libdeps specified more than once *** Error code 1 Stop. make[3]: stopped in /usr0/freebsd/ports/work/usr/ports/textproc/docbook-to-man/work/docbook-to-= man/ Instant/tptregexp *** Error code 1 Stop. make[2]: stopped in /usr0/freebsd/ports/work/usr/ports/textproc/docbook-to-man/work/docbook-to-= man/ Instant *** Error code 1 Stop. make[1]: stopped in /usr0/freebsd/ports/work/usr/ports/textproc/docbook-to-man/work/docbook-to-= man *** Error code 1 Stop. make: stopped in /usr/ports/textproc/docbook-to-man Therefore change Imake.tmpl so 'l' options isn't used with 'ar'. As is explained above 'ar' of base system ignores 'l' option. So it should work f= ine even if devel/binutils isn't installed and 'ar' of base system is used.