Subject: polyglot: Polyglot's merge-book option doesn't work as expected Package: polyglot X-Debbugs-Cc: cpeter...@list.ru Version: 2.0.4-2+b1 Severity: normal
Hello! When two books (in bin-format) are merged with polyglot, it's expected that lines from both of them can be found in the new combined/merged one. This is not the case: the contents of the second entry are omitted: pgn1: [Event "?"] [Site "?"] [Date "2021.01.01"] [Number "1"] [White "?"] [Black "?"] [Result "1/2-1/2"] [ECO "B74"] [PlyCount "12"] 1. e4 c5 1/2-1/2 pgn2: [Event "?"] [Site "?"] [Date "2021.01.01"] [Number "1"] [White "?"] [Black "?"] [Result "1/2-1/2"] [ECO "A00"] [PlyCount "12"] 1. g3 e5 1/2-1/2 After doing: polyglot make-book -pgn 1.pgn -min-game 1 -max-ply 12 -bin 1.bin; polyglot make-book -pgn 2.pgn -min-game 1 -max-ply 12 -bin 2.bin; polyglot merge-book -in1 1.bin -in2 2.bin -out combined.bin the 'g3 e5' entry gets scraped. This might be the intended behavior though, but the option implies otherwise. Upstream has a fix, if this could be considered a malfunction, for this: http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=polyglot.git;a=snapshot;h=c65fb132a94062b2e346322678f863d582ad9a9a;sf=tgz (Author of 'Rebel', E. Schröder reported this in the first place) Thank you. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-3-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages polyglot depends on: ii libc6 2.31-9 Versions of packages polyglot recommends: ii stockfish 12-2 polyglot suggests no packages. -- no debconf information