The port fails to build using poudriere on stable-13.1 amd64 with the error symbol's function definition is void: batch-update-autoloads. Below is an excerpt of the build log indicating the error: In pdf-virtual-document-previous-matching-page: /wrkdirs/usr/ports/print/pdf-tools/work-full/pdf-tools-1.1.0/lisp/pdf-virtual.el:405:13: Warning: Stray `declare' form: (declare (indent 1)) /usr/local/bin/emacs-29.1 -q --batch --eval "(setq generated-autoload-file \"/wrkdirs/usr/ports/print/pdf-tools/work-full/pdf-tools-1.1.0/lisp/pdf-tools-loaddefs.el\" backup-inhibited t)" -f batch-update-autoloads /wrkdirs/usr/ports/print/pdf-tools/work-full/pdf-tools-1.1.0/lisp Symbol's function definition is void: batch-update-autoloads Error: void-function (batch-update-autoloads) mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0x1d09c477e512f84>)) debug-early-backtrace() debug-early(error (void-function batch-update-autoloads)) batch-update-autoloads() command-line-1(("--eval" "(setq generated-autoload-file \"/wrkdirs/usr/ports/print/pdf-tools/work-full/pdf-tools-1.1.0/lisp/pdf-tools-loaddefs.el\" backup-inhibited t)" "-f" "batch-update-autoloads" "/wrkdirs/usr/ports/print/pdf-tools/work-full/pdf-tools-1.1.0/lisp")) command-line() normal-top-level() *** Error code 255 Stop. make: stopped in /usr/ports/print/pdf-tools =>> Cleaning up wrkdir ===> Cleaning for pdf-tools-1.1.0_1 build of print/pdf-tools@full | pdf-tools-1.1.0_1 ended at Sun Aug 20 16:59:11 EDT 2023 build time: 00:00:48 !!! build failure encountered !!!
13.1 is unsupported and it builds fine on 13.2 (amd64) using a quite recent tree
sorry i mistyped the bug report, it does not build using 13.2 stable.
I can reproduce with 13.2. It's almost certainly related to the update of editors/emacs to 29.1 in ba4eb3a50e909d902a6e031e4c3477ed369799d2.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2020d4d00fff79b84b7238bc58d80be17efab731 commit 2020d4d00fff79b84b7238bc58d80be17efab731 Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2023-08-21 01:59:21 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2023-08-21 01:59:21 +0000 print/pdf-tools: Fix build after editors/emacs update to 29.1 PR: 273249 Reported by: Robert Cina <transitive@gmail.com> Sponsored by: The FreeBSD Foundation print/pdf-tools/Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
(In reply to commit-hook from comment #4) Could you confirm the above fixes the build and runtime looks good again?
I can confirm that the patch compiles and builds with poudriere on my 13.2 stable system. Thanks for the quick fix.
(In reply to Robert Cina from comment #6) Thanks!