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_Filt...). So I don't know what to do :(
Could you help me?
Thanks in advance! -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org
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_Filt...). 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
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}
If I am doing something wrong, please help me
On 05/31/2011 05:31 AM, Sergio Belkin wrote:
2011/5/30 Sergio Belkinsebelk@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_Filt...). 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_Fil...
Regards, Xavier
Hello!
2011/5/31 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)
I stumbled upon the similar issue (not so) recently and I fixed this by a small patch (mostly shamelessly stolen from someone else's work)
http://pkgs.fedoraproject.org/gitweb/?p=sems.git;a=blob_plain;f=sems-0011-Av...
Do something similar with your own required functions.
epel-devel@lists.fedoraproject.org