Hi! im getting this error on a fresh install of openbsd 6.3 -stable, when 
trying to update any package after getting the ports tree and update it,  i 
surely missed something but cannot figure out what. Never happened to me on 
other installations that i can remember.

lea@openbsd:/usr/ports/net/curl $ doas make update
===>  Looking for curl-7.59.0p1.tgz in $PKG_PATH - not found
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1928 
'/usr/ports/build/pkgrepo/amd64/cache/curl-7.59.0p1.tgz':
@if /usr/bin/env -...)
===>  Checking files for curl-7.59.0p1
`/usr/ports/build/distdir' is up to date.
`/curl-7.59.0.tar.xz' is up to date.
>> cksum: cannot open curl-7.59.0.tar.xz: No such file or directory             
>>                                          
(SHA256) curl-7.59.0.tar.xz: MISSING
Make sure the Makefile and /usr/ports/net/curl/distinfo
are up to date.  If you want to fetch a good copy of this file                  
                                         
from the OpenBSD main archive, type
        make REFETCH=true [other args]
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2324 
'_internal-checksum')                                    
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2508 
'/usr/ports/build/wrkobjdir/curl-7.59.0/.extract_done')  
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1938 
'/usr/ports/build/pkgrepo/amd64/all/curl-7.59.0p1.tgz')  
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1936 
'/usr/ports/build/pkgrepo/amd64/all/curl-7.59.0p1.tgz')  
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2440 
'_internal-package')                                     
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1965 
'/usr/ports/build/update_cookies/curl-7.59.0p1')         
*** Error 1 in /usr/ports/net/curl 
(/usr/ports/infrastructure/mk/bsd.port.mk:2419 'update')

On my /etc/mk.conf i have:
SUDO=/usr/bin/doas
WRKOBJDIR=/usr/ports/build/wrkobjdir
DISTDIR=/usr/ports/build/distdir
PLIST_DB=/usr/ports/build/plist
BULK_COOKIES_DIR=/usr/ports/build/bulk_cookies
UPDATE_COOKIES_DIR=/usr/ports/build/update_cookies
PACKAGE_REPOSITORY=/usr/ports/build/pkgrepo
FETCH_PACKAGES=Yes

And i had created those directories before:
lea@openbsd:/usr/ports/build $ ls -lahF                                         
                                         
total 32
drwxr-xr-x   8 root  wsrc   512B Aug 16 18:18 ./
drwxr-xr-x  47 root  wsrc   1.0K Aug 16 18:14 ../
drwxr-xr-x   2 root  wsrc   512B Aug 16 18:18 bulk_cookies/
drwxr-xr-x   2 root  wsrc   512B Aug 16 18:18 distdir/
drwxr-xr-x   3 root  wsrc   512B Aug 16 18:14 pkgrepo/
drwxr-xr-x   2 root  wsrc   512B Aug 16 18:18 plist/
drwxr-xr-x   2 root  wsrc   512B Aug 16 18:18 update_cookies/                   
                                         
drwxr-xr-x   5 root  wsrc   512B Aug 16 18:21 wrkobjdir/

Reply via email to