con / opfvta-reexecution

Container-based Replication of https://doi.org/10.1038/s41398-022-01812-5
Apache License 2.0
1 stars 1 forks source link

cannot build the paper: No rule to make target #21

Closed yarikoptic closed 1 year ago

yarikoptic commented 1 year ago
❯ make container-article
podman run --rm -i --net=none -v "/home/yoh/proj/CON/opfvta-replication-2023/paper/source":/data:Z --user=":" "docker.io/asmacdo/latex-biber:0.0.0-alpha" latexmk -pdf -pdflatex="xelatex -interaction=nonstopmode -shell-escape" -use-make /data/article.tex -f
Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
Latexmk: 'pdflatex': source 'data/topology' doesn't exist.
   I'll try making it with allowed extensions 
------------
Running 'make "data/topology.tex"'
------------
make: *** No rule to make target 'data/topology.tex'.  Stop.
------------
Running 'make "data/topology.png"'
------------
make: *** No rule to make target 'data/topology.png'.  Stop.
------------
Running 'make "data/topology.jpg"'
------------
make: *** No rule to make target 'data/topology.jpg'.  Stop.
------------
Running 'make "data/topology.pdf"'
------------
cd data; dot -Tpdf topology.dot -o topology.pdf 2>| topology.log
Makefile:46: recipe for target 'data/topology.pdf' failed
make: *** [data/topology.pdf] Error 127
Latexmk: All targets (article.pdf) are up-to-date
find . -type f -name 'article*' ! -name '*.py' ! -name '*.tex' -exec mv -f {} ../generated/ \;
make container-article  1.09s user 3.97s system 69% cpu 7.257 total
yarikoptic commented 1 year ago

reproduced by CI now in https://github.com/con/opfvta-replication-2023/actions/runs/5555909136/jobs/10147702340

   I'll try making it with allowed extensions 
make: *** No rule to make target 'data/topology.tex'.  Stop.
------------
Running 'make "data/topology.jpg"'
------------
make: *** No rule to make target 'data/topology.jpg'.  Stop.
------------
Running 'make "data/topology.pdf"'
------------
pushd data; dot -Tpdf topology.dot -o topology.pdf 2> topology.log
/data/data /data
TheChymera commented 1 year ago

I think this is an issue with the container generation. make article works here, but make container-article fails.

The errors you're getting aren't from make but from latexmk, and most of them don't matter.

Running 'make "data/topology.tex"'
------------
make: *** No rule to make target 'data/topology.tex'.  Stop.
------------
Running 'make "data/topology.png"'
------------
make: *** No rule to make target 'data/topology.png'.  Stop.
------------
Running 'make "data/topology.jpg"'
------------
make: *** No rule to make target 'data/topology.jpg'.  Stop.
------------
Running 'make "data/topology.pdf"'

What's happening here is that latexmk sees https://github.com/con/opfvta-replication-2023/blob/6259ad99e36fa7c3d9e0c4df426244d07dcd6797/paper/source/results.tex#L15 , finds no file, and tries all available formats.

None of these errors are fatal, and the ones which end with Stop aren't even relevant.

The one that is relevant is the one that fails:

pushd data; dot -Tpdf topology.dot -o topology.pdf 2> topology.log
/data/data /data
make: *** [data/topology.pdf] Error 127
Makefile:46: recipe for target 'data/topology.pdf' failed

Because here we have a target but it's not working. Need to figure out why.

TheChymera commented 1 year ago

