pkgsrc-Users archive

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

Re: unable to find gnutls in configure script run



On Mon, Sep 16, 2024 at 11:44:03AM +0000, Van Ly wrote:
> 
> Thomas Klausner <wiz%gatalith.at@localhost> writes:
> 
> > On Sun, Sep 15, 2024 at 04:58:50PM +0000, Van Ly wrote:
> >> I was able to build emacs-29.4, building pretest emacs-30.0.91 fails at
> >
> > There's wip/emacs-git which tracks the latest git release of emacs and
> > built fine for me today - try it.
> 
> I gave it a go.
> 
>   1 $ make
>   2 make: "/usr/pkgsrc/wip/emacs-git/options.mk" line 46: Could not find ../../lang/gcc14-libjit/buildlink3.mk
>   3 make: Fatal errors encountered -- cannot continue
>   4 make: stopped in /usr/pkgsrc/wip/emacs-git
> 
> My /usr/pkgsrc checkout is tagged pkgsrc-2024Q2 and doesn't have lang/gcc14-libjit .

You'll need pkgsrc-current, or replace gcc14-libjit with gcc13-libjit
in /usr/pkgsrc/wip/emacs-git/options.mk

> If the following are uncommented in /etc/mk.conf when building
> wip/btop-git will the dependencies install from a binary package ? I
> want to avoid building dependencies.

To install dependencies from binary packages, use 'make DEPENDS_TARGET=bin-install install-depends'

> At the moment I am unable to build btop-git and don't know if changing
> LOCALBASE or DESTDIR to /usr/local in the past may have broken the following

If you change LOCALBASE, you can't use the official binary packages.

When you switch LOCALBASE, you should delete your local binary
packages, if any, since LOCALBASE is hardcoded in them.

>   1 $ make
>   2 => Bootstrap dependency digest>=20211023: NOT found
>   3 => Verifying reinstall for ../../pkgtools/digest
>   4 ===> Checking for vulnerabilities in digest-20220214
>   5 ===> Installing for digest-20220214
>   6 => Generating pre-install file lists
>   7 install: /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg: chown/chmod: Operation not permitted
>   8 /bin/sh ./mkinstalldirs /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin
>   9 /usr/bin/install -c -s -o root -g wheel -m 755 digest /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin/digest
>  10 install: /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin/digest: chown/chgrp: Operation not permitted
>  11 *** Error code 1

It looks like you tried building 'digest' as a different user before?
Make sure your checkout is clean and does not contain any work
directories, e.g. something like

cd /usr/pkgsrc
rm -rf */*/work*

 Thomas


Home | Main Index | Thread Index | Old Index