pkgsrc-Users archive

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

Re: Cygwin bug about .exe extension



I noticed that /bin/install in the above log is trying to install to
~/pkg, instead of ~/.local

So this time, I re-bootstrapped to ~/pkg. And everything seems to work
out. It seems something somewhere is hard-coded to ~/pkg

On Wed, Mar 22, 2023 at 11:06 PM klu <kludev%gmail.com@localhost> wrote:
>
> Sorry, I think I misunderstood the error.
>
> In digest PLIST:
>
> >>> cat PLIST
> @comment $NetBSD: PLIST,v 1.3 2002/12/21 04:06:10 schmonz Exp $
> bin/digest
> man/man1/digest.1
>
>
> And I indeed don't have anything in the directory as the error message showed:
>
> >>> lla  /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/
> total 0
> drwxrwxr-x+ 1 klu klu 0 Mar 22 22:28 .
> drwxr-xr-x+ 1 klu klu 0 Mar 22 22:28 ..
>
>
> On Wed, Mar 22, 2023 at 10:39 PM klu <kludev%gmail.com@localhost> wrote:
> >
> > I bootstraped pkgsrc on Cygwin:
> >
> > - home is /cygdrive/c/Users/klu
> > - bootstrap prefix is $HOME/.local
> >
> >
> > Now, when bmake www/w3m, I got the following error. I think it's due
> > to the .exe extension not being considered, that's why it says digest
> > couldn't be found, despite digest.exe is there.
> >
> >
> > >>> bmake
> > => Bootstrap dependency digest>=20211023: NOT found
> > => Verifying reinstall for ../../pkgtools/digest
> > ===> Skipping vulnerability checks.
> > WARNING: No /cygdrive/c/Users/klu/.local/pkgdb/pkg-vulnerabilities file found.
> > WARNING: To fix run: `/cygdrive/c/Users/klu/.local/sbin/pkg_admin -K
> > /cygdrive/c/Users/klu/.local/pkgdb fetch-pkg-vulnerabilities'.
> > ===> Installing for digest-20220214
> > WARNING: Your umask is ``0022''.
> > WARNING: If this is not desired, set it to an appropriate value (002)
> > and install
> > WARNING: this package again by
> > ``/cygdrive/c/Users/klu/.local/bin/bmake deinstall reinstall''.
> > => Generating pre-install file lists
> > /bin/sh ./mkinstalldirs
> > /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/bin
> > /bin/install -c -s -o klu -g klu -m 755 digest
> > /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/bin/digest
> > /bin/sh ./mkinstalldirs
> > /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/man/man1
> > /bin/install -c -o klu -g klu -m 644 digest.1
> > /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/man/man1/digest.1
> > => Automatic manual page handling
> > => Generating post-install file lists
> > pkg_create: can't stat
> > `/cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/bin/digest'
> > pkg_create: can't stat
> > `/cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/man/man1/digest.1'
> > => Checking file-check results for digest-20220214
> > ERROR: ************************************************************
> > ERROR: The following files are in the PLIST but not in
> > /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local:
> > ERROR:         /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/bin/digest
> > ERROR:         /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/.local/man/man1/digest.1
> > *** Error code 1
> >
> > Stop.
> > bmake[2]: stopped in /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest
> > *** Error code 1
> >
> > Stop.
> > bmake[1]: stopped in /cygdrive/c/Users/klu/work/pkgsrc/pkgtools/digest
> > *** Error code 1
> >
> > Stop.
> > bmake: stopped in /cygdrive/c/Users/klu/work/pkgsrc/www/w3m
> >
> >
> > [ klu@host ~/work/pkgsrc/pkgtools/digest/work/.destdir/cygdrive/c/Users/klu/pkg/bin
> > ] %
> > >>> ls
> > digest.exe


Home | Main Index | Thread Index | Old Index