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 - excluded on ppc64le due to configure issue
Summary: excluded on ppc64le due to configure issue
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mcrouter
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2021-03-26 23:13 UTC by Davide Cavalca
Modified: 2021-03-27 16:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.