bug: 0.5.13 regression in parsing

Reilly Brogan <[email protected]> Mon, 22 Sep 2025 14:34:55 -0500
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
I upgraded the dash package on aerynos to v0.5.13 and started seeing 
some build failures in packages that previously built just fine.

Build error:
```
+ make -j 32
   GEN      src/extensions.c
   CC       src/libxcb_errors_la-xcb_errors.lo
./libtool: 369: Syntax error: "}" unexpected
```

And the relevant line in the libtool script:
```
archive_expsym_cmds="echo "{ global:" > $output_objdir/$libname.ver~
             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> 
$output_objdir/$libname.ver~
             echo "local: *; };" >> $output_objdir/$libname.ver~
             $CC -shared $pic_flag $libobjs $deplibs $compiler_flags 
$wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver 
-o $lib"
```
(I've uploaded the full libtool script at 
https://gist.githubusercontent.com/ReillyBrogan/9a4e6a02e5871fdbeb793a549131e197/raw/5a00be91f0cf38df7706eabc4c0eadcac74e84dd/gistfile1.txt)

Bisecting between 0.5.12 and 0.5.13 reveals that 
e878137f63e61926bbdff7062a558f0143ed5872 is the first bad commit.

Regards,
Reilly