Closed KonradHoeffner closed 9 months ago
Oh sorry, I didn't found that one because it doesn't contain "warning: internal consistency problem", however could that mean that this is a different issue or are warnings just deactivated in the other issue output?
Yes, seems to be the same issue. I have the same warnings with the project I tested in #1146 (just not as easy to see because of all the other warnings 😅)
If anyone experiencing the issue is willing to try #1155, that should fix the issue by making bibtex correctly close log files on success.
@CraftSpider: I tried your bibtex-fix branch and while cargo vcpkg
reported a failure (see below) I think that is unrelated to the branch, it still built successfully and the issue is indeed fixed, thank you!
cargo vcpkg build bibtex-fix
Cloning https://github.com/microsoft/vcpkg
Checkout rev 4a600e9fea71bd7872080cbb716797e04d30e6d3
Compiling vcpkg
Installing fontconfig freetype harfbuzz[graphite2] icu
-- stdout --
-- stderr --
cargo-vcpkg: failed
paper$ tectonic paper.tex
Running TeX ...
Running BibTeX on paper.aux ...
Rerunning TeX because bibtex was run ...
Rerunning TeX because "paper.aux" changed ...
warning: internal consistency problem when checking if paper.bbl changed
Rerunning TeX because "paper.bbl" changed ...
warning: internal consistency problem when checking if paper.bbl changed
Rerunning TeX because "paper.bbl" changed ...
warning: internal consistency problem when checking if paper.bbl changed
Rerunning TeX because "paper.bbl" changed ...
warning: internal consistency problem when checking if paper.bbl changed
Rerunning TeX because "paper.bbl" changed ...
warning: internal consistency problem when checking if paper.bbl changed
warning: TeX rerun seems needed, but stopping at 6 passes
Running xdvipdfmx ...
warning: ICC profile format spec. version 4.4.0 not supported in current PDF version setting.
warning: ICC profile not embedded.
Writing `paper.pdf` (2.29 MiB)
Skipped writing 3 intermediate files (use --keep-intermediates to keep them)
paper$ ~/tmp/tectonic/target/debug/tectonic --version
tectonic 0.0.0-dev.0Tectonic 0.0.0-dev.0
paper$ ~/tmp/tectonic/target/debug/tectonic paper.tex
Running TeX ...
Running BibTeX on paper.aux ...
Rerunning TeX because bibtex was run ...
Rerunning TeX because "paper.aux" changed ...
Running xdvipdfmx ...
warning: ICC profile format spec. version 4.4.0 not supported in current PDF version setting.
warning: ICC profile not embedded.
Writing `paper.pdf` (2.29 MiB)
Skipped writing 3 intermediat
Should be fixed by #1155, please re-open if that doesn't fix this once released.
tectonic reruns TeX compilation multiple times until it hits the limit of 6 passes, but I have no idea why. This warning seems to be emitted by https://github.com/tectonic-typesetting/tectonic/blob/fed29a8339e09b733a423ccc20bb440363dbc5bc/src/driver.rs#L1364.