Bug 1234405
| Summary: | FTBFS: mkvtoolnix-8.0.0 fails to compile due to undefined reference in /usr/include/gtest/gtest-printers.h | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dominik 'Rathann' Mierzejewski <dominik> |
| Component: | mkvtoolnix | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | davejohansen, dominik, itamar, jwakely, kwizart, law, martin.sourada, mpolacek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-03 11:52:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dominik 'Rathann' Mierzejewski
2015-06-22 13:35:10 UTC
Filed bug upstream: https://github.com/mbunkus/mkvtoolnix/issues/1284 . Looks like upstream cannot reproduce it with gcc-5.1.0. Jakub, could you take a look and tell us if this is a gcc bug or not? Cc'ing gtest maintainers as well. It's not clear to me which exact version of gcc "fails". In any case, without a preprocessed source file there's not much we can do. This is not happening when built in F21 mock, only in F22+, so I'm leaning towards a gcc-5.1.1 bug, reassigning accordingly. Steps to reproduce: 1. fedpkg clone mkvtoolnix (git commit e5d1ca5af3ff135d9aee16d1857226c3a2e095c9) 2. comment out %patch1 so that it doesn't get applied 3. fedpkg mockbuild I'll try to get the preprocessed source in the meantime. Does the code include the right header for the definition of that operator? In addition to <boost/optional/optional.hpp> you need: #include <boost/optional/optional_io.hpp> Grepping the sources shows that header is not included anywhere, so this is not a gcc bug, but an upstream bug. Probably revealed by using a newer Boost version that includes this change: https://svn.boost.org/trac/boost/ticket/2103 Previously the code was probably doing the wrong thing and just printing a boolean value to the stream. https://svn.boost.org/trac/boost/ticket/10825 is another upstream change to make the link error into a compile-time error, but mkvtoolnix still needs to be fixed either way. Thank you very much for detailed analysis. You're right, adding the #include from ticket 10825 does fix the issue and I mentioned it in upstream bug report. Thanks again. This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 fixed upstream as https://github.com/mbunkus/mkvtoolnix/issues/1284 Closing. |