Skip to content

'make' fails due to missing font #8611

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

Closed
graue opened this issue Aug 19, 2013 · 2 comments
Closed

'make' fails due to missing font #8611

graue opened this issue Aug 19, 2013 · 2 comments

Comments

@graue
Copy link

graue commented Aug 19, 2013

Hi, I'm attempting to build Rust master (557ff04) on Ubuntu 12.10. Building and linking the actual compiler seems to work fine, but make fails because it can't create rust.pdf due to a missing font:

pandoc: doc/rust.html
version-stamp: doc/version.md
pandoc: doc/rust.tex
pandoc: doc/rustpkg.html
pandoc: doc/tutorial.html
pandoc: doc/tutorial-macros.html
pandoc: doc/tutorial-container.html
pandoc: doc/tutorial-ffi.html
pandoc: doc/tutorial-borrowed-ptr.html
pandoc: doc/tutorial-tasks.html
pdflatex: doc/rust.pdf
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
 restricted \write18 enabled.
entering extended mode

kpathsea: Running mktextfm ecrm1000
/usr/share/texlive/texmf/web2c/mktexnam: Could not map source abbreviation  for ecrm1000.
/usr/share/texlive/texmf/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000
This is METAFONT, Version 2.718281 (TeX Live 2012/Debian)


kpathsea: Running mktexmf ecrm1000
! I can't find file `ecrm1000'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1000

Transcript written on mfput.log.
grep: ecrm1000.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1000' failed to make ecrm1000.tfm.
kpathsea: Appending font creation commands to missfont.log.
make: *** [doc/rust.pdf] Error 1

I was able to work around this with sudo apt-get install texlive-latex-recommended, but surely a missing font shouldn't bring down the whole build process? At least, it would be nice to document the dependency, and/or provide a way to build Rust without building documentation (which I will just read on the website anyway).

@lilyball
Copy link
Contributor

You can build Rust without the documentation by passing --disable-docs to ./configure

@catamorphism
Copy link
Contributor

This sounds like the same issue as #3989; closing.

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 7, 2022
… r=llogiq

Handle relative paths in module_files lints

The problem being that when clippy is run in the project's directory `lp` would be a relative path, this wasn't caught by the tests as there `lp` is an absolute path. Being a relative path it did not start with `trim_src_path` and so was ignored

Also allowed the removal of some `.to_os_string`/`.to_owned`s

changelog: Fixes [`self_named_module_files`] and [`mod_module_files`] not linting

Fixes rust-lang#8123, cc `@DevinR528`
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

3 participants