Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928157 - media-video/movit-1.6.3-r1 doesn't compile against dev-cpp/eigen-9999
Summary: media-video/movit-1.6.3-r1 doesn't compile against dev-cpp/eigen-9999
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 09:14 UTC by jonys
Modified: 2024-03-30 19:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log of the failed compilation (build.log.xz,66.60 KB, application/x-xz)
2024-03-30 09:14 UTC, jonys
Details
Patch fixing movit compilation against eigen-9999 (movit-enable-cxx14-for-eigen.patch,652 bytes, patch)
2024-03-30 09:16 UTC, jonys
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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