Bug 212232

Summary: print/foomatic-filters: a wrong symlink
Product: Ports & Packages Reporter: fmysh
Component: Individual Port(s)Assignee: Tijl Coosemans <tijl>
Status: Closed FIXED    
Severity: Affects Some People CC: jrm
Priority: --- Flags: bugzilla: maintainer-feedback? (jrm)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
correct a symlink
none
svn diff to fix reported problem and bump PORTREVISION jrm: maintainer-approval+

Description fmysh 2016-08-29 06:02:19 UTC
Created attachment 174173 [details]
correct a symlink

/var/log/cups/error_log said

E [29/Aug/2016:10:20:27 +0900] ricoh-mp-c8002-1: File \"/usr/local/libexec/cups/filter/foomatic-rip\" not available: No such file or directory
E [29/Aug/2016:10:20:27 +0900] [Job 4024] Unable to start filter "foomatic-rip" - No such file or directory.
E [29/Aug/2016:10:20:27 +0900] [Job 4024] Stopping job because the scheduler could not execute a filter.

# ls -l /usr/local/libexec/cups/filter/foomatic-rip
lrwxr-xr-x  1 root  wheel  25 Aug 29 13:15 /usr/local/libexec/cups/filter/foomatic-rip -> ../../bin/foomatic-rip

It should need one more parent directory to point to /usr/local/bin/foomatic-rip.
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2016-08-29 13:16:18 UTC
If you're using CUPS it's probably better to use cups-filters instead of foomatic-filters.  Foomatic-filters is no longer developed and cups-filters contains a more recent version of foomatic-rip.
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2016-08-29 13:28:58 UTC
Created attachment 174182 [details]
svn diff to fix reported problem and bump PORTREVISION

Thanks.  I've also bumped PORTREVISON and tested with poudriere [1].

[1] http://pkg.awarnach.mathstat.dal.ca/data/10amd64-default/2016-08-29_10h23m44s/logs/foomatic-filters-4.0.17_9.log
Comment 3 Joseph Mingrone freebsd_committer freebsd_triage 2016-08-29 13:34:25 UTC
Tijl, what do you think about removing the port?  I can post to ports@ to gauge if anyone has reasons to prefer print/foomatic-filters over print/cups-filters.
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-08-29 15:02:23 UTC
A commit references this bug:

Author: tijl
Date: Mon Aug 29 15:02:18 UTC 2016
New revision: 421065
URL: https://svnweb.freebsd.org/changeset/ports/421065

Log:
  Fix the CUPS foomatic-rip symlink.

  PR:		212232
  Submitted by:	fmysh@iijmio-mail.jp
  Approved by:	jrm@ftfl.ca (maintainer)

Changes:
  head/print/foomatic-filters/Makefile
Comment 5 Tijl Coosemans freebsd_committer freebsd_triage 2016-08-29 15:08:01 UTC
(In reply to Joseph Mingrone from comment #3)
I would keep it for now.  It can be used without CUPS, it's low maintenance and others are still shipping it too.