pin Sometimes I wonder ... how you are building stuff
$ doas make install
pin Either, you learn something about dependencies
Please, tell me where I'm going wrong.
pin or, you build as root ... then it will also build the missing dependencies while building the target package.
I am building everything as root because I simply cannot build anything as a normal user.
/usr λ ls
drwxr-xr-x - root 3 May 14:14 î—¿ bin
drwxr-xr-x - root 6 May 20:55 î—¿ distfiles
drwxr-xr-x - root 3 May 14:14 î—¿ games
drwxr-xr-x - root 3 May 14:14 î—¼ include
drwxr-xr-x - root 3 May 14:18 î—¿ INSTALL
drwxr-xr-x - root 3 May 14:14 î—¿ lib
drwxr-xr-x - root 2 May 07:34 î—¿ libdata
drwxr-xr-x - root 3 May 14:14 î—¿ libexec
drwxr-xr-x - root 3 May 15:52 î—¿ local
drwxr-xr-x - root 2 May 07:34 î—¿ mdec
drwxr-xr-x - root 6 May 13:32 î—¿ pkg
drwxrwxr-x - dave 4 May 23:08 î—¿ pkgsrc
drwxr-xr-x - root 3 May 14:14 î—¿ sbin
drwxr-xr-x - root 3 May 14:14 î—¿ share
drwxr-xr-x - root 2 May 07:34 î—¿ tests
drwxr-xr-x - root 2 May 07:34 î—¿ X11R7
/usr λ cd pkgsrc/x11/rofi/
/usr/pkgsrc/x11/rofi λ ls
drwxrwxr-x - dave 8 Apr 11:01 î—¿ CVS
.rw-r--r-- 404 dave 13 Jun 2016  DESCR
.rw-r--r-- 348 dave 26 Oct 2021  distinfo
.rw-r--r-- 1.1k dave 8 Apr 11:01  Makefile
.rw-r--r-- 1.4k dave 18 Oct 2021  PLIST
lrwxr-xr-x - 1524 7 Apr 2021 ï„» README.html -> index.html
/usr/pkgsrc/x11/rofi λ make
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Fetching rofi-1.7.0.tar.xz
fetch: WARNING: DISTDIR /usr/distfiles looks non-writable.
=> Total size: 733632 bytes
Requesting https://github.com/DaveDavenport/rofi/releases/download/1.7.0/rofi-1.7.0.tar.xz
Redirected to https://github.com/davatorium/rofi/releases/download/1.7.0/rofi-1.7.0.tar.xz
Requesting https://github.com/davatorium/rofi/releases/download/1.7.0/rofi-1.7.0.tar.xz
Redirected to https://objects.githubusercontent.com/github-production-release-asset-2e65be/7715820/b67c288e-0300-493f-9de6-76099d99538a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240506T111500Z&X-Amz-Expires=300&X-Amz-Signature=99c5d0b96cc35674cb5ffe68907afb281069d0cbfd306f8d2280cfb40456765d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7715820&response-content-disposition=attachment%3B%20filename%3Drofi-1.7.0.tar.xz&response-content-type=application%2Foctet-stream
Trying 185.199.110.133:443 ...
Requesting https://objects.githubusercontent.com/github-production-release-asset-2e65be/7715820/b67c288e-0300-493f-9de6-76099d99538a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240506%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240506T111500Z&X-Amz-Expires=300&X-Amz-Signature=99c5d0b96cc35674cb5ffe68907afb281069d0cbfd306f8d2280cfb40456765d&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7715820&response-content-disposition=attachment%3B%20filename%3Drofi-1.7.0.tar.xz&response-content-type=application%2Foctet-stream
ftp: Can't open `rofi-1.7.0.tar.xz': Permission denied
fetch: Unable to fetch expected file rofi-1.7.0.tar.xz
Trying [2a04:4e42:600::262]:443 ...
Requesting https://cdn.NetBSD.org/pub/pkgsrc/distfiles/rofi-1.7.0.tar.xz
ftp: Can't open `rofi-1.7.0.tar.xz': Permission denied
fetch: Unable to fetch expected file rofi-1.7.0.tar.xz
Trying [2001:660:3302:282a:204:75ff:fe9f:9e11]:80 ...
Requesting http://ftp.fr.NetBSD.org/pub/pkgsrc/distfiles/rofi-1.7.0.tar.xz
ftp: Can't open `rofi-1.7.0.tar.xz': Permission denied
fetch: Unable to fetch expected file rofi-1.7.0.tar.xz
Trying [2001:470:a085:999::21]:443 ...
Requesting https://ftp.NetBSD.org/pub/pkgsrc/distfiles/rofi-1.7.0.tar.xz
ftp: Can't open `rofi-1.7.0.tar.xz': Permission denied
fetch: Unable to fetch expected file rofi-1.7.0.tar.xz
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/rofi
As you can see user dave owns the entire pkgsrc directory. My user is in the wheel group.. etc
I show this just as an example to highlight that I have been building all packages as root.
pin NO FURTHER DEVELOPMENT
It still works, but I guess you're right, I should find another pinentry program, but I still need to understand what is going wrong here.