Monday, May 29, 2017

cups-filter: libtasn1 depends

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 ?

Thanks.
--
Sebastien Marie


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

No comments:

Post a Comment