With Waf 2.0, Python 2.7 in Alpine 3.11 we get the failure below. (Waf 1.9.15, Python 2.7 works fine.)
Maybe bisect Waf commits to figure out where it broke our build? Might suggest a fix.
=> [stage-1 13/14] RUN --mount=type=cache,src=/tmp/ccache,target=/tmp/ccache,id=ccache,from=cachebase ./waf configure --static --release || { 3.8s
=> ERROR [stage-1 14/14] RUN --mount=type=cache,src=/tmp/ccache,target=/tmp/ccache,id=ccache,from=cachebase ./waf build 2.2s
------
> [stage-1 14/14] RUN --mount=type=cache,src=/tmp/ccache,target=/tmp/ccache,id=ccache,from=cachebase ./waf build:
#21 0.854 Waf: Entering directory `/src/build'
#21 0.880 [0/3] Compiling src/syscall-reporter.cpp
#21 1.508 [1/3] Compiling src/main.cpp
#21 1.549 [2/3] Linking build/pdf2msgpack
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: warning: relocation against `globalParams' in read-only section `.text.startup'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::default_delete<PDFDoc>::operator()(PDFDoc*) const':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:81: undefined reference to `PDFDoc::~PDFDoc()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Catalog::numEmbeddedFiles()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Catalog.h:178: undefined reference to `Catalog::getEmbeddedFileNameTree()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Catalog.h:178: undefined reference to `Catalog::getEmbeddedFileNameTree()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_meta_embedded_files(Catalog*)':
#21 2.012 /src/build/../src/main.cpp:245: undefined reference to `Catalog::embeddedFile(int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:246: undefined reference to `FileSpec::getEmbeddedFile()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Catalog::numEmbeddedFiles()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Catalog.h:178: undefined reference to `Catalog::getEmbeddedFileNameTree()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::isString() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `render_annotations(std::unique_ptr<Gfx, std::default_delete<Gfx> >&, Annots*)':
#21 2.012 /src/build/../src/main.cpp:312: undefined reference to `Gfx::saveState()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::_MakeUniq<TextOutputDev>::__single_object std::make_unique<TextOutputDev, decltype(nullptr), bool, int, bool, bool>(decltype(nullptr)&&, bool&&, int&&, bool&&, bool&&)':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:849: undefined reference to `TextOutputDev::TextOutputDev(char const*, bool, double, bool, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `page_to_text_page(Page*)':
#21 2.012 /src/build/../src/main.cpp:331: undefined reference to `Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, XRef*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:333: undefined reference to `Gfx::saveState()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:334: undefined reference to `Page::display(Gfx*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:335: undefined reference to `Gfx::restoreState()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:339: undefined reference to `Page::getAnnots(XRef*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:343: undefined reference to `TextOutputDev::takeText()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::default_delete<Gfx>::operator()(Gfx*) const':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:81: undefined reference to `Gfx::~Gfx()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `GlobalParams::getOverprintPreview()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/GlobalParams.h:138: undefined reference to `globalParams'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::_MakeUniq<SplashOutputDev>::__single_object std::make_unique<SplashOutputDev, SplashColorMode&, int, bool, unsigned char (&) [4], bool, SplashThinLineMode>(SplashColorMode&, int&&, bool&&, unsigned char (&) [4], bool&&, SplashThinLineMode&&)':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:849: undefined reference to `SplashOutputDev::SplashOutputDev(SplashColorMode, int, bool, unsigned char*, bool, SplashThinLineMode, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_page_bitmap(Page*)':
#21 2.012 /src/build/../src/main.cpp:460: undefined reference to `SplashOutputDev::setVectorAntialias(bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:461: undefined reference to `SplashOutputDev::startDoc(PDFDoc*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:463: undefined reference to `Page::display(OutputDev*, double, double, int, bool, bool, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `DumpPathsAsMsgPackDev::DumpPathsAsMsgPackDev()':
#21 2.012 /src/build/../src/DumpPathsAsMsgPackDev.h:86: undefined reference to `OutputDev::OutputDev()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_page_paths(Page*)':
#21 2.012 /src/build/../src/main.cpp:435: undefined reference to `Page::createGfx(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, XRef*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:437: undefined reference to `Page::display(Gfx*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::default_delete<Gfx>::operator()(Gfx*) const':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:81: undefined reference to `Gfx::~Gfx()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `fmt(Object const&, UnicodeMap*)':
#21 2.012 /src/build/../src/main.cpp:144: undefined reference to `TextStringToUCS4(GooString const*, unsigned int**)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:150: undefined reference to `UnicodeMap::mapUnicode(unsigned int, char*, int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::isString() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::dictLookup(char const*, int) const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:369: undefined reference to `Dict::lookup(char const*, int) const'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::arrayGet(int, int) const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:339: undefined reference to `Array::get(int, int) const'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:339: undefined reference to `Array::get(int, int) const'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::arrayGetLength() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:330: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::arrayGetLength() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:330: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::dictLookup(char const*, int) const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:369: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::isString() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::arrayGet(int, int) const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:339: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::isString() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:/src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:215: more undefined references to `error(ErrorCategory, long long, char const*, ...)' follow
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `open_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
#21 2.012 /src/build/../src/main.cpp:521: undefined reference to `GooFile::open(GooString const*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:527: undefined reference to `GooFile::size() const'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:527: undefined reference to `FileStream::FileStream(GooFile*, long long, bool, long long, Object&&)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_font_info(PDFDoc*)':
#21 2.012 /src/build/../src/main.cpp:163: undefined reference to `FontInfoScanner::FontInfoScanner(PDFDoc*, int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:164: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:164: undefined reference to `FontInfoScanner::scan(int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:163: undefined reference to `FontInfoScanner::~FontInfoScanner()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_glyphs(GooList**, int)':
#21 2.012 /src/build/../src/main.cpp:374: undefined reference to `TextWord::getCharBBox(int, double*, double*, double*, double*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_page_glyphs(Page*)':
#21 2.012 /src/build/../src/main.cpp:420: undefined reference to `TextPage::getSelectionWords(PDFRectangle*, SelectionStyle, int*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_document(PDFDoc*, Options const&)':
#21 2.012 /src/build/../src/main.cpp:515: undefined reference to `PDFDoc::getPage(int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `PDFDoc::getDocInfo()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/PDFDoc.h:266: undefined reference to `XRef::getDocInfo()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Dict::getVal(int) const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Dict.h:84: undefined reference to `Object::fetch(XRef*, int) const'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_document_meta(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, PDFDoc*, UnicodeMap*, Options const&)':
#21 2.012 /src/build/../src/main.cpp:280: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:290: undefined reference to `Catalog::getFormType()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::isDict() const':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:219: undefined reference to `error(ErrorCategory, long long, char const*, ...)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `TextPageDecRef(TextPage*)':
#21 2.012 /src/build/../src/main.cpp:309: undefined reference to `TextPage::decRefCnt()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `render_annotations(std::unique_ptr<Gfx, std::default_delete<Gfx> >&, Annots*)':
#21 2.012 /src/build/../src/main.cpp:319: undefined reference to `Gfx::restoreState()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `DumpPathsAsMsgPackDev::~DumpPathsAsMsgPackDev()':
#21 2.012 /src/build/../src/DumpPathsAsMsgPackDev.h:84: undefined reference to `OutputDev::~OutputDev()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `DumpPathsAsMsgPackDev::~DumpPathsAsMsgPackDev()':
#21 2.012 /src/build/../src/DumpPathsAsMsgPackDev.h:84: undefined reference to `OutputDev::~OutputDev()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `std::default_delete<Gfx>::operator()(Gfx*) const':
#21 2.012 /usr/include/c++/9.2.0/bits/unique_ptr.h:81: undefined reference to `Gfx::~Gfx()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/include/c++/9.2.0/bits/unique_ptr.h:81: undefined reference to `Gfx::~Gfx()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `DumpPathsAsMsgPackDev::DumpPathsAsMsgPackDev()':
#21 2.012 /src/build/../src/DumpPathsAsMsgPackDev.h:86: undefined reference to `OutputDev::~OutputDev()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `dump_font_info(PDFDoc*)':
#21 2.012 /src/build/../src/main.cpp:163: undefined reference to `FontInfoScanner::~FontInfoScanner()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `Object::~Object()':
#21 2.012 /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../vendor/anongit.freedesktop.org/git/poppler/poppler.git/build/install/include/poppler/Object.h:153: undefined reference to `Object::free()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o: in function `main':
#21 2.012 /src/build/../src/main.cpp:627: undefined reference to `globalParams'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:632: undefined reference to `globalParams'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:632: undefined reference to `GlobalParams::getTextEncoding()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:636: undefined reference to `PDFDoc::PDFDoc(BaseStream*, GooString const*, GooString const*, void*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:649: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:650: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:651: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:655: undefined reference to `PDFDoc::getNumPages()'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:628: undefined reference to `GlobalParams::GlobalParams(char const*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: /src/build/../src/main.cpp:628: undefined reference to `globalParams'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTI21DumpPathsAsMsgPackDev[_ZTI21DumpPathsAsMsgPackDev]+0x10): undefined reference to `typeinfo for OutputDev'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x70): undefined reference to `OutputDev::setDefaultCTM(double const*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x98): undefined reference to `OutputDev::cvtDevToUser(double, double, double*, double*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0xa0): undefined reference to `OutputDev::cvtUserToDev(double, double, int*, int*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0xb8): undefined reference to `OutputDev::updateAll(GfxState*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x278): undefined reference to `OutputDev::beginType3Char(GfxState*, double, double, double, double, unsigned int, unsigned int*, int)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2b0): undefined reference to `OutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, bool, bool, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2b8): undefined reference to `OutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*, int, int, bool, bool, double*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2c0): undefined reference to `OutputDev::unsetSoftMaskFromImageMask(GfxState*, double*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2c8): undefined reference to `OutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2d0): undefined reference to `OutputDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, Stream*, int, int, bool, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2d8): undefined reference to `OutputDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, Stream*, int, int, GfxImageColorMap*, bool)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2e0): undefined reference to `OutputDev::endMarkedContent(GfxState*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2e8): undefined reference to `OutputDev::beginMarkedContent(char const*, Dict*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2f0): undefined reference to `OutputDev::markPoint(char const*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x2f8): undefined reference to `OutputDev::markPoint(char const*, Dict*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x300): undefined reference to `OutputDev::opiBegin(GfxState*, Dict*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: src/main.cpp.1.o:(.data.rel.ro._ZTV21DumpPathsAsMsgPackDev[_ZTV21DumpPathsAsMsgPackDev]+0x308): undefined reference to `OutputDev::opiEnd(GfxState*, Dict*)'
#21 2.012 /usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: read-only segment has dynamic relocations
#21 2.012 collect2: error: ld returned 1 exit status
#21 2.012
#21 2.022 Waf: Leaving directory `/src/build'
#21 2.022 Build failed
#21 2.022 -> task in 'pdf2msgpack' failed with exit status 1 (run with -v to display more information)