pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/52250: gmp and mpfr not found by some packages



The following reply was made to PR pkg/52250; it has been noted by GNATS.

From: Jonathan Perkin <jperkin%pkgsrc.org@localhost>
To: =?iso-8859-1?Q?J=F6rn?= Clausen <joern.clausen%uni-bielefeld.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, solaris-pkg-people%NetBSD.org@localhost,
	gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/52250: gmp and mpfr not found by some packages
Date: Mon, 19 Jun 2017 14:12:43 +0100

 * On 2017-06-19 at 14:08 BST, Jörn Clausen wrote:
 
 > > 1. security/tcp_wrappers/builtin.mk is the logic to determine whether a
 > >    builtin is available, and if so whether it should be used.  In this
 > >    case it checks for the existence of /usr/include/tcpd.h and libwrap in
 > >    the system library paths.
 > 
 > Solaris 11.3/i86:
 > 
 > $ ll /usr/include/tcpd.h
 > -rw-r--r--   1 root     bin        10386 Jun  1  2015 /usr/include/tcpd.h
 > 
 > $ ll /usr/lib/*wrap*
 > lrwxrwxrwx   1 root     root          14 May 28  2015 /usr/lib/libwrap.so ->
 > libwrap.so.1.0
 > lrwxrwxrwx   1 root     root          14 May 28  2015 /usr/lib/libwrap.so.1
 > -> libwrap.so.1.0
 > -rwxr-xr-x   1 root     bin        56960 May 29 10:12
 > /usr/lib/libwrap.so.1.0
 > -rw-r--r--   1 root     bin         1294 May 28  2015 /usr/lib/llib-lwrap
 > -rw-r--r--   1 root     bin        33904 May 29 10:12 /usr/lib/llib-lwrap.ln
 > 
 > Solaris 11.3/sparc:
 > 
 > $ ll /usr/include/tcpd.h
 > -rw-r--r--   1 root     bin        10386 Jul  8  2016 /usr/include/tcpd.h
 > 
 > $ ll /usr/lib/*wrap*
 > lrwxrwxrwx   1 root     root          14 Jul  8  2016 /usr/lib/libwrap.so ->
 > libwrap.so.1.0
 > lrwxrwxrwx   1 root     root          14 Jul  8  2016 /usr/lib/libwrap.so.1
 > -> libwrap.so.1.0
 > -rwxr-xr-x   1 root     bin        61056 May 23 10:06
 > /usr/lib/libwrap.so.1.0
 > -rw-r--r--   1 root     bin         1294 Jul  8  2016 /usr/lib/llib-lwrap
 > -rw-r--r--   1 root     bin        33765 May 23 10:07 /usr/lib/llib-lwrap.ln
 > 
 > 
 > > 2. IS_BUILTIN.tcp_wrappers will tell you if a builtin has been detected.
 > 
 > i86:
 > 
 > $ bmake show-var VARNAME=IS_BUILTIN.tcp_wrappers
 > no
 > 
 > sparc:
 > 
 > $ bmake show-var VARNAME=IS_BUILTIN.tcp_wrappers
 > yes
 
 Ok, so let's dig a little deeper into the logic of builtin.mk.  What are
 
   BUILTIN_LIB_FOUND.wrap
   H_TCP_WRAPPERS
 
 set to on each?
 
 -- 
 Jonathan Perkin       www.perkin.org.uk
 github.com/jperkin  twitter.com/jperkin
 


Home | Main Index | Thread Index | Old Index