pkgsrc-Bugs archive

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

Re: pkg/53673: Building Python 3.7 on Linux fails with error



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

From: Roy Marples <roy%marples.name@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53673: Building Python 3.7 on Linux fails with error
Date: Tue, 23 Apr 2019 02:13:12 +0100

 This change breaks NetBSD systems built with MKYP=no because the headers 
 are installed but yp_master is no longer defined in libc.
 As such PLIST expects nis to build, but the reality is that it fails.
 
 I see two solutions
 1) Don't install the yp headers when MKYP=no
 2) See if yp_master is defined in libc
 3) Add the exclusion back for NetBSD and /usr/bin/ypcat doesn't exist
 4) Consider a dynamic PLIST?
 
 1 won't work if a generic NetBSD is installed and later customised to 
 MKYP=no (which mine is in this case).
 2 is more invasive - and does pkgsrc even know which libc will be used 
 and where it is?
 3 probably path of least resistance
 4 probably the most robust solution, but maybe one which will meet 
 resistance to add as it shows we're not in control of what we install.
 
 
 Roy
 


Home | Main Index | Thread Index | Old Index