Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928157

Summary: media-video/movit-1.6.3-r1 doesn't compile against dev-cpp/eigen-9999
Product: Gentoo Linux Reporter: jonys <vidra.jonas>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: vidra.jonas
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log of the failed compilation
Patch fixing movit compilation against eigen-9999

Description jonys 2024-03-30 09:14:42 UTC
Created attachment 889036 [details]
build.log of the failed compilation

The Git version of Eigen (dev-cpp/eigen-9999) needs a C++14-capable compiler to be usable (as of 2024-03-30). Since media-video/movit-1.6.3-r1 has a `CXXFLAGS="$CXXFLAGS -std=gnu++11"` line in its configure script, it fails to build against a recent Eigen checkout, producing many pages of errors, starting with:
```
In file included from /usr/include/eigen3/Eigen/Core:19,
                 from ycbcr.cpp:4:
/usr/include/eigen3/Eigen/src/Core/util/Macros.h:709:2: error: #error Eigen requires at least c++14 support.
  709 | #error Eigen requires at least c++14 support.
      |  ^~~~~
```

Building against the stable Eigen version, dev-cpp/eigen-3.4.0-r1, works fine, and the attached patch fixes the issue with the Git version.

The issue is known upstream and fixed in movit-1.7.0, see https://git.sesse.net/?p=movit;a=commit;h=f023440cc34f15c0c3bdb8de62c4e3a661ef068b
Comment 1 jonys 2024-03-30 09:16:40 UTC
Created attachment 889037 [details, diff]
Patch fixing movit compilation against eigen-9999