pkgsrc-Bugs archive

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

Re: pkg/57974: Depends conflict for firefox AND postgres



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

From: Joe Mifsud <jmifsud%posteo.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/57974: Depends conflict for firefox AND postgres
Date: Thu, 07 Mar 2024 23:16:59 +0000

 On 2024-03-07 01:25, David H. Gutteridge wrote:
 > The following reply was made to PR pkg/57974; it has been noted by 
 > GNATS.
 > 
 > From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
 > To: Gnats Bugs <gnats-bugs%netbsd.org@localhost>
 > Cc:
 > Subject: Re: pkg/57974: Depends conflict for firefox AND postgres
 > Date: Wed, 06 Mar 2024 20:23:41 -0500
 > 
 >  On Tue, 05 Mar 2024 at 23:14:36 +0000, Joe Mifsud wrote:
 >  > Thank you for your reply and consideration. This is my mk.conf:
 >  >
 >  >    UNPRIVILEGED=yes
 >  >
 >  > PREFER_PKGSRC is not set and pkgin is not installed.  Maybe the 
 > issue
 >  > is that I am not using an official release of pkgsrc? On my system,
 >  > security/heimdal is pulled in from this graph branch:
 >  >
 >  > www/firefox -> x11/gtk3 -> print/libcups (defaults w kerberos)
 >  >    -> mk/kerb5.buildlink.mk -> security/heimdal
 > 
 >  Hmm. It shouldn't be that you're tracking -current, and nothing to do
 >  with pkgin. I'm also testing with -current.
 > 
 >  A couple of questions:
 > 
 >  1. Does security/heimdal show other packages registered as dependants?
 >  Or just print/libcups?
 >  2. Are /usr/include/krb5.h and /usr/include/krb5/krb5.h installed? I'd
 >  imagine they must be, as they're part of the "comp" set that provides
 >  headers.
 > 
 >  If you go into print/libcups, you can run tests like:
 > 
 >  $ make show-var VARNAME=IS_BUILTIN.heimdal
 >  yes
 >  $ make show-var VARNAME=H_HEIMDAL
 >  /usr/include/krb5/krb5.h
 > 
 >  (Those are my results on 9.3_STABLE. I don't have UNPRIVILEGED set, 
 > and
 >  don't see how it would make any difference from code inspection, but I
 >  set it to "yes" to test that, and those built-in tests behave the same
 >  for me either way.)
 > 
 >  Dave
 
 Answers:
 - 1 -
 I don't know the best way to check that. Heres a guess:
 $ pkg_info -r heimdal
 Information for heimdal-7.8.0nb7:
 
 Full required by list:
 
 
 $
 It's interesting that it is not recorded as a dependency of 
 print/libcups.
 
 
 - 2 -
 Yup, they're located where you indicated
 $ ls /usr/pkg/include/ | grep krb5
 krb5
 $ ls /usr/include/ | grep krb5.h
 krb5.h
 $ ls /usr/include/krb5 | grep krb5.h
 krb5.h
 
 And the output of these commands are the same as the ones you 
 demonstrated.
 $ cd /usr/pkgsrc/print/libcups/
 $ make show-var VARNAME=IS_BUILTIN.heimdal
 yes
 $ make show-var VARNAME=H_HEIMDAL
 /usr/include/krb5/krb5.h
 
 Curious what you think is happening
 
 -Joe
 



Home | Main Index | Thread Index | Old Index