#9285: libnss_compat
-------------------------+--------------------------
 Reporter:  ken@…        |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  y-hold
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------------

Comment (by Krejzi):

 I have built a brand new system using glibc 2.26 git snapshot, while
 omitting both --enable-obsolete-rpc and --enable-obsolete-nis. I have then
 installed, in following order:

 {{{
 rpcsvc-proto
 libtirpc
 libnsl
 libnss_compat
 }}}

 rpcsvc-proto, libnsl and libnss_compat are, as expected, from
 https://github.com/thkukuk/

 So far, only package that needed fixing for rpc removal was samba, and
 that was to force linking to libtirpc. This did require me to add
 autoconf, automake and libtool to /tools, build full gettext in chapter 5
 to get gettext.m4 and autopoint, and move pkg-config right after glibc in
 chapter 6 for autoreconf to work for these packages. I suppose proper
 tarballs can be generated with "make dist" and hosted on anduin, or the
 maintainer could be asked to do something similar on github.

 https://github.com/elkrejzi/pacman/blob/master/pkgbuild/rpcsvc-
 proto/PKGBUILD

 https://github.com/elkrejzi/pacman/blob/master/pkgbuild/libtirpc/PKGBUILD

 https://github.com/elkrejzi/pacman/blob/master/pkgbuild/libnsl/PKGBUILD

 https://github.com/elkrejzi/pacman/blob/master/pkgbuild/libnss_compat/PKGBUILD

 Also, even though I did not use --enable-obsolete-nls, I had to manually
 remove /usr/lib/libnsl.so provided by glibc, so it would not conflict with
 one from libnsl. Both have incompatible sonames (glibc has libnsl.so.1,
 libnsl has libnsl.so.2, so that's fine)

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/9285#comment:5>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to