>>> Emerging (1 of 1) app-arch/zstd-1.4.5::gentoo * zstd-1.4.5.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking zstd-1.4.5.tar.gz to /var/tmp/portage/app-arch/zstd-1.4.5/work >>> Source unpacked in /var/tmp/portage/app-arch/zstd-1.4.5/work >>> Preparing source in /var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5 ... * Will copy sources from /var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5 * abi_x86_64.amd64: copying to /var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ AR=x86_64-pc-linux-gnu-ar PREFIX=/usr LIBDIR=/usr/lib64 -C lib libzstd-mt libzstd.a-mt libzstd.pc make: Entering directory '/var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5-abi_x86_64.amd64/lib' compiling dynamic library 1.4.5 legacy/zstd_v04.c:77:10: fatal error: debug.h: No such file or directory 77 | #include "debug.h" | ^~~~~~~~~ compilation terminated. make: *** [Makefile:210: libzstd.so.1.4.5] Error 1 make: Leaving directory '/var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5-abi_x86_64.amd64/lib' * ERROR: app-arch/zstd-1.4.5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-arch/zstd-1.4.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/zstd-1.4.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-arch/zstd-1.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/zstd-1.4.5/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5-abi_x86_64.amd64' * S: '/var/tmp/portage/app-arch/zstd-1.4.5/work/zstd-1.4.5'
had been fixed in commit 93cec0c1d6d0be8dd3a9d01d3e7f2099f1728df7 1.4.5 is not in tree now https://github.com/facebook/zstd/commit/93cec0c1d6d0be8dd3a9d01d3e7f2099f1728df7