pkgsrc-Users archive

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

Re: bootstrapping an solaris10 SPARC fails

I can confirm the issue here too. Seems to be related to pkgsrc2020Q3. Bootstrap is fine under Solaris10 with pkgsrc2020Q2. You might stick to this version while it's fixed.
About your goal, I'd try with Nginx instead of Apache if I were you. I have never been able to compile Apache24 under Solaris10 with pkgsrc.
By the way, sh and bash are pretty much broken on Solaris 10. Keep this in mind.

On Fri, Oct 2, 2020 at 1:06 PM Jonathan Perkin <> wrote:
* 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.  -

Home | Main Index | Thread Index | Old Index