[Solved] Nomacs won't run on older CPUs

nomacs won’t run on my older CPUs that do not support ssse3 and sse4.1

FATAL ERROR: *

  • This OpenCV build doesn’t support current CPU/HW configuration *
  • *
  • Use OPENCV_DUMP_CONFIG=1 environment variable for details *

Required baseline features:
SSE - OK
SSE2 - OK
SSE3 - OK
SSSE3 - NOT AVAILABLE
SSE4.1 - NOT AVAILABLE

Workaround is to recompile from source with opencv support removed, tiff and raw depend on opencv:

FEATURES="-getbinpkg" USE="-opencv -tiff -raw" emerge -av nomacs

To make it permanent so update does not try to reinstall the binary:

mkdir -p /etc/portage/env
echo ‘FEATURES="-getbinpkg"’ >> /etc/portage/env/compileFromSource
echo ‘media-gfx/nomacs’ compileFromSource >> /etc/portage/package.env
echo ‘media-gfx/nomacs -opencv -tiff -raw’ > /etc/portage/package.use/nomacs