Bug 212232 - print/foomatic-filters: a wrong symlink
Summary: print/foomatic-filters: a wrong symlink
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-29 06:02 UTC by fmysh
Modified: 2016-08-29 15:08 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jrm)


Attachments
correct a symlink (608 bytes, patch)
2016-08-29 06:02 UTC, fmysh
no flags Details | Diff
svn diff to fix reported problem and bump PORTREVISION (706 bytes, patch)
2016-08-29 13:28 UTC, Joseph Mingrone
jrm: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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 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 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 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.