Closed TheChymera closed 1 year ago
i think we should create a diff-pdf container image and use that to avoid dependencies across OSs
let's not breed containers. Please just install it within container where needed and be done with that.
Installation fails with:
root@29f327c9372d:/workdir/diff-pdf-0.5.1# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
./configure: line 3802: syntax error near unexpected token `POPPLER,'
./configure: line 3802: `PKG_CHECK_MODULES(POPPLER, glib-2.0 >= 2.36 poppler-glib >= 0.10 cairo-pdf)'
It could be that some poppler dependency is missing, but it would be a strange error to return for that.
I also tried building libpoppler-dev
, libpoppler-glib-dev
, but I keep getting the same error.
Upstream doesn't have an issue tracker, but I also don't think it's their build system being broken. The same source archive builds fine on gentoo...
@yarikoptic any debian-wisdom that might help?
Barring that and in the interest of expediency, I'll try to just record my binary in the repo and COPY
it into the containerfile.
I googled myself into needing to apt install pkgconf
solved in 2462c048e361f8793a567eff50e8b79efb601d03
Currently our builds are failing, on the immediate level due to a Python data processing error, but in fact because the container environment does not have access to
diff-pdf
to generate the data to being with:I checked and debian lacks
diff-pdf
and only seems to havediffpdf
, a similarly named but different and graphical package (I believe we discussed this potential confusion last time we met), which is less well suited to our needs. @yarikoptic am I correct?We might have to download and build the sources in the image manually, or maybe see if someone just distributes prebuild amd64 executables that work for it. I could try to just copy-paste mine... it's only the one file:
Or maybe @yarikoptic wants to make a debian package for it? Alternatively we can just gentoo everything again, it has the package (and everything else we need for the LaTeX part). what do you think @asmacdo ?