Bug 809819
| Summary: | Features listed when you run --features aren't listed when you run --help | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jenny Severance <jgalipea> |
| Component: | xmlrpc-c | Assignee: | Mikolaj Izdebski <mizdebsk> |
| Status: | CLOSED ERRATA | QA Contact: | Kaleem <ksiddiqu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.5 | CC: | nsoman, ovasik |
| Target Milestone: | rc | Keywords: | Documentation |
| Target Release: | 6.5 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 1.16.24-1210.1840 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-11 09:12:17 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: | |||
Fixed in xmlrpc-c-1.16.24-1210.1840. Now features listed in --help should be consistent with the list in --features. Running the reproducer script should't result in any "Unrecognized token" errors. Verified using:
xmlrpc-c-1.16.24-1210.1840.el6.x86_64
Running the script didn't see any "Unrecognized token" errors. Output is:
# cat testrun.sh
for feature in "" `xmlrpc-c-config --features` ; do
for what in cflags libs ldadd ldflags prefix ; do
xmlrpc-c-config $feature --$what
done
done
# ./testrun.sh
-I/usr/include/libxml2
Must specify package names on the command line
-lxmlrpc_client
/usr
-I/usr/include/libxml2
-lxmlrpc_server_abyss
-lxmlrpc_server_abyss
/usr
-I/usr/include/libxml2
-lxmlrpc_cpp
-lxmlrpc_cpp
/usr
-I/usr/include/libxml2
Must specify package names on the command line
-lxmlrpc_client
/usr
-I/usr/include/libxml2
-lxmlrpc_server_cgi
-lxmlrpc_server_cgi
/usr
-I/usr/include/libxml2
-lxmlrpc_client
-lxmlrpc_client
/usr
-I/usr/include/libxml2
-lxmlrpc_packetsocket
-lxmlrpc_packetsocket
/usr
-I/usr/include/libxml2
-lxmlrpc_server_pstream++
-lxmlrpc_server_pstream++
/usr
-I/usr/include/libxml2
-lxmlrpc_server
-lxmlrpc_server
/usr
Verified --features and --help match:
# xmlrpc-c-config --features
abyss-server c++ c++2 cgi-server client packetsocket pstream-server server-util
# xmlrpc-c-config --help
Usage: xmlrpc-c-config <feature> ... <option> ...
The features are:
c++ legacy C++ wrapper API
c++2 modern C++ API
client client functions
cgi-server CGI-based server functions
abyss-server ABYSS-based server functions
pstream-server pstream-based server functions
server-util basic server functions (implied by *-server)
packetsocket datagram socket API
Options are:
--version The version number of the package
--features List all features (aka modules) currently installed
--cflags C compiler flags to use when '#include'ing package headers
--libs Libraries and flags to use when linking programs normally
--ldadd Libraries to use with automake
--ldflags Flags to use with automake & libtool
--prefix The prefix under which the package was installed
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1254.html |
Description of problem: If there are features listed when you run it with --features which aren't listed when run with --help <script> for feature in "" `xmlrpc-c-config --features` ; do for what in cflags libs ldadd ldflags prefix ; do xmlrpc-c-config $feature --$what done done </script> # xmlrpc-c-config --features c++ abyss-server curl-client script execution ... -I/usr/include/libxml2 Must specify package names on the command line -lxmlrpc_client /usr -I/usr/include/libxml2 -lxmlrpc_cpp -lxmlrpc_cpp /usr -I/usr/include/libxml2 -lxmlrpc_server_abyss -lxmlrpc_server_abyss /usr Unrecognized token 'curl-client' Unrecognized token 'curl-client' Unrecognized token 'curl-client' Unrecognized token 'curl-client' Unrecognized token 'curl-client' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install xmlrpc-c-devel 2. xmlrpc-c-config --features 3. execute script above Actual results: Expected results: Additional info: