Skip to content

pdftex.bc is not a valid input file  #64

Description

@MariusHerget

When I try to compile texlive.js (from @davidcarlisle: https://github.com/davidcarlisle/texlive.js) I receive the following error message:

create pdftex worker
#OBJFILES=$(for i in `find build/texk/web2c/lib build/texk/kpathsea -name '*.o'` ; do llvm-nm $i | grep main >/dev/null || echo $i ; done) && \                                                                              emcc  --memory-init-file 0 -v --closure 1 -s TOTAL_MEMORY=$((128*1024*1024)) -O3  pdftex.bc -s INVOKE_RUN=0 --pre-js pdftex-pre.js --post-js pdftex-post.js -o pdftex-worker.js -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s SINGLE_FILE=1 -g1
shared:INFO: (Emscripten: Running sanity checks)
emcc: warning: pdftex.bc is not a valid input file [-Winvalid-input]
emcc: error: no input files
note that input files without a known suffix are ignored, make sure your input files end with one of: ('.c', '.i', '.cpp', '.cxx', '.cc', '.c++', '.CPP', '.CXX', '.C', '.CC', '.C++', '.ii', '.m', '.mi', '.mm', '.mii', '/dev/null', '.S', '.bc', '.o', '.obj', '.lo', '.dylib', '.so', '.a', '.ll', '.s', '.h', '.hxx', '.hpp', '.hh', '.H', '.HXX', '.HPP', '.HH')
make: *** [Makefile:90: pdftex-worker.js] Error 1

Environment:

emcc: emcc (Emscripten gcc/clang-like replacement) 1.39.16 (9ecd579ac647c4484e2d9af2ab0bbc1e1505aa95)
texlive: 20200327

Attachments:

pdftex.bc
MakeFile

Any ideas on how to solve this? I need the newest emscripten version with the full latex scheme.

CC: @manuels @fzimmermann89

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions