Package: src:t-code
Version: 2:2.3.1-10
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
(unwind-protect (progn (insert-file-contents (tcode-path-for-read fWrong type
argument: obarrayp, [nil nil nil nil nil nil nil nil nil nil ...]
ile)) (let ((n (count-lines (point-min) (point-max))) (i 0)) (while (not
(eobp)) (if (= 0 (logand i 1023)) (message "kihon-yomi: %d/%d" i n))
(tc-mkmzdic-put-string (buffer-substring (point) (progn (end-of-line)
(point)))) (forward-line) (setq i (1+ i))))) (and (buffer-name temp-buffer)
(kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(insert-file-contents (tcode-path-for-read file)) (let ((n (count-lines
(point-min) (point-max))) (i 0)) (while (not (eobp)) (if (= 0 (logand i 1023))
(message "kihon-yomi: %d/%d" i n)) (tc-mkmzdic-put-string (buffer-substring
(point) (progn (end-of-line) (point)))) (forward-line) (setq i (1+ i))))) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer
(set-buffer temp-buffer) (unwind-protect (progn (insert-file-contents
(tcode-path-for-read file)) (let ((n (count-lines (point-min) (point-max))) (i
0)) (while (not (eobp)) (if (= 0 (logand i 1023)) (message "kihon-yomi: %d/%d"
i n)) (tc-mkmzdic-put-string (buffer-substring (point) (progn (end-of-line)
(point)))) (forward-line) (setq i (1+ i))))) (and (buffer-name temp-buffer)
(kill-buffer temp-buffer)))))
tc-mkmzdic-put-kihon-yomi("pd_kihon.yom")
(let ((coding-system-for-read 'euc-jp) (coding-system-for-write
'euc-jp-unix)) (if (and (file-exists-p outfile) (not (y-or-n-p (format "file %s
already exists. Overwrite?" outfile)))) (error "Canceled."))
(tc-mkmzdic-init-status 'cannot-input) (message "reading certain files")
(tc-mkmzdic-set-status-from-files certains 'certain) (message "reading
uncertain files") (tc-mkmzdic-set-status-from-files uncertains 'uncertain)
(tc-mkmzdic-init-obarray 300000) (message "parsing kihon-yomi")
(tc-mkmzdic-put-kihon-yomi kihon-yomi) (tc-mkmzdic-final-status) (message
"sorting kanji") (tc-mkmzdic-sort-kanji) (message "reading additional dics")
(while mazedics (tc-mkmzdic-put-file (car mazedics)) (setq mazedics (cdr
mazedics))) (let ((temp-buffer (generate-new-buffer " *temp*" t)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(tc-mkmzdic-map-insert-yomi) (goto-char (point-min)) (while (search-forward
"â/" nil t) (replace-match "/" nil t)) (write-region (point-min) (poi
nt-max) outfile)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
(tc-mkmzdic-final-obarray))
tc-mkmzdic("mazegaki.dic" nil ("t225.dat" "t300.dat" "t400.dat" "t450.dat"
"t575.dat" "t675.dat" "t900.dat" "t1200.dat" "t1353.dat") "pd_kihon.yom"
"greece.maz" "itaiji.maz" "jukujiku.maz")
tcode-make-mazegaki-dictionary()
(let (tcode-init-file-name set-auto-coding-function) (load "tc-pre-base")
(provide 'tc-pre) (setq tcode-site-data-directory nil) (load "tc-setup") (setq
tcode-data-directory nil) (progn (setq tcode-mazegaki-certains nil) (setq
tcode-mazegaki-uncertains (list "t225.dat" "t300.dat" "t400.dat" "t450.dat"
"t575.dat" "t675.dat" "t900.dat" "t1200.dat" "t1353.dat")))
(tcode-make-mazegaki-dictionary))
load-with-code-conversion("/<<PKGBUILDDIR>>/mazegaki/mk-mzdic"
"/<<PKGBUILDDIR>>/mazegaki/mk-mzdic" nil t)
command-line-1(("-l" "./mk-mzdic"))
command-line()
normal-top-level()
make[2]: *** [Makefile:481: mazegaki.dic] Error 255
make[2]: Leaving directory '/<<PKGBUILDDIR>>/mazegaki'
make[1]: *** [Makefile:356: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:t-code, so that this is still
visible in the BTS web page for this package.
Thanks.