New comment by anjandev on void-packages repository https://github.com/void-linux/void-packages/pull/18648#issuecomment-580983812 Comment: > @anjandev doing `./configure --with-libsignal-in-tree` worked for me, but i suppose it doesn't make sense in a package Im sorry, that didnt work for me. Would you mind posting the full template? Also, what are the implications of `--with-libsignal-in-tree`? @faulesocke I tried running this template and it didnt work. The main issue with my template is the make file breaks at ``` [ 11%] Built target xmpp-vala-vapi make[2]: Leaving directory '/builddir/dino-0.1.0/build' make[1]: *** [CMakeFiles/Makefile2:511: main/CMakeFiles/dino.dir/rule] Error 2 make[1]: Leaving directory '/builddir/dino-0.1.0/build' make: *** [Makefile:255: dino] Error 2 => ERROR: dino-0.1.0_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2 => ERROR: in do_build() at common/build-style/cmake.sh:73 ``` If I run `./xbps-src pkg dino` again after it fails at 11%, my template will compile dino completely but fail at 100%. ``` [100%] Linking C shared library ../omemo.so /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/9.2.0/../../../../lib/libsignal-protocol-c.a(curve.c.o): relocation R_X86_64_PC32 against symbol `ec_public_key_destroy' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [plugins/omemo/CMakeFiles/omemo.dir/build.make:626: plugins/omemo.so] Error 1 make[2]: Leaving directory '/builddir/dino-0.1.0/build' make[1]: *** [CMakeFiles/Makefile2:731: plugins/omemo/CMakeFiles/omemo.dir/all] Error 2 make[1]: Leaving directory '/builddir/dino-0.1.0/build' make: *** [Makefile:130: all] Error 2 => ERROR: dino-0.1.0_1: do_install: '${make_cmd} DESTDIR=${DESTDIR} ${make_install_args} ${make_install_target}' exited with 2 => ERROR: in do_install() at common/build-style/cmake.sh:101 ``` There is a `dino` binary in `masterdir/builddir/dino-0.1.0/build/` that runs but I have no idea why xbps-src fails to get to the install phase.