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



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


3. USE_BUILTIN.tcp_wrappers will tell you if the builtin will be used.

identical to IS_BUILTIN


I have tried different debug options of bmake some time ago, but none would help (in a way I am aware of) to understand the flow of information and to see, at which point things start to diverge.

--
Jörn Clausen
Plattformen & Serverdienste
BITS - Bielefelder IT-Servicezentrum



Home | Main Index | Thread Index | Old Index