[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Broken dependencies: libresolv.so.2(GLIBC_PRIVATE)



On 05/31/2011 05:31 AM, Sergio Belkin wrote:
2011/5/30 Sergio Belkin<sebelk gmail com>:
Hi,

I've received a message from repoclosure about UpTools package because
(it's in testing)  it claims that has  "unresolved deps:
libresolv.so.2(GLIBC_PRIVATE)"

That's because shared libresolv.so from old glibc releases lack of
some symbols, eg: ns_initparse that are into static libresolv.a

(http://tech.groups.yahoo.com/group/milter-greylist/message/5797)


Fedora package can use macro that filter requires but AFAIU epel5
can't do that (http://fedoraproject.org/wiki/EPEL:Packaging#Perl_Provides_and_Requires_Filtering).
So I don't know what to do :(

Could you help me?

Thanks in advance!

Well answer myself:

appended:
%define _use_internal_dependency_generator 0


I think this one is not needed. You just want to filter out some dependencies, not to block generation completely.

and en %prep:

cat<<  \EOF>  %{name}-req
#!/bin/sh
%__find_requires  $* | sed -e '/GLIBC_PRIVATE/d'
EOF

%global __find_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__find_requires}

This should be enough.

See https://fedoraproject.org/wiki/EPEL:Packaging#Perl_Provides_and_Requires_Filtering

Regards,
Xavier


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]