Could this makefile work with new texlive 2018?
seuliang opened this issue · 6 comments
seuliang commented
I see from makefile that you use install-tl-unx to install texlive which will install texlive2018 now.
so i'd like to know could this makefile work with new texlive 2018?
manuels commented
Hi, I'm not sure what you mean by new texlive 2018?
Am 18. April 2019 05:54:03 MESZ schrieb seuliang <notifications@github.com>:
…I see from makefile that you use install-tl-unx to install texlive
which will install texlive2018 now.
so i'd like to know could this makefile work with new texlive 2018?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#59
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
seuliang commented
I mean the latest released texlive version.
from https://github.com/TeX-Live/texlive-source
manuels commented
I don't see any reason why that shouldn't work. Give it a try!
seuliang commented
build problem with latest emscripten.
to fix this, have to add '-s ERROR_ON_UNDEFINED_SYMBOLS=0'
root@84aa8d668380:/src# emcc -v
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.29
clang version 6.0.1 (emscripten 1.38.29 : 1.38.29)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /emsdk_portable/llvm/clang/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
make[3]: Leaving directory '/src/pdftex-1.40.11/build-pdftex/texk/kpathsea/man'
make[2]: Leaving directory '/src/pdftex-1.40.11/build-pdftex/texk/kpathsea'
make[1]: Leaving directory '/src/pdftex-1.40.11/build-pdftex/texk/kpathsea'
opt -strip-debug pdftex-1.40.11/build-pdftex/texk/web2c/pdftex >pdftex.bc
OBJFILES=$(for i in `find pdftex-1.40.11/build-pdftex/texk/web2c/lib pdftex-1.40.11/build-pdftex/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=67108864 -O3 $OBJFILES pdftex.bc -s INVOKE_RUN=0 --pre-js pre.js --post-js post.js -o pdftex-worker.js
shared:INFO: (Emscripten: Running sanity checks)
"/emsdk_portable/llvm/clang/bin/opt" /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/fprintreal.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/version.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/zround.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/eofeoln.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/openclose.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/printversion.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/setupvar.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/basechsuffix.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/chartostring.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/inputint.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/uexit.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/coredump.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/usage.o /src/pdftex-1.40.11/build-pdftex/texk/web2c/lib/input2int.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-version.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xfseek.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-truncate.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-readable.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xbasename.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xmalloc.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xstat.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-atou.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-uppercasify.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-str-llist.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-absolute.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-magstep.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xdirname.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xstrdup.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-elt-dirs.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xcalloc.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-file-p.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-make-suffix.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-tex-hush.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-extend-fname.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-find-suffix.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-hash.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-progname.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-rm-suffix.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-fontmap.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-variable.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-kdefault.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-line.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xfopen.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-tex-glyph.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-path-elt.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xftell.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-proginit.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-tex-make.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-db.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-concatn.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-tilde.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-cnf.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xfseeko.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-getopt1.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-pathsearch.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-str-list.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xrealloc.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-concat3.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-dir.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-tex-file.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-fn.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xopendir.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xftello.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xputenv.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-kpathsea.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-debug.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-expand.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-xgetcwd.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-concat.o /src/pdftex-1.40.11/build-pdftex/texk/kpathsea/libkpathsea_la-getopt.o /src/pdftex.bc /emsdk_portable/data/.cache/asmjs/libc.bc /emsdk_portable/data/.cache/asmjs/libc-wasm.bc /emsdk_portable/data/.cache/asmjs/libdlmalloc.bc /emsdk_portable/data/.cache/asmjs/libpthreads_stub.bc /emsdk_portable/data/.cache/asmjs/libc-extras.bc /tmp/emscripten_temp_ubSkiS_archive_contents/new_f0e60db0.cpp.o /tmp/emscripten_temp_sDT5kF_archive_contents/muldc3_0fe7a6e4.c.o /tmp/emscripten_temp_sDT5kF_archive_contents/mulsc3_1c6f58ff.c.o /emsdk_portable/data/.cache/asmjs/libc++abi.bc -strip-debug -disable-verify -internalize -internalize-public-api-list=main,malloc,free,__errno_location,_get_environ,usleep,htonl,htons,ntohs,_get_tzname,_get_daylight,_get_timezone,__cxa_can_catch,__cxa_is_pointer_type,realloc -globaldce -disable-loop-vectorization -disable-slp-vectorization -vectorize-loops=false -vectorize-slp=false -o /tmp/emscripten_temp_J6wnwt/pdftex-worker.bc
"/emsdk_portable/llvm/clang/bin/llc" /tmp/emscripten_temp_J6wnwt/pdftex-worker.bc -march=js -filetype=asm -o /tmp/tmpdKnvFj.4.js -emscripten-stack-size=5242880 -O3 -emscripten-precise-f32 -emscripten-global-base=1024 -emscripten-no-exit-runtime -emscripten-wasm -emscripten-only-wasm
error: undefined symbol: popen
warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`
Error: Aborting compilation due to previous errors
shared:ERROR: '/emsdk_portable/node/bin/node /emsdk_portable/sdk/src/compiler.js /tmp/tmpz6JSlr.txt /emsdk_portable/sdk/src/library_pthread_stub.js' failed (1)
Makefile:92: recipe for target 'pdftex-worker.js' failed
make: *** [pdftex-worker.js] Error 1
MariusHerget commented
@seuliang Where did you add -s ERROR_ON_UNDEFINED_SYMBOLS=0
?
2xB commented
@PeterCxy has a fork with TexLive 2019: https://github.com/petercxy/texlive.js .