pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Issues with bootstraping for OpenServer 5 and pkgsrc-2019Q4
Hello Roland,
Thanks for the assistance so far it has been really valuable. I have a
few things I'm trying to understand below:
1. Every so often I'm finding things trying to use -belf, where it
should be -melf, Most to the configure test for this and find it is
not needed and do not try to use its Everything seems to work fine in
this case, but when pkgsrc choose to use the -belf I see many errors.
2.
=> Generating post-install file lists
=> Checking file-check results for pax-20080110nb4
=> Creating binary package
/u/build/pkgsrc-blg/bootstrap/work/wrk/archivers/pax/work/.packages/pax-20080110nb4.tgz
===> Installing binary package of pax-20080110nb4
pkg_add: Failed to write bin/nbpax for pax-20080110nb4: Could not open bin/nbcpio
pkg_add: Couldn't remove /usr/pkg/bin/nbpax
pkg_add: Couldn't remove /usr/pkg/bin/nbtar
pkg_add: Couldn't remove /usr/pkg/man/man1/nbcpio.1
pkg_add: Couldn't remove /usr/pkg/man/man1/nbpax.1
pkg_add: Couldn't remove /usr/pkg/man/man1/nbtar.1
I'm able to go to
/u/build/pkgsrc-blg/bootstrap/work/wrk/archivers/pax/work/pax-20080110/
and do the bmake or make install and then the error above about removing
them disapears and I only get
pkg_add: Failed to write bin/nbpax for pax-20080110nb4: Could not open
bin/nbcpio
Then
ls -la /usr/pkg/bin/
total 1326
-rwxr-xr-x 1 root root 192996 Feb 28 08:33 bmake
-rwxr-xr-x 1 root root 110544 Feb 28 08:23 digest
-rwxr-xr-x 1 root root 158680 Feb 28 08:24 ftp
-rwxr-xr-x 1 root root 6760 Feb 28 08:32 install-sh
-rwxr-xr-x 1 root root 106728 Feb 28 08:33 nawk
-rwxr-xr-x 1 root root 62184 Feb 28 08:23 nbpatch
-rwxr-xr-x 1 root root 32700 Feb 28 08:34 nbsed
When doing the bootstrap it creates the nbcpio and it is found
./work/wrk/archivers/pax/work/.destdir/usr/pkg/bin/nbcpio
3. My platform doesn't have a strtoull in any of the libraries, causing
the below, Do I need to create a library that has trtoull? Also I
noticed the command being used has -lnbcompat twice.
Only happens with /u/build/pkgsrc-blg/mk/tools/tools.SCO_SV.mk, added
.if exists(/usr/gnu/bin/diff)
TOOLS_PLATFORM.diff?= /usr/gnu/bin/diff
.endif
gcc
-L/u/build/pkgsrc-xinuosblg/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2
-L/u/build/pkgsrc-blg/bootstrap/work/wrk/pkgtools/pkg_install/work/zlib
-L/u/build/pkgsrc-blg/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/.libs
-L/u/build/pkgsrc-blg/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch
-L/u/build/pkgsrc-blg/bootstrap/work/wrk/pkgtools/pkg_install/work/netpgp
-L/u/build/pkgsrc-blg/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat
-Wl,-R/usr/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall
-lnetpgpverify -larchive -lbz2 -lz -lfetch -lsocket -lbz2 -lz -lnbcompat
-lnbcompat
Undefined first referenced
symbol in file
strtoull libnetpgpverify.a(bignum.o)
UX:i386ld: ERROR: Symbol referencing errors. No output written to pkg_add
collect2: ld returned 1 exit status
Any ideas on these? You patch to default.mk has allowed me to fix other
issues.
Thanks,
--
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