pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: Bootstrapping pkgsrc on SCO OpenServer 5 (GCC 4.2.4) and SCO OpenServer 6 (GCC 7.3.0)
The linking of sh to ksh solved the libarchive issue, but now I get an abort at the following:
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"SCO_SV\" -DPKGSRC_MACHINE_ARCH=\"\" -DBINDIR=\"/usr/pkg/sbin\" -I/src/pkgsrc/bootstrap/work/libnbcompat -I/src/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I. -I../lib -DBOOTSTRAP -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"SCO_SV\" -DPKGSRC_MACHINE_ARCH=\"\" -DBINDIR=\"/usr/pkg/sbin\" -I/src/pkgsrc/bootstrap/work/libnbcompat -I/src/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I. -I../lib -DBOOTSTRAP -g -O2 -c perform.c
perform.c: In function 'copy_data_to_disk':
perform.c:660: warning: passing argument 4 of 'archive_read_data_block' from incompatible pointer type
gcc -L/src/pkgsrc/bootstrap/work/libnbcompat -L../lib -o pkg_add main.o perform.o -linstall /src/pkgsrc/bootstrap/work/libarchive/.libs/libarchive.a -lsocket -lnbcompat
Undefined first referenced
symbol in file
dbopen libinstall.a(pkgdb.o)
UX:i386ld: ERROR: Symbol referencing errors. No output written to pkg_add
collect2: ld returned 1 exit status
*** [pkg_add] Error code 1
bmake[1]: stopped in /src/pkgsrc/bootstrap/work/pkg_install/add
1 error
bmake[1]: stopped in /src/pkgsrc/bootstrap/work/pkg_install/add
*** [all] Error code 1
bmake: stopped in /src/pkgsrc/bootstrap/work/pkg_install
1 error
bmake: stopped in /src/pkgsrc/bootstrap/work/pkg_install
===> exited with status 2
aborted.
Your time is worth money, after the help you've offered, if this finally builds, I'd like to pay you a reasonable fee as a thank you.
Thank you,
Lance
-----Original Message-----
From: Boyd Lynn Gerber <gerberb%zenez.com@localhost>
Sent: Monday, July 25, 2022 5:28 AM
To: Lance Payne <lance.payne%poorfellow.org@localhost>
Cc: pkgsrc-users%NetBSD.org@localhost
Subject: Re: Bootstrapping pkgsrc on SCO OpenServer 5 (GCC 4.2.4) and SCO OpenServer 6 (GCC 7.3.0)
On Sunday 2022-07-24 13:00, Lance Payne wrote:
> But I still get the following:
>
> ===> Bootstrapping pkgtools
> ===> running: /bin/sh /src/pkgsrc/bootstrap/work/bin/install-sh -d -o
> root -g root /src/pkgsrc/bootstrap/work/libarchive
> ===> running: (cd /src/pkgsrc/bootstrap/work/libarchive; env
> INSTALL='/usr/pkg/bin/install-sh -c' CONFIG_SHELL=/bin/sh /bin/sh
> ./configure --enable-static --disable-shared --disable-bsdtar
> --disable-bsdcpio --disable-posix-regex-lib --disable-xattr
> --disable-maintainer-mode --disable-acl --without-zlib
> --without-bz2lib --without-iconv --without-lzma
> --without-lzo2 --without-lz4 --without-nettle --without-openssl
> --without-xml2 --without-expat --without-zstd
> MAKE=/src/pkgsrc/bootstrap/work/bin/bmake &&
> /src/pkgsrc/bootstrap/work/bin/bmake -j1)
> ./configure: syntax error at line 3494: `ARCHIVE_MINOR=$' unexpected
> ===> exited with status 2 aborted.
>
> I'm not sure where it's going awry, beyond the old Unix Bourne shell
> being a jerk.
>
> What magic sauce did you use to get it to bootstrap?
SCO /bin/sh is brain dead.
You also need to mv /bin/sh to /bin/sh.lnk;ln -s /bin/ksh /bin/sh
While bootstraping and builds that do not build or have the above error due to the brain dead shell.
I have the following
PATH=/usr/xdev/bin:/opt/xinuos/bin:/opt/bin:/usr/gnu/bin:/usr/bin:/bin:/usr/ccs/bin:/usr/ucb:/usr/local/bin:$HOME/tools/bin:$HOME/bin:
LD_LIBRARY_PATH=/usr/xdev/lib:/usr/gnu/lib:/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:$HOME/tools/lib:
LIBPATH=/usr/xdev/lib:/usr/gnu/lib:/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/gnu/lib:/opt/xinuos/lib:$HOME/tools/lib:
export PATH LD_LIBRARY_PATH LIBPATH
MANPATH=scohelp:/usr/xdev/:/usr/gnu/man:/usr/man:/opt/xinuos/man:/usr/local/man:$HOME/tools/man:
export MANPATH
CONFIG_SHELL=/usr/bin/bash
WRAPPER_SHELL=/usr/bin/bash
export CONFIG_SHELL WRAPPER_SHELL
Regards,
--
Boyd Gerber <gerberb%zenez.com@localhost> 801 849-0213
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
Home |
Main Index |
Thread Index |
Old Index