pkgsrc-Users archive

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

Re: How to get libtool patches into libtool-base-2.4.6nb3



Hello,

I'm running into a cirular dependentcy. bootstrap does not have all the packages. See below...

On Thursday 2021-12-16 20:28, Tobias Nygren wrote:

On Thu, 16 Dec 2021 12:15:48 -0700
Boyd Lynn Gerber <gerberb%zenez.com@localhost> wrote:

with my libtool patches.  On a BSD machine building libtool they are
applied properly.

Hello,

You have modified ltmain.in. It is one of the "manual" patches
of libtool where special instructions apply for updating.
This is explained in pkgsrc/devel/libtool/patches/manual.README

pwd
# /home/build/pkgsrc/bootstrap
./bootstrap --full --prefer-pkgsrc=yes >> bstrp.log 2>&1
stops at libtool-base error trying to build ncurses.

        -rpath /usr/pkg/lib \
        -version-number 6:3  -L../lib   -z muldefs -Wl,-R/usr/pkg/lib> > >
libtool:   error: './obj_lo/comp_scan.lo' is not a valid libtool object

/home/build/pkgsrc/bootstrap/work/wrk/devel/ncurses/work/ncurses-6.3/

# cp -pr work/sbin /usr/pkg/
# cp -p work/bin/mkdir-sh /usr/pkg/sbin/

I have the following built
# l /usr/pkg/pkgdb/
total 128
drwxr-xr-x    2 root     sys            2048 Dec 12 14:48 bzip2-1.0.8
drwxr-xr-x    2 root     sys            2048 Dec  6 10:17 digest-20211023
drwxr-xr-x    2 root     sys            2048 Dec 14 19:08 gettext-lib-0.21
drwxr-xr-x    2 root     sys            2048 Dec 15 09:35 gmake-4.3nb2
drwxr-xr-x    2 root     sys            2048 Dec 10 19:45 gzip-1.11
drwxr-xr-x    2 root     sys            2048 Dec 14 19:08 libiconv-1.14nb3
drwxr-xr-x    2 root     sys            2048 Dec 12 14:48 libtool-base-2.4.6nb3
drwxr-xr-x    2 root     sys            2048 Dec 12 14:47 m4-1.4.19
drwxr-xr-x    2 root     sys            2048 Dec 10 19:46 nbpatch-20151107
drwxr-xr-x    2 root     sys            2048 Dec 10 19:45 pax-20210219
drwxr-xr-x    2 root     sys            2048 Dec 10 19:45 pkg_install-info-4.5nb3
drwxr-xr-x    2 root     sys            2048 Dec 15 09:36 pkgconf-1.8.0
-rw-r--r--    1 root     sys           36864 Dec 15 09:36 pkgdb.byfile.db
drwxr-xr-x    2 root     sys            2048 Dec 10 19:44 tnftp-20151004nb2
drwxr-xr-x    2 root     sys            2048 Dec 14 19:04 xz-5.2.5

Doing the following per the file.

# cd /home/build/pkgsrc/devel/libtool-base/
# /home/build/pkgsrc/bootstrap/work/bin/bmake extract
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for libtool-2.4.6.tar.gz
=> Checksum SHA512 OK for libtool-2.4.6.tar.gz
===> Installing dependencies for libtool-base-2.4.6nb3
=> Tool dependency m4>=1.4: found m4-1.4.19
=> Tool dependency {gzip>=1.2.4b,gzip-base>=1.2.4b}: found gzip-1.11
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency coreutils>=5.2.1: NOT found
=> Verifying reinstall for ../../sysutils/coreutils
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for coreutils-9.0.tar.xz
=> Checksum SHA512 OK for coreutils-9.0.tar.xz
===> Installing dependencies for coreutils-9.0
=> Tool dependency gettext-tools>=0.15: NOT found
=> Verifying reinstall for ../../devel/gettext-tools
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for gettext-0.21.tar.gz
=> Checksum SHA512 OK for gettext-0.21.tar.gz
===> Installing dependencies for gettext-tools-0.21nb3
=> Tool dependency {gzip>=1.2.4b,gzip-base>=1.2.4b}: found gzip-1.11
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pax>=20040802: found pax-20210219
...
=> Verifying reinstall for ../../converters/help2man
=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20151004nb2
=> Checksum BLAKE2s OK for help2man-1.48.5.tar.xz
=> Checksum SHA512 OK for help2man-1.48.5.tar.xz
===> Installing dependencies for help2man-1.48.5
=> Tool dependency gmake>=3.81: found gmake-4.3nb2
=> Tool dependency gettext-tools>=0.15: NOT found
=> Verifying reinstall for ../../devel/gettext-tools
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 255

Nothing has been built yet in

# pwd
/home/build/pkgsrc/bootstrap/

# l work/wrk/devel/gettext-tools/work/
total 0

I do have an openSUSE Linux box I could install pkgsrc. I would need to bootstrap it or creat a VM with NetBSD.

I guess I need a full pkgsrc build system to do this properly

I will work on getting things done so I may patch libtool-base properly.

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