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: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: Jonathan Perkin <jperkin%pkgsrc.org@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 17:12:26 +0200

 > 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?
 >
 
 i86:
 
 $ bmake show-var VARNAME=BUILTIN_LIB_FOUND.wrap
 no
 $ bmake show-var VARNAME=H_TCP_WRAPPERS
 /usr/include/tcpd.h
 
 
 sparc:
 
 $ bmake show-var VARNAME=BUILTIN_LIB_FOUND.wrap
 yes
 $ bmake show-var VARNAME=H_TCP_WRAPPERS
 /usr/include/tcpd.h
 
 
 Okay, I guess this is the problem:
 
 i86:
 
 $ bmake show-var VARNAME=COMPILER_LIB_DIRS
 /lib/amd64 /usr/lib/amd64
 
 sparc:
 
 $ bmake show-var VARNAME=COMPILER_LIB_DIRS
 /lib /usr/lib
 
 
 Both installations were bootstrapped with "--abi 64". Looking at "gcc 
 -dumpspecs", I think GCC is sane on both platforms (i.e. where i86 has 
 "amd64", sparc has "sparcv9").
 
 
 Ah, my dear friend "hans" left this in mk/platform/SunOS.mk:
 
 revision 1.47
 date: 2013-02-01 13:25:16 +0100;  author: hans;  state: Exp;  lines: +5 -1;
 Set LIBABISUFFIX on SunOS x86_64. Should probably also be done for
 sparcv9, but I can't test that.
 
 Yes, indeed, this should probably be symmetrical on both 
 architectures... Although I doubt that this is correct at all, I guess 
 this is more of a hack.
 
 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum
 


Home | Main Index | Thread Index | Old Index