Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
11-15-2011, 02:28 PM
|
#1
|
LQ Newbie
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16
Rep:
|
Glibc rpcsvc vanished in l/glibc-2.14.1-i486-2.txz
Today I tried to compile postfix in a slackware-current fresh instllation (changelog Sun Nov 13 16:03:06 UTC 2011) and got this error:
dict_nis.c:42:27: fatal error: rpcsvc/ypclnt.h: No such file or directory
In an older install:
root@ushuaia:~# grep ypclnt.h /var/adm/packages/*
/var/adm/packages/glibc-2.13-x86_64-5:usr/include/rpcsvc/ypclnt.h
But in the new one this directory doesn't appear.
Does anyone know what happened ?
Thanks in advance.
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
11-15-2011, 08:34 PM
|
#3
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
I hope those can be added to the existing package like a patch by Patrick soon if it is needed.
|
|
|
11-15-2011, 09:09 PM
|
#4
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
|
Quote:
Originally Posted by ReaperX7
I hope those can be added to the existing package like a patch by Patrick soon if it is needed.
|
It's needed, actually it's pretty much required
There's quite a few packages that will FTBFS -
nfs-utils
Code:
../../support/include/rpcsvc/nfs_prot.h:9:21: fatal error: rpc/rpc.h: No such file or directory
Funny thing is, Drepper says to use TI-RPC, but you can't build TI-RPC against this Glibc.
http://sourceforge.net/tracker/index...75&atid=903784
|
|
|
11-15-2011, 09:27 PM
|
#5
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
I'll keep my eye out for glibc-2.14.1-patch*date or patch version number*-i486/x86_64-1.txz fairly soon on the -current tree.
|
|
|
11-16-2011, 07:42 AM
|
#6
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Quote from the NEWS file of GLIBC Version 2.14
Code:
* The RPC implementation in libc is obsoleted. Old programs keep working
but new programs cannot be linked with the routines in libc anymore.
Programs in need of RPC functionality must be linked against TI-RPC.
The TI-RPC implemtation is IPv6 enabled and there are other benefits.
Visible changes of this change include (obviously) the inability to link
programs using RPC functions without referencing the TI-RPC library, the
removal of the RPC headers from the glibc headers, and the lack of
symbols defined in <rpc/netdb.h> when <netdb.h> is installed.
Implemented by Ulrich Drepper.
That's it, folks! Even you love or hate it, you should live with it!
|
|
|
11-16-2011, 09:09 AM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,270
|
instead, I personally agreed with the comment on top of the gentoo patch (inside their patches tarball)
Quote:
export the rpc symbols and headers again until we can get libtirpc sorted
out as a proper and full replacement
patch from fedora (if redhat can't get it to work as the maintainers of all
these packages, then what chance do we have!)
|
Last edited by ponce; 11-16-2011 at 09:11 AM.
|
|
2 members found this post helpful.
|
11-16-2011, 09:09 AM
|
#8
|
LQ Veteran
Registered: May 2008
Posts: 7,010
|
Quote:
Originally Posted by Darth Vader
Quote from the NEWS file of GLIBC Version 2.14
Code:
* The RPC implementation in libc is obsoleted. Old programs keep working
but new programs cannot be linked with the routines in libc anymore.
Programs in need of RPC functionality must be linked against TI-RPC.
The TI-RPC implemtation is IPv6 enabled and there are other benefits.
Visible changes of this change include (obviously) the inability to link
programs using RPC functions without referencing the TI-RPC library, the
removal of the RPC headers from the glibc headers, and the lack of
symbols defined in <rpc/netdb.h> when <netdb.h> is installed.
Implemented by Ulrich Drepper.
That's it, folks! Even you love or hate it, you should live with it!
|
I think you missed the point that tirpc isn't quite ready to take over yet, and still relies on some of the parts of glibc that they've removed and as disturbed1 pointed out above it won't build against glibc 2.14.
Deprecating/Obsoleting old stuff is all well and good, but one should really make sure that the new replacement is in place and ready to go before you take the old one away. Just another example of disjointed development in the linux ecosystem. No wonder the BSD guys laugh at us.
|
|
2 members found this post helpful.
|
11-16-2011, 09:33 AM
|
#9
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
|
Quote:
Originally Posted by GazL
I think you missed the point that tirpc isn't quite ready to take over yet, and still relies on some of the parts of glibc that they've removed and as disturbed1 pointed out above it won't build against glibc 2.14.
Deprecating/Obsoleting old stuff is all well and good, but one should really make sure that the new replacement is in place and ready to go before you take the old one away. Just another example of disjointed development in the linux ecosystem. No wonder the BSD guys laugh at us.
|
You can build libtirpc, but it needs patches. LFS is using patches from Debain.
http://linuxfromscratch.org/pipermai...er/003835.html
I've been running FreeBSD 8.2 and 9.0rc on a few VMs and spare Laptops. Once 9.0 is released, I'm going to see how it fairs on a modern PC with the Nvidia binary driver.
|
|
2 members found this post helpful.
|
11-16-2011, 09:46 AM
|
#10
|
Senior Member
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727
|
Then, the one billion russian dollars question:
Why we need this frakking pre-alpha quality GLIBC, on release 2.14? Because?
|
|
2 members found this post helpful.
|
11-16-2011, 10:27 AM
|
#11
|
LQ Newbie
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16
Original Poster
Rep:
|
So, falling back to the glibc-solibs-2.13-i486-4.txz...
Thank you very much for the explanations.
|
|
|
11-16-2011, 12:47 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,270
|
I think the error, Darth, has been to deprecate the rpc stuff after the 2.14.x branch was already declared stable.
I also cannot agree with Ulrich, but maybe "pre-alpha quality" is unfair.
|
|
|
11-26-2011, 04:31 AM
|
#13
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,270
|
I was trying to build the newest libvirt on -current and got stuck too without a working XDR implementation
so I tried to use libtirpc, discovering that DES and NIS were broken ( ), but seems to builds fine if patched.
the only thing is that (following LFS's advices) you have to install some headers just to let libtirpc build (you can remove them after building, but they will be needed to build postfix - or either I think you have to patch out its nis support).
if you want to have a look or test with apps that need rpc (they must use the libtirpc headers in /usr/include/tirpc) or with libvirt, sources are here:
http://ponce.cc/slackware/testing/rpcnis-headers/
(EDIT: postfix seems to build with these installed, and it runs also after)
http://ponce.cc/slackware/testing/libtirpc/
http://ponce.cc/slackware/testing/libvirt/
but I really don't know which way Pat is gonna take with this issue, so take this just as testing stuff...
comments/suggestions/fixes are obviously welcomed
Last edited by ponce; 11-26-2011 at 12:45 PM.
Reason: added postfix no_nis.patch
|
|
3 members found this post helpful.
|
12-15-2011, 01:56 AM
|
#14
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,270
|
if someone is interested, I've started moving these things in git branches on github
https://github.com/Ponce/current-sou...rpc/l/libtirpc
already updated (the no-des.patch got prettier )
Last edited by ponce; 12-17-2011 at 04:36 AM.
Reason: renamed the repository
|
|
|
12-15-2011, 04:59 AM
|
#15
|
LQ Newbie
Registered: Oct 2010
Location: Brazil
Distribution: Slackware since 1996
Posts: 16
Original Poster
Rep:
|
Ponce, thank you for the informations and scripts.
I'll try your scripts as soon as possible.
|
|
|
All times are GMT -5. The time now is 01:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|