pkgsrc-Bugs archive

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

pkg/59363: print/poppler: bin-install doesn't work with old curl package in $PACKAGES



>Number:         59363
>Category:       pkg
>Synopsis:       print/poppler: bin-install doesn't work with old curl package in $PACKAGES
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 26 20:15:00 +0000 2025
>Originator:     Robert Whitlock
>Release:        pkgsrc current, April 26, 2025
>Organization:
>Environment:
NetBSD current, March 7, 2025, amd64
>Description:
There is a curl-8.12.1 package in $PACKAGES that keeps getting used by print/poppler's bin-install even though it then errors out saying that it's too old.
>How-To-Repeat:
thinkpad# pkg_info | grep curl
curl-8.12.1         Client that groks URLs
thinkpad# pkg_delete -r curl
thinkpad# pkg_info | grep curl
thinkpad# pwd
/usr/pkgsrc/print/poppler
thinkpad# rm -rf /usr/pkg-work/*
thinkpad# make bin-install
===> Binary install for poppler-24.10.0nb8
=> Installing poppler-24.10.0nb8 from /usr/pkg-packages/All
pkg_add: no pkg found for 'poppler-24.10.0nb8', sorry.
pkg_add: 1 package addition failed
=> No binary package found for poppler-24.10.0nb8; installing from source.
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for poppler-24.10.0.tar.xz
=> Checksum SHA512 OK for poppler-24.10.0.tar.xz
===> Installing dependencies for poppler-24.10.0nb8
==========================================================================
The following variables will affect the build process of this package,
poppler-24.10.0nb8.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo
        * PYPACKAGE = python312

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency ccache-[0-9]*: found ccache-3.7.12nb2
=> Tool dependency cmake>=0: NOT found
=> Verifying bin-install for ../../devel/cmake
===> Binary install for cmake>=0
=> Installing cmake>=0 from /usr/pkg-packages/All
cmake-3.31.6 successfully installed.
=> Returning to build of poppler-24.10.0nb8
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5
=> Tool dependency python312>=3.12: found python312-3.12.9
=> Tool dependency mktools-[0-9]*: found mktools-20250213
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency boost-headers-1.87.*: found boost-headers-1.87.0nb3
=> Build dependency gobject-introspection>=1.76.1nb1: found gobject-introspection-1.82.0
=> Build dependency x11-links>=1.36: found x11-links-1.36
=> Full dependency boost-libs-1.87.*: found boost-libs-1.87.0nb1
=> Full dependency boost-libs>=1.87.0: found boost-libs-1.87.0nb1
=> Full dependency cairo>=1.18.0nb2: found cairo-1.18.2
=> Full dependency curl>=8.13.0nb2: NOT found
=> Verifying bin-install for ../../www/curl
===> Binary install for curl>=8.13.0nb2
ERROR: curl-8.12.1 is already installed - perhaps an older version?
ERROR: If so, you may wish to ``pkg_delete curl-8.12.1'' and install
ERROR: this package again by ``/usr/bin/make bin-install'' to upgrade it properly.
*** Error code 1

Stop.
make[3]: stopped making "su-do-bin-install" in /usr/pkgsrc/www/curl
*** Error code 1

Stop.
make[2]: stopped making "bin-install" in /usr/pkgsrc/www/curl
*** Error code 1

Stop.
make[1]: stopped making "package-install" in /usr/pkgsrc/print/poppler
*** Error code 1

Stop.
make: stopped making "bin-install" in /usr/pkgsrc/print/poppler
thinkpad# pkg_info | grep curl
curl-8.12.1         Client that groks URLs
thinkpad# ^D
>Fix:



Home | Main Index | Thread Index | Old Index