@asmacdo @yarikoptic do you know what Debian package name will provide the dot executable from graphviz? I looked it up initially, and I'm pretty sure it's supposed to be graphviz (it's also graphviz in Gentoo), but I think our container ends up not covering that dependency:

[deco]~/docsrc/opfvta-replication-2023/paper/source ❱ stat data/topology.log
stat: cannot statx 'data/topology.log': No such file or directory
[deco]~/docsrc/opfvta-replication-2023/paper/source ❱ make container-article > /dev/null
WARN[0000] Found incomplete layer "3a1c59bbe1f81db291dac1dde46816170da3504f44f1870c912a4096e7032929", deleting it
Latexmk: This is Latexmk, John Collins, 1 January 2015, version: 4.41.
------------
Running 'make "data/topology.jpg"'
------------
make: *** No rule to make target 'data/topology.jpg'.  Stop.
------------
Running 'make "data/topology.pdf"'
------------
make: *** [data/topology.pdf] Error 127
------------
Running 'make "data/topology.png"'
------------
make: *** No rule to make target 'data/topology.png'.  Stop.
------------
Running 'make "data/topology.tex"'
------------
make: *** No rule to make target 'data/topology.tex'.  Stop.
[deco]~/docsrc/opfvta-replication-2023/paper/source ❱ cat data/topology.log
/bin/bash: dot: command not found
[deco]~/docsrc/opfvta-replication-2023/paper/source ❱ cat ../../code/images/Containerfile.latex
FROM blang/latex:ubuntu

RUN apt-get update
RUN apt-get install biber -y
RUN apt-get install graphviz -y

In any case, that's our error. Everything else is latexmk trying out different fallbacks.

yarikoptic commented 1 year ago

it is graphviz: https://packages.debian.org/search?searchon=contents&keywords=%2Fusr%2Fbin%2Fdot&mode=path&suite=stable&arch=any

not sure about complaint that dot not found - but errors above seems due to missing Makefile rules to compile those types.

to troubleshoot/resolve next time please just try to reproduce/understand what the issue is by e.g.

recreating the container env manually following those steps ```shell $> docker run -it --rm blang/latex:ubuntu Unable to find image 'blang/latex:ubuntu' locally ubuntu: Pulling from blang/latex 8f7c85c2269a: Pull complete 9e72e494a6dd: Pull complete 3009ec50c887: Pull complete 9d5ffccbec91: Pull complete e872a2642ce1: Pull complete 3938b5a77078: Pull complete 3c99e64a9a25: Pull complete Digest: sha256:2c32abc3555a01e180528d542955e2730f7f3793cdeba49b1655de9b897cbafb Status: Downloaded newer image for blang/latex:ubuntu root@3815e9c3ac44:/data# apt-get update Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [99.8 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [97.4 kB] Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [99.8 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9802 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1558 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9827 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB] Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [550 kB] Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [257 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2560 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [16.4 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1545 kB] Get:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [2052 kB] Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [25.0 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [10.9 kB] Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [12.7 kB] Get:19 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [15.9 kB] Get:20 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [985 kB] Get:21 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [8820 B] Fetched 30.0 MB in 2s (13.0 MB/s) Reading package lists... Done root@3815e9c3ac44:/data# apt-get install biber graphviz -y Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: fonts-liberation libautovivification-perl libbtparse1 libbusiness-isbn-data-perl libbusiness-isbn-perl libbusiness-ismn-perl libbusiness-issn-perl libcdt5 libcgraph6 libclass-accessor-perl libdata-compare-perl libdata-dump-perl libdata-uniqid-perl libdate-simple-perl libencode-eucjpms-perl libencode-hanextra-perl libencode-jis2k-perl libexporter-tiny-perl libfile-find-rule-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-slurp-unicode-perl libgvc6 libgvpr2 libipc-run3-perl liblist-allutils-perl liblist-moreutils-perl liblog-log4perl-perl libmime-charset-perl libnumber-compare-perl libpathplan4 libreadonly-perl libregexp-common-perl libscalar-list-utils-perl libsombok3 libsub-name-perl libtext-bibtex-perl libtext-glob-perl libtext-roman-perl libtie-cycle-perl libunicode-collate-perl libunicode-linebreak-perl libxml-libxml-simple-perl libxml-libxslt-perl libxml-writer-perl libxslt1.1 Suggested packages: graphviz-doc libgd-barcode-perl libscalar-properties-perl libdbd-csv-perl libxml-dom-perl liblog-dispatch-perl libipc-shareable-perl libpod2-base-perl The following NEW packages will be installed: biber fonts-liberation graphviz libautovivification-perl libbtparse1 libbusiness-isbn-data-perl libbusiness-isbn-perl libbusiness-ismn-perl libbusiness-issn-perl libcdt5 libcgraph6 libclass-accessor-perl libdata-compare-perl libdata-dump-perl libdata-uniqid-perl libdate-simple-perl libencode-eucjpms-perl libencode-hanextra-perl libencode-jis2k-perl libexporter-tiny-perl libfile-find-rule-perl libfile-slurp-perl libfile-slurp-tiny-perl libfile-slurp-unicode-perl libgvc6 libgvpr2 libipc-run3-perl liblist-allutils-perl liblist-moreutils-perl liblog-log4perl-perl libmime-charset-perl libnumber-compare-perl libpathplan4 libreadonly-perl libregexp-common-perl libscalar-list-utils-perl libsombok3 libsub-name-perl libtext-bibtex-perl libtext-glob-perl libtext-roman-perl libtie-cycle-perl libunicode-collate-perl libunicode-linebreak-perl libxml-libxml-simple-perl libxml-libxslt-perl libxml-writer-perl libxslt1.1 0 upgraded, 48 newly installed, 0 to remove and 199 not upgraded. Need to get 6985 kB of archives. After this operation, 40.9 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libautovivification-perl amd64 0.16-1build1 [21.2 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libsub-name-perl amd64 0.14-1build1 [10.8 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libclass-accessor-perl all 0.34-1 [26.0 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libnumber-compare-perl all 0.03-1 [7318 B] Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtext-glob-perl all 0.09-2 [8016 B] Get:6 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfile-find-rule-perl all 0.34-1 [28.3 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libdata-compare-perl all 1.25-0.1 [17.9 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libdata-dump-perl all 1.23-1 [27.0 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libdata-uniqid-perl all 0.12-1 [5176 B] Get:10 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libdate-simple-perl amd64 3.0300-1build2 [32.2 kB] Get:11 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libencode-eucjpms-perl amd64 0.07-3build3 [144 kB] Get:12 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libencode-hanextra-perl amd64 0.23-4build1 [1515 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libencode-jis2k-perl amd64 0.03-1build1 [316 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfile-slurp-perl all 9999.19-4 [41.3 kB] Get:15 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfile-slurp-unicode-perl all 0.7.1-2 [7206 B] Get:16 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libipc-run3-perl all 0.048-1 [34.8 kB] Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 libexporter-tiny-perl all 0.042-1 [28.8 kB] Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblist-moreutils-perl amd64 0.413-1build1 [67.0 kB] Get:19 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libscalar-list-utils-perl amd64 1:1.43-1 [45.0 kB] Get:20 http://archive.ubuntu.com/ubuntu xenial/universe amd64 liblist-allutils-perl all 0.09-1 [19.6 kB] Get:21 http://archive.ubuntu.com/ubuntu xenial/universe amd64 liblog-log4perl-perl all 1.44-1ubuntu1 [403 kB] Get:22 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libreadonly-perl all 2.000-2 [18.6 kB] Get:23 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libregexp-common-perl all 2016020301-1 [138 kB] Get:24 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libbtparse1 amd64 0.71-1build1 [37.2 kB] Get:25 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtext-bibtex-perl amd64 0.71-1build1 [126 kB] Get:26 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtext-roman-perl all 3.5-1 [12.8 kB] Get:27 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libunicode-collate-perl amd64 1.14-1build1 [538 kB] Get:28 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libsombok3 amd64 2.4.0-1 [27.2 kB] Get:29 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libmime-charset-perl all 1.012-1 [29.6 kB] Get:30 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libunicode-linebreak-perl amd64 0.0.20151201-1build1 [96.8 kB] Get:31 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libfile-slurp-tiny-perl all 0.003-1 [6560 B] Get:32 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libxml-libxml-simple-perl all 0.95-1 [22.6 kB] Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.3 [146 kB] Get:34 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libxml-libxslt-perl amd64 1.94-2build1 [39.3 kB] Get:35 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libxml-writer-perl all 0.625-1 [24.9 kB] Get:36 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libbusiness-isbn-data-perl all 20140910.003-1 [17.9 kB] Get:37 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libbusiness-isbn-perl all 2.010-1ubuntu2 [18.0 kB] Get:38 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libtie-cycle-perl all 1.221-1 [6170 B] Get:39 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libbusiness-ismn-perl all 1.13-1 [14.5 kB] Get:40 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libbusiness-issn-perl all 0.91-2 [7864 B] Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 biber all 2.4-1ubuntu1.16.04.1 [487 kB] Get:42 http://archive.ubuntu.com/ubuntu xenial/main amd64 fonts-liberation all 1.07.4-1 [829 kB] Get:43 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcdt5 amd64 2.38.0-12ubuntu2.1 [23.4 kB] Get:44 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcgraph6 amd64 2.38.0-12ubuntu2.1 [43.6 kB] Get:45 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpathplan4 amd64 2.38.0-12ubuntu2.1 [26.6 kB] Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgvc6 amd64 2.38.0-12ubuntu2.1 [591 kB] Get:47 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgvpr2 amd64 2.38.0-12ubuntu2.1 [170 kB] Get:48 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 graphviz amd64 2.38.0-12ubuntu2.1 [680 kB] Fetched 6985 kB in 1s (4029 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libautovivification-perl. (Reading database ... 173646 files and directories currently installed.) Preparing to unpack .../libautovivification-perl_0.16-1build1_amd64.deb ... Unpacking libautovivification-perl (0.16-1build1) ... Selecting previously unselected package libsub-name-perl. Preparing to unpack .../libsub-name-perl_0.14-1build1_amd64.deb ... Unpacking libsub-name-perl (0.14-1build1) ... Selecting previously unselected package libclass-accessor-perl. Preparing to unpack .../libclass-accessor-perl_0.34-1_all.deb ... Unpacking libclass-accessor-perl (0.34-1) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../libnumber-compare-perl_0.03-1_all.deb ... Unpacking libnumber-compare-perl (0.03-1) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../libtext-glob-perl_0.09-2_all.deb ... Unpacking libtext-glob-perl (0.09-2) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package libdata-compare-perl. Preparing to unpack .../libdata-compare-perl_1.25-0.1_all.deb ... Unpacking libdata-compare-perl (1.25-0.1) ... Selecting previously unselected package libdata-dump-perl. Preparing to unpack .../libdata-dump-perl_1.23-1_all.deb ... Unpacking libdata-dump-perl (1.23-1) ... Selecting previously unselected package libdata-uniqid-perl. Preparing to unpack .../libdata-uniqid-perl_0.12-1_all.deb ... Unpacking libdata-uniqid-perl (0.12-1) ... Selecting previously unselected package libdate-simple-perl. Preparing to unpack .../libdate-simple-perl_3.0300-1build2_amd64.deb ... Unpacking libdate-simple-perl (3.0300-1build2) ... Selecting previously unselected package libencode-eucjpms-perl. Preparing to unpack .../libencode-eucjpms-perl_0.07-3build3_amd64.deb ... Unpacking libencode-eucjpms-perl (0.07-3build3) ... Selecting previously unselected package libencode-hanextra-perl. Preparing to unpack .../libencode-hanextra-perl_0.23-4build1_amd64.deb ... Unpacking libencode-hanextra-perl (0.23-4build1) ... Selecting previously unselected package libencode-jis2k-perl. Preparing to unpack .../libencode-jis2k-perl_0.03-1build1_amd64.deb ... Unpacking libencode-jis2k-perl (0.03-1build1) ... Selecting previously unselected package libfile-slurp-perl. Preparing to unpack .../libfile-slurp-perl_9999.19-4_all.deb ... Unpacking libfile-slurp-perl (9999.19-4) ... Selecting previously unselected package libfile-slurp-unicode-perl. Preparing to unpack .../libfile-slurp-unicode-perl_0.7.1-2_all.deb ... Unpacking libfile-slurp-unicode-perl (0.7.1-2) ... Selecting previously unselected package libipc-run3-perl. Preparing to unpack .../libipc-run3-perl_0.048-1_all.deb ... Unpacking libipc-run3-perl (0.048-1) ... Selecting previously unselected package libexporter-tiny-perl. Preparing to unpack .../libexporter-tiny-perl_0.042-1_all.deb ... Unpacking libexporter-tiny-perl (0.042-1) ... Selecting previously unselected package liblist-moreutils-perl. Preparing to unpack .../liblist-moreutils-perl_0.413-1build1_amd64.deb ... Unpacking liblist-moreutils-perl (0.413-1build1) ... Selecting previously unselected package libscalar-list-utils-perl. Preparing to unpack .../libscalar-list-utils-perl_1%3a1.43-1_amd64.deb ... Unpacking libscalar-list-utils-perl (1:1.43-1) ... Selecting previously unselected package liblist-allutils-perl. Preparing to unpack .../liblist-allutils-perl_0.09-1_all.deb ... Unpacking liblist-allutils-perl (0.09-1) ... Selecting previously unselected package liblog-log4perl-perl. Preparing to unpack .../liblog-log4perl-perl_1.44-1ubuntu1_all.deb ... Unpacking liblog-log4perl-perl (1.44-1ubuntu1) ... Selecting previously unselected package libreadonly-perl. Preparing to unpack .../libreadonly-perl_2.000-2_all.deb ... Unpacking libreadonly-perl (2.000-2) ... Selecting previously unselected package libregexp-common-perl. Preparing to unpack .../libregexp-common-perl_2016020301-1_all.deb ... Unpacking libregexp-common-perl (2016020301-1) ... Selecting previously unselected package libbtparse1. Preparing to unpack .../libbtparse1_0.71-1build1_amd64.deb ... Unpacking libbtparse1 (0.71-1build1) ... Selecting previously unselected package libtext-bibtex-perl. Preparing to unpack .../libtext-bibtex-perl_0.71-1build1_amd64.deb ... Unpacking libtext-bibtex-perl (0.71-1build1) ... Selecting previously unselected package libtext-roman-perl. Preparing to unpack .../libtext-roman-perl_3.5-1_all.deb ... Unpacking libtext-roman-perl (3.5-1) ... Selecting previously unselected package libunicode-collate-perl. Preparing to unpack .../libunicode-collate-perl_1.14-1build1_amd64.deb ... Unpacking libunicode-collate-perl (1.14-1build1) ... Selecting previously unselected package libsombok3:amd64. Preparing to unpack .../libsombok3_2.4.0-1_amd64.deb ... Unpacking libsombok3:amd64 (2.4.0-1) ... Selecting previously unselected package libmime-charset-perl. Preparing to unpack .../libmime-charset-perl_1.012-1_all.deb ... Unpacking libmime-charset-perl (1.012-1) ... Selecting previously unselected package libunicode-linebreak-perl. Preparing to unpack .../libunicode-linebreak-perl_0.0.20151201-1build1_amd64.deb ... Unpacking libunicode-linebreak-perl (0.0.20151201-1build1) ... Selecting previously unselected package libfile-slurp-tiny-perl. Preparing to unpack .../libfile-slurp-tiny-perl_0.003-1_all.deb ... Unpacking libfile-slurp-tiny-perl (0.003-1) ... Selecting previously unselected package libxml-libxml-simple-perl. Preparing to unpack .../libxml-libxml-simple-perl_0.95-1_all.deb ... Unpacking libxml-libxml-simple-perl (0.95-1) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.3_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.3) ... Selecting previously unselected package libxml-libxslt-perl. Preparing to unpack .../libxml-libxslt-perl_1.94-2build1_amd64.deb ... Unpacking libxml-libxslt-perl (1.94-2build1) ... Selecting previously unselected package libxml-writer-perl. Preparing to unpack .../libxml-writer-perl_0.625-1_all.deb ... Unpacking libxml-writer-perl (0.625-1) ... Selecting previously unselected package libbusiness-isbn-data-perl. Preparing to unpack .../libbusiness-isbn-data-perl_20140910.003-1_all.deb ... Unpacking libbusiness-isbn-data-perl (20140910.003-1) ... Selecting previously unselected package libbusiness-isbn-perl. Preparing to unpack .../libbusiness-isbn-perl_2.010-1ubuntu2_all.deb ... Unpacking libbusiness-isbn-perl (2.010-1ubuntu2) ... Selecting previously unselected package libtie-cycle-perl. Preparing to unpack .../libtie-cycle-perl_1.221-1_all.deb ... Unpacking libtie-cycle-perl (1.221-1) ... Selecting previously unselected package libbusiness-ismn-perl. Preparing to unpack .../libbusiness-ismn-perl_1.13-1_all.deb ... Unpacking libbusiness-ismn-perl (1.13-1) ... Selecting previously unselected package libbusiness-issn-perl. Preparing to unpack .../libbusiness-issn-perl_0.91-2_all.deb ... Unpacking libbusiness-issn-perl (0.91-2) ... Selecting previously unselected package biber. Preparing to unpack .../biber_2.4-1ubuntu1.16.04.1_all.deb ... Unpacking biber (2.4-1ubuntu1.16.04.1) ... Selecting previously unselected package fonts-liberation. Preparing to unpack .../fonts-liberation_1.07.4-1_all.deb ... Unpacking fonts-liberation (1.07.4-1) ... Selecting previously unselected package libcdt5. Preparing to unpack .../libcdt5_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking libcdt5 (2.38.0-12ubuntu2.1) ... Selecting previously unselected package libcgraph6. Preparing to unpack .../libcgraph6_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking libcgraph6 (2.38.0-12ubuntu2.1) ... Selecting previously unselected package libpathplan4. Preparing to unpack .../libpathplan4_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking libpathplan4 (2.38.0-12ubuntu2.1) ... Selecting previously unselected package libgvc6. Preparing to unpack .../libgvc6_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking libgvc6 (2.38.0-12ubuntu2.1) ... Selecting previously unselected package libgvpr2. Preparing to unpack .../libgvpr2_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking libgvpr2 (2.38.0-12ubuntu2.1) ... Selecting previously unselected package graphviz. Preparing to unpack .../graphviz_2.38.0-12ubuntu2.1_amd64.deb ... Unpacking graphviz (2.38.0-12ubuntu2.1) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... Processing triggers for tex-common (6.04) ... Running mktexlsr. This may take some time... done. Running mtxrun --generate. This may take some time... done. Processing triggers for fontconfig (2.11.94-0ubuntu1.1) ... Setting up libautovivification-perl (0.16-1build1) ... Setting up libsub-name-perl (0.14-1build1) ... Setting up libclass-accessor-perl (0.34-1) ... Setting up libnumber-compare-perl (0.03-1) ... Setting up libtext-glob-perl (0.09-2) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up libdata-compare-perl (1.25-0.1) ... Setting up libdata-dump-perl (1.23-1) ... Setting up libdata-uniqid-perl (0.12-1) ... Setting up libdate-simple-perl (3.0300-1build2) ... Setting up libencode-eucjpms-perl (0.07-3build3) ... Setting up libencode-hanextra-perl (0.23-4build1) ... Setting up libencode-jis2k-perl (0.03-1build1) ... Setting up libfile-slurp-perl (9999.19-4) ... Setting up libfile-slurp-unicode-perl (0.7.1-2) ... Setting up libipc-run3-perl (0.048-1) ... Setting up libexporter-tiny-perl (0.042-1) ... Setting up liblist-moreutils-perl (0.413-1build1) ... Setting up libscalar-list-utils-perl (1:1.43-1) ... Setting up liblist-allutils-perl (0.09-1) ... Setting up liblog-log4perl-perl (1.44-1ubuntu1) ... Setting up libreadonly-perl (2.000-2) ... Setting up libregexp-common-perl (2016020301-1) ... Setting up libbtparse1 (0.71-1build1) ... Setting up libtext-bibtex-perl (0.71-1build1) ... Setting up libtext-roman-perl (3.5-1) ... Setting up libunicode-collate-perl (1.14-1build1) ... Setting up libsombok3:amd64 (2.4.0-1) ... Setting up libmime-charset-perl (1.012-1) ... Setting up libunicode-linebreak-perl (0.0.20151201-1build1) ... Setting up libfile-slurp-tiny-perl (0.003-1) ... Setting up libxml-libxml-simple-perl (0.95-1) ... Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.3) ... Setting up libxml-libxslt-perl (1.94-2build1) ... Setting up libxml-writer-perl (0.625-1) ... Setting up libbusiness-isbn-data-perl (20140910.003-1) ... Setting up libbusiness-isbn-perl (2.010-1ubuntu2) ... Setting up libtie-cycle-perl (1.221-1) ... Setting up libbusiness-ismn-perl (1.13-1) ... Setting up libbusiness-issn-perl (0.91-2) ... Setting up biber (2.4-1ubuntu1.16.04.1) ... Setting up fonts-liberation (1.07.4-1) ... Setting up libcdt5 (2.38.0-12ubuntu2.1) ... Setting up libcgraph6 (2.38.0-12ubuntu2.1) ... Setting up libpathplan4 (2.38.0-12ubuntu2.1) ... Setting up libgvc6 (2.38.0-12ubuntu2.1) ... Setting up libgvpr2 (2.38.0-12ubuntu2.1) ... Setting up graphviz (2.38.0-12ubuntu2.1) ... Processing triggers for libc-bin (2.23-0ubuntu9) ... root@3815e9c3ac44:/data# which -a dot /usr/bin/dot root@3815e9c3ac44:/data# dot ^Croot@3815e9c3ac44:/data# dot --help Error: dot: option -- unrecognized Usage: dot [-Vv?] [-(GNE)name=val] [-(KTlso)] (additional options for neato) [-x] [-n] (additional options for fdp) [-L(gO)] [-L(nUCT)] (additional options for memtest) [-m] (additional options for config) [-cv] -V - Print version and exit -v - Enable verbose mode -Gname=val - Set graph attribute 'name' to 'val' -Nname=val - Set node attribute 'name' to 'val' -Ename=val - Set edge attribute 'name' to 'val' -Tv - Set output format to 'v' -Kv - Set layout engine to 'v' (overrides default based on command name) -lv - Use external library 'v' -ofile - Write output to 'file' -O - Automatically generate an output filename based on the input filename with a .'format' appended. (Causes all -ofile options to be ignored.) -P - Internally generate a graph of the current plugins. -q[l] - Set level of message suppression (=1) -s[v] - Scale input by 'v' (=72) -y - Invert y coordinate in output -n[v] - No layout mode 'v' (=1) -x - Reduce graph -Lg - Don't use grid -LO - Use old attractive force -Ln - Set number of iterations to i -LU - Set unscaled factor to i -LC - Set overlap expansion factor to v -LT[*] - Set temperature (temperature factor) to v -m - Memory test (Observe no growth with top. Kill when done.) -m[v] - Memory test - v iterations. -c - Configure plugins (Writes $prefix/lib/graphviz/config with available plugin information. Needs write privilege.) -? - Print usage and exit ```

to see that dot is installed just fine and that it means that problem is different... try running using that image:

❯ podman run --rm -it --net=none -v "$PWD":/data:Z --user="$(id -u):$(id -g)" docker.io/asmacdo/latex-biber:0.0.0-alpha
bash: /data/.bashrc: Permission denied
47521@51c1afb72380:~$ which -a dot
47521@51c1afb72380:~$ apt-cache policy graphviz
graphviz:
  Installed: (none)
  Candidate: 2.38.0-12ubuntu2.1
  Version table:
     2.38.0-12ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     2.38.0-12ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
47521@51c1afb72380:~$ 

so the image which @asmacdo shared has no graphviz installed - how come?

TheChymera commented 1 year ago

but errors above seems due to missing Makefile rules to compile those types.

Yep, as I was saying, it's auto-generated make commands by latexmk, it sees the \includegraphics command, and tries to go through all conceivable extensions and find something to make. As long as one of them works, it's fine. The issue is purely that dot is not found.

TheChymera commented 1 year ago

solved as part of the 2023-07-17 paperthon