Bug 1943729
| Summary: | excluded on ppc64le due to configure issue | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Davide Cavalca <davide> |
| Component: | mcrouter | Assignee: | Davide Cavalca <davide> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dan, michel, mtasaka |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mcrouter-0.41.0.20220314-3.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-07-19 14:28:40 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1071880 | ||
Relevant configure.ac is
# check for boost libs
AX_BOOST_BASE([1.65.1], [], [AC_MSG_ERROR(
[Please install boost >= 1.65.1 (context, filesystem, program_options, regex and system)])])
# TODO: also check boost::ctx, not only boost::context
AX_BOOST_CONTEXT
AX_BOOST_FILESYSTEM
AX_BOOST_PROGRAM_OPTIONS
AX_BOOST_REGEX
AX_BOOST_SYSTEM
AX_BOOST_THREAD
In theory upstream could be using an outdated ax_boost autoconf macro. Can you try refreshing it from autoconf-archive? I tried that yesterday and it didn't seem to help. I also skimmed the generated 'configure' script and it looked overall sane, though these things are pretty hard to spot in my experience. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. I am pretty sure the problem here is with the bundled (and outdated) mcrouter/m4/ax_boost_base.m4 file. There is a check for arches that use "lib64" directory and it lacks ppc64le (see line 97). It has been fixed in later ax_boost_base.m4 releases. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. (In reply to Dan Horák from comment #6) > I am pretty sure the problem here is with the bundled (and outdated) > mcrouter/m4/ax_boost_base.m4 file. There is a check for arches that use > "lib64" directory and it lacks ppc64le (see line 97). It has been fixed in > later ax_boost_base.m4 releases. Applied in mcrouter-0.41.0.20220314-3.fc37 |
On ppc64le-test.fedorainfracloud.org configure:14605: checking for boostlib >= 1.65.1 configure:14685: g++ -c -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -g -O2 -I/usr/include conftest.cpp >&5 configure:14685: $? = 0 configure:14687: result: yes configure:14867: checking whether the Boost::Context library is available configure:14905: g++ -c -DLIBMC_FBTRACE_DISABLE -DDISABLE_COMPRESSION -Wno-missing-field-initializers -Wno-deprecated -W -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++17 -g -O2 -I/usr/include conftest.cpp >&5 conftest.cpp: In function 'int main()': conftest.cpp:40:38: warning: unused variable 'fc' [-Wunused-variable] 40 | boost::context::detail::fcontext_t fc = boost::context::detail::make_fcontext(0, 0, 0); | ^~ configure:14905: $? = 0 configure:14920: result: yes configure:15080: error: Could not find a version of the library! Host has boost-context-1.73.0-9.fc33.ppc64le