Build Result: rblcheck on development

Paul Howarth paul at city-fan.org
Fri Jul 1 10:05:29 UTC 2005


Oliver Falk wrote:
> On 06/30/2005 10:29 PM, buildsys at fedoraproject.org wrote:
> 
>> Build of rblcheck on development failed to complete on one or more archs.
> 
>  > Please see logs at:
> 
>> http://extras64.linux.duke.edu/failed/development/rblcheck
> 
> 
> I'm a bit confused because of this. rblcheck uses libresolv, which is 
> part of glibc, so it should be installed on extras64, shouldn't it? :-/
> 
> The error is here:
> [ ... ]
> checking for res_query... no
> checking for res_query in -lresolv... no
> checking for res_query in -lbind... no
> configure: error: cannot locate res_query function
> error: Bad exit status from /var/tmp/rpm-tmp.88683 (%build)
> [ ... ]
> 
> I have no non-i386 machine (except alphas) available to test this 
> package, so might someone have a look at this please...

This is a common problem for packages that use res_query in libresolv. 
On x64_64 and possibly other architectures, res_query is defined as a 
macro in <resolv.h>, and unless you include that header file in 
configure test for res_query, the macro won't get picked up, the actual 
name of the function won't be used and hence the test will fail at link 
time.

Attached patch should fix it.

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rblcheck-1.5-res_query.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050701/e0ba6f69/attachment.bin>


More information about the fedora-extras-list mailing list