From owner-freebsd-ports@freebsd.org Mon Mar 27 05:52:00 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4394D1FE0D for ; Mon, 27 Mar 2017 05:52:00 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4A321C6B for ; Mon, 27 Mar 2017 05:52:00 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from localhost (localhost [127.0.0.1]) by btw.pki2.com (8.15.2/8.15.2) with ESMTP id v2R5pdJi081336; Sun, 26 Mar 2017 22:51:39 -0700 (PDT) (envelope-from freebsd@pki2.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pki2.com; s=pki2; t=1490593899; bh=jKWXH7yWTOVH3nmt1rr+8UZ0XyG5qCK+GTx71yADWEI=; h=Subject:From:To:Date:In-Reply-To:References; z=Subject:=20Re:=20cups-filters=201.13.4=20failures|From:=20Dennis= 20Glatting=20|To:=20Jonathan=20Chen=20,=20cyberbotx@cyberbotx.com,=20=0D=0A=09freebsd-ports@free bsd.org|Date:=20Sun,=2026=20Mar=202017=2022:51:39=20-0700|In-Reply -To:=20|References:=20=0D=0A=09; b=j5ekn92ofaeFlnYn8A6Yo4BdPaxutJqKKMVmxEDdMiargkfUkaaHd7HOqxX9ypeh9 O3zTZ5GQ0z6TKJ4lfMe9qxI0Hc9PVAc5BRyumy4Qw07EBEflXPUM8+EGJiq7LRCMBl CAPnBe+AHGjduDhl2ycshapBfcx1IZDhXphVv+JrtY5m4mUvkDUFREHM1W+/L54T52 fRT3/GUoi9vVt0sap3Puis6GOrMFeOHVUkPVPvH7ohlb9oiJGTC1RdcFIcuPtKcXhp 6wWjsNTCUuW0Hgo7xoqTOVVVEnXjN7eUO1tSsDI+HXZfunHP1cYNirOxTjabvtoUyA TXl+cwQVPlWvA== Message-ID: <1490593899.92309.115.camel@pki2.com> Subject: Re: cups-filters 1.13.4 failures From: Dennis Glatting To: Jonathan Chen , cyberbotx@cyberbotx.com, freebsd-ports@freebsd.org Date: Sun, 26 Mar 2017 22:51:39 -0700 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: v2R5pdJi081336 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 05:52:00 -0000 On Mon, 2017-03-27 at 18:37 +1300, Jonathan Chen wrote: > Hi, > > I recently updated to cups-filters 1.13.4, and it appears that I now > cannot print PDF files. The port is built with the default options. > The logs indicate: > > D [27/Mar/2017:17:24:32 +1300] [Job 631] Running command line for > pdftops: pdftops -level3 /var/spool/cups/tmp/0410d58dfd707 - > D [27/Mar/2017:17:24:32 +1300] [Job 631] Started filter pdftops (PID > 16655) > D [27/Mar/2017:17:24:32 +1300] [Job 631] Unable to execute pdftops > program: No such file or directory > D [27/Mar/2017:17:24:32 +1300] [Job 631] Started filter pstops (PID > 16656) > D [27/Mar/2017:17:24:32 +1300] [Job 631] PID 16655 (pdftops) stopped > with status 1! > D [27/Mar/2017:17:24:32 +1300] [Job 631] The print file is empty. > D [27/Mar/2017:17:24:32 +1300] [Job 631] PID 16656 (pstops) stopped > with status 1! > D [27/Mar/2017:17:24:32 +1300] [Job 631] Sent 0 bytes... > D [27/Mar/2017:17:24:32 +1300] [Job 631] Waiting for read thread to > exit... > D [27/Mar/2017:17:24:32 +1300] [Job 631] PID 16653 > (/usr/local/libexec/cups/filter/pdftops) stopped with status 1. > > I am not sure why its complaining that pdftops is not there because > both the filter and the main program are there: > 6:27pm# ls -l /usr/local/libexec/cups/filter/pdftops > -rwxr-xr-x  1 root  wheel  36672 25 Mar 15:05 > /usr/local/libexec/cups/filter/pdftops > 6:32pm# ls -l /usr/local/bin/pdftops > -rwxr-xr-x  1 root  wheel  18744  8 Jan 13:43 /usr/local/bin/pdftops* > > Is the filter looking for pdftops in the wrong place? > > 6:36pm# strings /usr/local/libexec/cups/filter/pdftops | grep > bin.pdftops > /usr/bin/pdftops > I have the same problem and traced it to something between pdftopdf and pdftops (pdftopdf exits with no errors). Pdftopdf creates a file in /var/spool/cups/tmp but when pdftops is called the file doesn't exist. No idea why. Changing permissions didn't help. Truss didn't help. To my surprise, swearing didn't help either. > Cheers.