teaxyz / white-paper

how will the protocol work?
https://whitepaper.tea.xyz/doc/white-paper
4.59k stars 705 forks source link

Trying to build, getting errors #100

Open RyanSinger opened 1 year ago

RyanSinger commented 1 year ago
➜  white-paper git:(main) tea make
pandoc \
--number-sections \
--output tea.white-paper.pdf \
--metadata-file metadata.yml \
--filter pandoc-crossref \
--csl=tea.csl \
--citeproc \
white-paper.md
dyld[4402]: Library not loaded: @rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib
  Referenced from: <78355F91-A5A1-3145-90B0-032999B54B28> /Users/ryan/.tea/freetype.org/v2.12.1/lib/libfreetype.6.18.3.dylib
  Reason: tried: '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/libxml2/v2.10.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/zlib.net/v1.2.13/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/libffi/v3.4.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/bzip2/v1.0.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gettext/v0.21.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pcre.org/v8.45.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libexpat.github.io/v2.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libpng.org/v1.6.39/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pixman.org/v0.40.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/glib/v2.72.4/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/unicode.org/v71.1.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/harfbuzz.org/v5.3.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/fribidi/v1.0.12/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/ijg.org/v9.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gmp/v6.2.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/pango/v1.50.9/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/gdk-pixbuf/v2.42.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/lib/libbz2.1.0.8.dylib' (no such file)
[WARNING] Could not convert image /private/var/folders/tc/z2bvlwpn10x8fl2ckhz8d0180000gn/T/tex2pdf.-c51883df7550d774/img/figure-1.svg: conversion from SVG failed
dyld[4423]: Library not loaded: @rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib
  Referenced from: <78355F91-A5A1-3145-90B0-032999B54B28> /Users/ryan/.tea/freetype.org/v2.12.1/lib/libfreetype.6.18.3.dylib
  Reason: tried: '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/libxml2/v2.10.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/zlib.net/v1.2.13/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/libffi/v3.4.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/bzip2/v1.0.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gettext/v0.21.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pcre.org/v8.45.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libexpat.github.io/v2.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libpng.org/v1.6.39/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pixman.org/v0.40.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/glib/v2.72.4/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/unicode.org/v71.1.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/harfbuzz.org/v5.3.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/fribidi/v1.0.12/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/ijg.org/v9.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gmp/v6.2.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/pango/v1.50.9/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/gdk-pixbuf/v2.42.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/lib/libbz2.1.0.8.dylib' (no such file)
[WARNING] Could not convert image /private/var/folders/tc/z2bvlwpn10x8fl2ckhz8d0180000gn/T/tex2pdf.-c51883df7550d774/img/figure-3.svg: conversion from SVG failed
dyld[4444]: Library not loaded: @rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib
  Referenced from: <78355F91-A5A1-3145-90B0-032999B54B28> /Users/ryan/.tea/freetype.org/v2.12.1/lib/libfreetype.6.18.3.dylib
  Reason: tried: '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/bin/../../../../sourceware.org/bzip2/v1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/libxml2/v2.10.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/zlib.net/v1.2.13/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/libffi/v3.4.3/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/sourceware.org/bzip2/v1.0.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gettext/v0.21.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pcre.org/v8.45.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libexpat.github.io/v2.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/libpng.org/v1.6.39/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/pixman.org/v0.40.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freetype.org/v2.12.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/glib/v2.72.4/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/freedesktop.org/fontconfig/v2.14.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/cairographics.org/v1.16.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/unicode.org/v71.1.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/harfbuzz.org/v5.3.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/fribidi/v1.0.12/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/ijg.org/v9.5.0/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnu.org/gmp/v6.2.1/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/pango/v1.50.9/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/gdk-pixbuf/v2.42.8/lib/libbz2.1.0.8.dylib' (no such file), '/Users/ryan/.tea/gnome.org/librsvg/v2.55.1/lib/libbz2.1.0.8.dylib' (no such file)
[WARNING] Could not convert image /private/var/folders/tc/z2bvlwpn10x8fl2ckhz8d0180000gn/T/tex2pdf.-c51883df7550d774/img/figure-2.svg: conversion from SVG failed
pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device)
make: *** [Makefile:10: tea.white-paper.pdf] Error 1
➜  white-paper git:(main) 
mxcl commented 1 year ago

thanks for the report. It's sadly true that building with tea has a few problems right now. Hopefully will be fixed soonish.

darthwalsh commented 1 year ago

I got the same error pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device) but without the warnings:

% tea make
pandoc \
--number-sections \
--output tea.white-paper.pdf \
--metadata-file metadata.yml \
--filter pandoc-crossref \
--csl=tea.csl \
--citeproc \
white-paper.md
pandoc: pdflatex: createProcess: posix_spawnp: illegal operation (Inappropriate ioctl for device)
make: *** [Makefile:10: tea.white-paper.pdf] Error 1