[Bug 258823] devel/pkgconf: Fails to link with USE_LTO: eval: 1: Syntax error: "|" unexpected
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 258823] Multiple ports fails to link with USE_LTO: libtool: eval: 1: Syntax error: "|" unexpected"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Oct 2021 01:22:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258823 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 2021 GENERIC-NODEBUG amd6 devel/pkgconf fails to link with USE_LTO enabled in the 'libpkgconf.la' target. It appears a variable is empty, resulting in an empty pipe. Summary: Without USE_LTO: libpkgconf/.libs/parser.o | sed -n -e 's/^.*[ ]\([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/path.o libpkgconf/.libs/personality.o libpkgconf/.libs/parser.o | sed -n -e 's/^.*[ ]\([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=CC --mode=link cc -DPERSONALITY_PATH=\"/usr/local/share/pkgconfig/personality.d:/usr/local/etc/pkgconfig/personality.d\" -DPKG_DEFAULT_PATH=\"/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig\" -DSYSTEM_INCLUDEDIR=\"/usr/include\" -DSYSTEM_LIBDIR=\"/usr/lib\" -march=sandybridge -mtune=sandybridge -O2 -pipe -fcolor-diagnostics -march=sandybridge -flto=thin -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wformat=2 -std=gnu99 -no-undefined -version-info 3:0:0 -export-symbols-regex '^pkgconf_' -flto=thin -fstack-protector-strong -o libpkgconf.la -rpath /usr/local/lib libpkgconf/audit.lo libpkgconf/cache.lo libpkgconf/client.lo libpkgconf/pkg.lo libpkgconf/bsdstubs.lo libpkgconf/fragment.lo libpkgconf/argvsplit.lo libpkgconf/fileio.lo libpkgconf/tuple.lo libpkgconf/dependency.lo libpkgconf/queue.lo 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/path.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=258820 [Bug 258820] devel/libffi: Fails to build with USE_LTO: libffi.a strip: file format not recognized (propose: disable building static library) -- You are receiving this mail because: You are the assignee for the bug.