pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrapping an solaris10 SPARC fails



* On 2020-10-02 at 17:50 BST, Kurt Schreiner wrote:

> the bootstap shell script fails for me on Solaris 10 SPARC while
> compiling libarchive like so:
> 
> ...
> /var/tmp/work/bin/bmake  all-am
>   CC       cat/bsdcat-bsdcat.o
>   CC       cat/bsdcat-cmdline.o
>   CC       libarchive/archive_acl.lo
> ./libtool: syntax error at line 364: `}' unexpected
> *** [libarchive/archive_acl.lo] Error code 2
> 
> bmake[1]: stopped in /var/tmp/work/libarchive
> 1 error
> ....
> 
> The problematic expression (line 364 of the libtool shell script used
> in libarchive):
> 
> archive_expsym_cmds="echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *;
> };" >> $lib.exp~
>           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flag
> s~$RM $lib.exp"

It looks like something went wrong when generating this script as it's
clearly broken.  I think we'd need to see a lot more of the output,
and the entire work area would probably be useful.

FWIW I had no issues bootstrapping on Solaris 9 when working on the
mksh integration a few months ago.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index