Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1943729

Summary: excluded on ppc64le due to configure issue
Product: [Fedora] Fedora Reporter: Davide Cavalca <dcavalca>
Component: mcrouterAssignee: Michel Alexandre Salim <michel>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, michel
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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    

Description Davide Cavalca 2021-03-26 23:13:59 UTC
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

Comment 1 Davide Cavalca 2021-03-26 23:15:15 UTC
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

Comment 2 Dan HorĂ¡k 2021-03-27 10:55:09 UTC
In theory upstream could be using an outdated ax_boost autoconf macro. Can you try refreshing it from autoconf-archive?

Comment 3 Davide Cavalca 2021-03-27 16:10:17 UTC
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.