I had an issue during the compilation of libjxl-git
:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
In file included from /usr/include/hwy/highway.h:25,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/enc_ac_strategy.cc:18,
from /usr/include/hwy/foreach_target.h:125,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/enc_ac_strategy.cc:17:
/usr/include/hwy/targets.h: In member function ‘size_t hwy::ChosenTarget::GetIndex() const’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
/usr/include/hwy/targets.h: In function ‘std::vector<unsigned int> hwy::SupportedAndGeneratedTargets()’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
In file included from /usr/include/hwy/highway.h:25,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/fast_math-inl.h:15,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/enc_ans.cc:28:
/usr/include/hwy/targets.h: In member function ‘size_t hwy::ChosenTarget::GetIndex() const’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
/usr/include/hwy/targets.h: In function ‘std::vector<unsigned int> hwy::SupportedAndGeneratedTargets()’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
In file included from /usr/include/hwy/highway.h:25,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/enc_adaptive_quantization.cc:20,
from /usr/include/hwy/foreach_target.h:125,
from /home/gianmarco/.cache/yay/libjxl-git/src/libjxl/lib/jxl/enc_adaptive_quantization.cc:19:
/usr/include/hwy/targets.h: In member function ‘size_t hwy::ChosenTarget::GetIndex() const’:
<command-line>: error: ‘HWY_SVE_256’ was not declared in this scope; did you mean ‘HWY_SVE2’?
<command-line>: error: ‘HWY_SVE2_128’ was not declared in this scope; did you mean ‘HWY_SVE2’?
make[2]: uscita dalla directory «/home/gianmarco/.cache/yay/libjxl-git/src/build»
[ 9%] Built target skcms-obj
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:132: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_ans.cc.o] Errore 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:104: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_ac_strategy.cc.o] Errore 1
make[2]: *** [lib/CMakeFiles/jxl_enc-obj.dir/build.make:118: lib/CMakeFiles/jxl_enc-obj.dir/jxl/enc_adaptive_quantization.cc.o] Errore 1
make[2]: uscita dalla directory «/home/gianmarco/.cache/yay/libjxl-git/src/build»
make[1]: *** [CMakeFiles/Makefile2:1389: lib/CMakeFiles/jxl_enc-obj.dir/all] Errore 2
make[1]: uscita dalla directory «/home/gianmarco/.cache/yay/libjxl-git/src/build»
make: *** [Makefile:146: all] Errore 2
make: uscita dalla directory «/home/gianmarco/.cache/yay/libjxl-git/src/build»
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
-> error making: libjxl-git
Pinned Comments
saburouta commented on 2023-04-26 18:45 (UTC)
I adopted this package to keep it from falling off, but I haven't had the chance to update it yet.
I think only patches 40 and 60 still work. I'm not sure the other even need to be updated. I've been building with just 40 and 60.