FS#74676 - [poppler] latest package update results in build error of pdf-tools for emacs

Attached to Project: Arch Linux
Opened by Stefan Kain (stkain) - Saturday, 07 May 2022, 17:09 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 07 May 2022, 17:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Latest Poppler package breaks compilation of pdf-tools for spacemacs
with the message

./configure -q --bindir=~/.emacs.d/elpa/28.1/develop/pdf-tools-20220426.2203/ && make clean && make -s
configure: error: cannot find necessary poppler-private header (see README.org)

according to the documentation, on ubuntu systems it seems necessary to install a package libpoppler-private-dev
such a package does not exist for archlinux.

With the previous poppler package the compilation worked.

@maintainer: Did you change sth. from previous package to this newest one which results in omitting certain header files?
or is this an upstream problem that has not yet made it to the pdf-tools of emacs/spacemacs?

Additional info:
* package version(s)
poppler 22.05.0-1
pdf-tools 20220426.2203 (from melpa emacs package repository)

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
update via pacman -Syu and then update spacemacs results in the necessity to recompile the pdf-tools --> missing headers
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 07 May 2022, 17:24 GMT
Reason for closing:  Not a bug
Comment by Stefan Kain (stkain) - Saturday, 07 May 2022, 17:21 GMT
Hi,

in order to find out, if it was a breaking change from pdf-tools. I downgraded poppler, poppler-qt and poppler-glib to the previous version 22.03.
Now the compilation of the pdf-tools for emacs works without problem again.
The weird thing is that "pacman -Ql poppler" in order to list the installed package files shows no difference between version 22.03 and 22.05. (??)
I would have expected missing header files for version 22.05.

Bye,
Stefan
Comment by Antonio Rojas (arojas) - Saturday, 07 May 2022, 17:24 GMT
Nothing to do with Arch packaging https://github.com/vedang/pdf-tools/issues/102

Loading...