From nobody Fri Dec 17 02:50:40 2021 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 D937718F3269 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 4JFYPr4kWWz4SPn 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 8318513CD3 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 1BH2oemw080814 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 1BH2oewV080813 for ports-bugs@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 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260484] x11/xorg-cf-files: Stop using 'l' option with 'ar' Date: Fri, 17 Dec 2021 02:50:40 +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: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? 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=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; bh=jC7/IBZxOiZERS+IXoyMwfMsa02RLL75R37h4Kj2Ix4=; b=aYrvwIK4JwK2qOwBeV0O6nWBqT9UFxY1S3o3z4EY5l0kVPBdJ7ScgcAKSMFBepXI5x8t+y RIIbBBIilEJgH4ry5XjwKz1uFugqbaWEtVBYhsGSWRuWUj7fkarq0vMfReAuAFBsKRvURE vxfUW1M9cILsvv28Axr6Otkd+d6i/T1f76Npi8I94NN6xYWi3mFGt3NowGV8nS7cCbs3hJ sa+zyPC6kTDOj565vJxmhswZ9teCZrPOnKFWmY6xq4XAoMO/fFbwzrL3gmYzv+m4weKNxF MQgQOXwu4f57XA/2I3/oiuTo10iay0rtupQtDlfH49u9+hkzQ8HoET8SeXk8Qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639709440; a=rsa-sha256; cv=none; b=Iy38xszhPdfFhbCpfPQzqdIb9r28HpCN3Ek9qgQH9zmn1yRtov3osoGm/3Nr3PezWcb4LA sLLM26sVyfoQFloOMjULMCXxqhgX087FsBfCZti7mQmkulSHx/6BRkA+LgobxTdLJJsQW+ WmoPCiV6FvzGs5SLbS0fK5DTJsMzxGVWPA0HP0FxpggOF/7NtnenTaaY1eiXCrzpSaQPlZ bpQEflauG2UnINELkDijluanXiov0lFlHGfte6QVDyL0XOGgMUQ/NcZkJGx4CJIO65H74a jTJIQ3wG3HScPV68A7fETBp3vgKgTBWhtobUJdwKEautJ5w3aFGiY6oAvBL+kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260484 Bug ID: 260484 Summary: x11/xorg-cf-files: Stop using 'l' option with 'ar' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: yasu@freebsd.org Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Flags: merge-quarterly? Created attachment 230189 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230189&action= =3Dedit Patch file 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 synt= ax as the linker command line, and must be specified within a single argument. I.e., if multiple items are needed, they must be quot= ed 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. --=20 You are receiving this mail because: You are the assignee for the bug.=