Bug 207172

Summary: print/cups-filters: Don't update to 1.8.2
Product: Ports & Packages Reporter: Vladimir Omelchuk <admin>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: admin, cyberbotx, pi, tobik
Priority: --- Flags: cyberbotx: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-Makefile none

Description Vladimir Omelchuk 2016-02-13 23:27:12 UTC
Don't update cups-filters to version 1.8.2 (conflicts with foomatic-filters-4.0.17_4):

...
--->  Installing the new version via the port
===>  Installing for cups-filters-1.8.2
===>   cups-filters-1.8.2 depends on executable: pdftops - found
===>   cups-filters-1.8.2 depends on package: ghostscript9-base>=9.06_11 - found
===>   cups-filters-1.8.2 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so)
===>   cups-filters-1.8.2 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   cups-filters-1.8.2 depends on shared library: libijs.so - found (/usr/local/lib/libijs.so)
===>   cups-filters-1.8.2 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so)
===>   cups-filters-1.8.2 depends on shared library: libqpdf.so - found (/usr/local/lib/libqpdf.so)
===>   cups-filters-1.8.2 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   cups-filters-1.8.2 depends on shared library: libcups.so - found (/usr/local/lib/libcups.so)
===>   cups-filters-1.8.2 depends on shared library: libcupsimage.so - found (/usr/local/lib/libcupsimage.so)
===>   cups-filters-1.8.2 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   cups-filters-1.8.2 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   cups-filters-1.8.2 depends on shared library: libpoppler.so - found (/usr/local/lib/libpoppler.so)
===>   cups-filters-1.8.2 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   cups-filters-1.8.2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   Registering installation for cups-filters-1.8.2 as automatic
Installing cups-filters-1.8.2...
pkg-static: cups-filters-1.8.2 conflicts with foomatic-filters-4.0.17_4 (installs files into the same place).  Problematic file: /usr/local/libexec/cups/backend/beh
*** Error code 70

Stop.
make[2]: stopped in /usr/ports/print/cups-filters
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/cups-filters
*** Error code 1

Stop.
make: stopped in /usr/ports/print/cups-filters
Comment 1 Vladimir Omelchuk 2016-02-13 23:32:38 UTC
# uname -srm
FreeBSD 10.2-RELEASE-p12 amd64

# less /etc/make.conf
#BATCH=YES
#FORCE_PKG_REGISTER=YES
CPUTYPE?=core2
OPTIONS_SET=CUPS
WITHOUT_LPR=YES
DEFAULT_VERSIONS=apache=2.4
QT4_OPTIONS=CUPS NAS QGTKSTYLE
LOCALIZED_LANG=ru
DEFAULT_VERSIONS=perl5=5.20
MAKE_JOBS_UNSAFE=yes
DEFAULT_VERSIONS=mysql=5.7
Comment 2 Naram Qashat 2016-02-14 00:20:25 UTC
I think ideally, foomatic-filters should be marked as deprecated and eventually deleted. The functionality of foomatic-filters is contained in cups-filters.
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-14 05:57:51 UTC
Needs CONFLICTS.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-02-14 06:18:57 UTC
A commit references this bug:

Author: pi
Date: Sun Feb 14 06:18:09 UTC 2016
New revision: 408847
URL: https://svnweb.freebsd.org/changeset/ports/408847

Log:
  print/cups-filters, print/foomatic-filters: add CONFLICTS

  PR:		207172
  Submitted by:	admin@vladiom.com.ua

Changes:
  head/print/cups-filters/Makefile
  head/print/foomatic-filters/Makefile
Comment 5 Vladimir Omelchuk 2016-02-14 09:54:14 UTC
Created attachment 166976 [details]
patch-Makefile

See details: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207181
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2016-02-15 16:54:48 UTC
Conflict solved, thanks to Vladimir's patch. Thanks!