tech-pkg archive

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

Re: Application of package options from within buildlink3.mk?



Havard Eidnes <he%NetBSD.org@localhost> writes:

>  - Do "make update" in textproc/libxml2/

My first recommendation is:

  Do not ever run make update.  Really not ever.  I would be inclined to
  remove it, but I don't want to deal with that, and by not running it,
  it doesn't bother me.

  If you are using make update, and having a problem, please clearly
  state that you are using make update when asking for help.

Second, while the ABI/bump scheme seems sound, ~everybody who works on
pkgsrc keeps everything up to date.  So there are often missing
requirements.  For example I just fixed py-maturin to require new enough
py-setuptools-rust (or it didn't build).   This leads to there being
only two reasonable schemes, more or less.

All schemes involve a consistent pkgsrc tree.   cvs up -A, or to a
branch, or to a date.  No mixing.

Then the choices are 

  set up pbulk and build your packages.  resolve any bugs.  use pkgin to
  update your system

  run pkg_rolling-replace.  resolve any bugs in building.  work around
  pkg_rr not handling py313-foo when default is 312.  work around
  conflicts when files are moved from one package to another.   Really
  it's just pkg_delete -f, or -r, keep track of what's gone, and rebuild
  those, mostly, and it's easier than people who don't like pkg_rr make
  it out to be.

> My currently installed gnutls package is version 3.8.9nb1, so is
> the current version, and the exacutables in the package have
> yesterday's date, so it's been recently updated.  So this should
> not have anything to do with my currently installed gnutls
> package is too old.

Maybe your current problem is not about make update.

> I am therefore repeating my question:
>
> What does
>
>   $ cd /usr/pkgsrc/multimedia/ffmpeg7
>   $ make show-var VARNAME=PKG_BUILD_OPTIONS.gnutls
>
> output in your case?  In my case it outputs just a blank line,
> and I suspect that this causes my observed build problem.

On my netbsd-10 amd64 system with all packages up to date

  $ make show-var VARNAME=PKG_BUILD_OPTIONS.gnutls
   pkcs11

(yes, there's a space)


Have you set any options?
what does 'make show-options' show in gnutls?
What does pkg_info -L, and -B show for installed gnutls?
Is p11-kit installed?


Home | Main Index | Thread Index | Old Index