Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal consistency problem when checking if paper.bbl changed #1150

Closed
KonradHoeffner opened this issue Feb 15, 2024 · 6 comments
Closed

Comments

@KonradHoeffner
Copy link

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

"internal consistency problem when checking if {} changed",
.

/tmp$ git clone git@github.com:annosaxfdm/anno-paper-swj paper
/tmp$ cd paper
paper$ git checkout 1af65946b752e453494f4f806fc7fb7b1f73deb4
paper$ tectonic paper.tex                                                                                                                        heads/master
Running TeX ...
Running BibTeX on paper.aux ...
Rerunning TeX because bibtex was run ...
Rerunning TeX because "paper.out" 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.
@derchr
Copy link
Contributor

derchr commented Feb 15, 2024

Probably it's the same issue as 1146.

@KonradHoeffner
Copy link
Author

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?

@rmgk
Copy link

rmgk commented Feb 19, 2024

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 😅)

@CraftSpider
Copy link
Contributor

If anyone experiencing the issue is willing to try #1155, that should fix the issue by making bibtex correctly close log files on success.

@KonradHoeffner
Copy link
Author

@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 error (probably unrelated, still builds)

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

tectonic from the Arch Linux package

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)

tectonic CraftSpider fork bibtex-fix branch (issue is fixed)

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

@CraftSpider
Copy link
Contributor

Should be fixed by #1155, please re-open if that doesn't fix this once released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants