Red Hat Bugzilla – Bug 809819
Features listed when you run --features aren't listed when you run --help
Last modified: 2013-09-11 05:12:17 EDT
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:
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