On Tue, May 30, 2017 at 07:55:34AM BST, Antoine Jacoutot wrote:
> On Tue, May 30, 2017 at 06:56:16AM +0200, Sebastien Marie wrote:
> > Hi,
> >
> > Today, when updating my hosts, I saw this odd error message:
> >
> > # pkg_add -u
> > quirks-2.325 signed on 2017-05-29T19:16:18Z
> > Can't install cups-filters-1.14.0p1 because of libraries
> > |library tasn1.3.6 not found
> > | /usr/local/lib/libtasn1.so.3.5 (libtasn1-4.10): minor is too small
> >
> > It was odd because I knew libtasn1 should be updated too.
> >
> > In fact, it seems that cups-filter has WANTLIB for tasn1 (so pkg_add
> > checks if the right version is here before installing the pacakge), but
> > has no LIB_DEPENDS for tasn1: it will not first update libtasn1 package
> > before upgrading cups-filter.
> >
> > It is what occurs here: just rerunning pkg_add -u updated cups-filter
> > (as libtasn1 has been update after the previous error).
> >
> > So just adding security/libtasn1 to LIB_DEPENDS ?
>
> I don't why this should be needed.
> cups-filters -> print/cups,-libs -> security/gnutls -> security/libtasn1
Not sure if the above is the proper way to fix it but it's not just
cups-filters that's affected:
# pkg_add -u
quirks-2.325 signed on 2017-05-29T19:16:18Z
quirks-2.325->2.325: ok
Can't install gimp-2.8.18p4 because of libraries
|library tasn1.3.6 not found
| /usr/local/lib/libtasn1.so.3.5 (libtasn1-4.10): minor is too small
Direct dependencies for gimp-2.8.18p4->2.8.18p4 resolve to python-2.7.13p1 gtk+2-2.24.31p1 poppler-0.52.0 curl-7.54.0 py-gtk2-2.24.0p4 ghostscript-9.07p4 libexif-0.6.21p0 desktop-file-utils-0.23 libmng-1.0.10p3 libiconv-1.14p3 tiff-4.0.8 gtk-update-icon-cache-3.22.15 dbus-glib-0.108v0 aalib-1.4p6 gettext-0.19.8.1 libexecinfo-0.3p0v0 gegl-0.2.0p3 libwmf-0.2.8.4p4
Full dependency tree is gtk-update-icon-cache-3.22.15 gnome-icon-theme-symbolic-3.12.0p2 cups-libs-2.2.3 nghttp2-1.22.0 jbig2dec-0.11 libxml-2.9.4p0 glib2-2.52.2 libwmf-0.2.8.4p4 libcroco-0.6.12 babl-0.1.26 jpeg-1.5.1p0v0 ijs-0.35p2 ghostscript-9.07p4 harfbuzz-1.4.6 libmng-1.0.10p3 libidn2-2.0.0 graphite2-1.3.10 gdk-pixbuf-2.36.6 hicolor-icon-theme-0.15 librsvg-2.40.17 jasper-1.900.1p5 p11-kit-0.23.2p0 libexecinfo-0.3p0v0 lapack-3.1.1p5 libdaemon-0.14p1 py-cairo-1.12.0 cairo-1.14.8 poppler-0.52.0 xz-5.2.3p0 gtk+2-2.24.31p1 python-2.7.13p1 py-gtk2-2.24.0p4 curl-7.54.0 libexif-0.6.21p0 libunistring-0.9.7 dbus-daemon-launch-helper-1.10.18 libiconv-1.14p3 tiff-4.0.8 dbus-glib-0.108v0 py-gobject-2.28.6p6v0 atk-2.24.0 aalib-1.4p6 libnettle-3.3p0 avahi-0.6.32p0 sqlite3-3.17.0 ghostscript-fonts-8.11p3 gettext-0.19.8.1 py-setuptools-28.6.1p0v0 gegl-0.2.0p3 png-1.6.29 shared-mime-info-1.8 libf2c-3.3.6p10 py-numpy-1.9.2p0 desktop-file-utils-0.23 gdbm-1.12p0 libtasn1-4.10 bzip2-1.0.6p8 gcc-libs-4.9.4p4 gmp-6.1.2 blas-1.0p7 gnome-icon-theme-3.12.0p3 pango-1.40.6 lzo2-2.10 openjp2-2.1.2 dbus-1.10.18p0v0 lcms2-2.7 libelf-0.8.13p3 lcms-1.19 gnutls-3.5.12 pcre-8.38p0 libglade2-2.6.4p13v0 libffi-3.2.1p2 poppler-data-0.4.7
However, the very next package updates the dependency just fine:
glib2-networking-2.50.0p2:libtasn1-4.10->4.11: ok
glib2-networking-2.50.0p2:p11-kit-0.23.2p0->0.23.2p0: ok
glib2-networking-2.50.0p2:gnutls-3.5.12->3.5.12: ok
glib2-networking-2.50.0p2->2.50.0p2: ok
[...]
Regards,
Raf
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/print/cups-filters/Makefile,v
> > retrieving revision 1.111
> > diff -u -p -r1.111 Makefile
> > --- Makefile 27 May 2017 19:57:06 -0000 1.111
> > +++ Makefile 30 May 2017 04:52:23 -0000
> > @@ -7,7 +7,7 @@ COMMENT= OpenPrinting CUPS filters
> >
> > DISTNAME= cups-filters-1.14.0
> > CATEGORIES= print
> > -REVISION= 1
> > +REVISION= 2
> >
> > SHARED_LIBS += cupsfilters 1.1 # 1.0
> > SHARED_LIBS += fontembed 0.0 # 1.0
> > @@ -46,7 +46,8 @@ RUN_DEPENDS= print/ghostscript/gnu \
> > LIB_DEPENDS= print/cups,-libs \
> > print/ijs \
> > print/poppler \
> > - print/qpdf
> > + print/qpdf \
> > + security/libtasn1
> >
> > # make it easier for users: bring in foomatic-db and allow the
> > # regeneration of PPD files from share/foomatic/db/source/*/*.xml
> >
>
> --
> Antoine
>
No comments:
Post a Comment