On 2025/09/06 09:51, Antoine Jacoutot wrote: > On Fri, 2025-09-05 at 05:51 -0600, Stuart Henderson wrote: > > CVSROOT: /cvs > > Module name: ports > > Changes by: st...@cvs.openbsd.org 2025/09/05 05:51:18 > > > > Modified files: > > games/gnuchess : Makefile distinfo > > games/gnuchess/pkg: PLIST > > > > Log message: > > update to gnuchess-6.3.0, from Martin Ziemer (maintainer) > > Hey. > > This did not package for me > > install: /exopi-obj/pobj/gnuchess-6.3.0/gnuchess-6.3.0/src/book.bin: No such > file or directory
Looks like it fails from dpb but works with a manual build. >From your log: ----- cd /exopi-obj/pobj/gnuchess-6.3.0/gnuchess-6.3.0/src && ./gnuchess --addbook book_1.02.pgn GNU Chess White (1) : Can't open file "(null)": Bad address - using defaults inserting games ... allocating 1.5MB ... >>> Running package in games/gnuchess at 1757105181.08 ----- and the book.bin file is not produced. >From manual build: cd /usr/obj/ports/gnuchess-6.3.0/gnuchess-6.3.0/src && ./gnuchess --addbook book_1.02.pgn GNU Chess Can't open file "(null)": Bad address - using defaults inserting games ... allocating 1.5MB ... allocating 3MB ... allocating 6MB ... allocating 12MB ... White (1) : allocating 24MB ... 10000 games ... allocating 48MB ... 20000 games ... 30000 games ... allocating 96MB ... 40000 games ... 50000 games ... 60000 games ... 70000 games ... allocating 192MB ... 80000 games ... 90000 games ... 100000 games ... 110000 games ... 120000 games ... 130000 games ... 140000 games ... 145716 games. 7920490 entries. filtering entries ... 180358 entries. sorting entries ... saving entries ... all done! ===> Faking installation for gnuchess-6.3.0 I think it is to do with stdin: $ doas -u _pbuild ./gnuchess --addbook book_1.02.pgn < /dev/null GNU Chess White (1) : Can't open file "(null)": Bad address - using defaults whereas the old version succeeds with that. Might be something to do with "Fix potential buffer overflows in the pipes read/write". That "Can't open file "(null)": Bad address" is new and not ideal either, I don't think it degrades nicely if the .ini is not found. Could you take a look please Martin?