pkgsrc-Users archive

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

Re: bootstrapping an solaris10 SPARC fails

What version of bash do you have? I would suggest attempting the bootstrapping process using a newer version of bash.

Get Outlook for Android

From: <> on behalf of Kurt Schreiner <>
Sent: Friday, October 2, 2020 12:50:32 PM
To: <>
Subject: bootstrapping an solaris10 SPARC fails


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"

libtool is called from the Makefile using /bin/sh. I tried (by modifying
SHELL in the Makefile) all other shells I could find on this machine
(/usr/bin/bash, /usr/bin/ksh, /usr/xpg4/bin/sh etcpp) to no avail.
Wording of the error message changes slightly from one shell to the
other, but the problem stays w/o change.

What could I do to get this going and use pkgsrc on this old beast?

(Goal is, to get apache or nginx running with mod_security to protect
archaic web applications we have no source for.)

Thanks in advance

Home | Main Index | Thread Index | Old Index