From nobody Fri Oct 01 01:22:09 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 3903C17F209B for ; Fri, 1 Oct 2021 01:22:09 +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 4HLC5F13Stz59Fl for ; Fri, 1 Oct 2021 01:22:09 +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 047A21653A for ; Fri, 1 Oct 2021 01:22:09 +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 1911M8Vs044847 for ; Fri, 1 Oct 2021 01:22:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1911M8fA044846 for ports-bugs@FreeBSD.org; Fri, 1 Oct 2021 01:22:08 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 258823] devel/pkgconf: Fails to link with USE_LTO: eval: 1: Syntax error: "|" unexpected Date: Fri, 01 Oct 2021 01:22:09 +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: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter dependson 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258823 Bug ID: 258823 Summary: devel/pkgconf: Fails to link with USE_LTO: eval: 1: Syntax error: "|" unexpected Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-qa Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: koobs@FreeBSD.org Depends on: 258820 Flags: maintainer-feedback?(bapt@FreeBSD.org) Assignee: bapt@FreeBSD.org FreeBSD 14.0-CURRENT #0 main-n248401-de0c7fbe280: Mon Aug 2 02:42:31 UTC 2= 021 GENERIC-NODEBUG amd6 devel/pkgconf fails to link with USE_LTO enabled in the 'libpkgconf.la' tar= get. It appears a variable is empty, resulting in an empty pipe. Summary: Without USE_LTO:=20 libpkgconf/.libs/parser.o | sed -n -e 's/^.*[=20=20=20=20=20=20=20 ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpkgconf.exp With USE_LTO: libpkgconf/.libs/parser.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpkgconf.exp eval: 1: Syntax error: "|" unexpected Search results for "BCDEGRST" "syntax error" point to libtool environment modifications, potentially config.cache related Full compile lines: Without USE_LTO: --- libpkgconf.la --- libtool: link: /usr/bin/nm libpkgconf/.libs/audit.o libpkgconf/.libs/cache= .o libpkgconf/.libs/client.o libpkgconf/.libs/pkg.o libpkgconf/.libs/bsdstubs.o libpkgconf/.libs/fragment.o libpkgconf/.libs/argvsplit.o libpkgconf/.libs/fileio.o libpkgconf/.libs/tuple.o libpkgconf/.libs/dependency.o libpkgconf/.libs/queue.o libpkgconf/.libs/pat= h.o libpkgconf/.libs/personality.o libpkgconf/.libs/parser.o | sed -n -e 's/^= .*[=20 ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$= /\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpkgconf.exp With USE_LTO: --- libpkgconf.la --- /bin/sh ./libtool --tag=3DCC --mode=3Dlink cc -DPERSONALITY_PATH=3D\"/usr/local/share/pkgconfig/personality.d:/usr/local/= etc/pkgconfig/personality.d\" -DPKG_DEFAULT_PATH=3D\"/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig\" -DSYSTEM_INCLUDEDIR=3D\"/usr/include\" -DSYSTEM_LIBDIR=3D\"/usr/lib\" -march=3Dsandybridge -mtune=3Dsandybridge -O2 -pipe -fcolor-diagnostics -march=3Dsandybridge -flto=3Dthin -fstack-protector-strong -fno-strict-ali= asing=20 -Wall -Wextra -Wformat=3D2 -std=3Dgnu99 -no-undefined -version-info 3:0:0 -export-symbols-regex '^pkgconf_' -flto=3Dthin -fstack-protector-strong -o libpkgconf.la -rpath /usr/local/lib libpkgconf/audit.lo libpkgconf/cache.lo= =20 libpkgconf/client.lo libpkgconf/pkg.lo libpkgconf/bsdstubs.lo=20 libpkgconf/fragment.lo libpkgconf/argvsplit.lo libpkgconf/fileio.lo libpkgconf/tuple.lo libpkgconf/dependency.lo libpkgconf/queue.lo=20 libpkgconf/path.lo libpkgconf/personality.lo libpkgconf/parser.lo libtool: link: /usr/bin/nm libpkgconf/.libs/audit.o libpkgconf/.libs/cache= .o libpkgconf/.libs/client.o libpkgconf/.libs/pkg.o libpkgconf/.libs/bsdstubs.o libpkgconf/.libs/fragment.o libpkgconf/.libs/argvsplit.o libpkgconf/.libs/fileio.o libpkgconf/.libs/tuple.o libpkgconf/.libs/dependency.o libpkgconf/.libs/queue.o libpkgconf/.libs/pat= h.o libpkgconf/.libs/personality.o libpkgconf/.libs/parser.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpkgconf.exp eval: 1: Syntax error: "|" unexpected *** [libpkgconf.la] Error code 2 Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258820 [Bug 258820] devel/libffi: Fails to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library) --=20 You are receiving this mail because: You are the assignee for the bug.=