From owner-freebsd-ports@FreeBSD.ORG Thu Jun 19 17:16:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280121065679 for ; Thu, 19 Jun 2008 17:16:06 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id E91B48FC1B for ; Thu, 19 Jun 2008 17:16:05 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K9Njr-0009f9-H7; Thu, 19 Jun 2008 13:16:04 -0400 Received: from FIREBALL (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id E4D9820B35E5; Thu, 19 Jun 2008 13:15:57 -0400 (EDT) From: "Greg Larkin" To: "'Howard Goldstein'" , References: <485A4381.509@queue.to> Date: Thu, 19 Jun 2008 13:15:10 -0400 Organization: SourceHosting.net, LLC Message-ID: <006001c8d230$07ea5500$0c01a8c0@FIREBALL> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <485A4381.509@queue.to> thread-index: AcjSAAoFJJNuTyl5SkeFemFQEDltbwAL2k7Q X-Spam-Score: -0.4 (/) Cc: Subject: RE: print/pdftk: Lonely orphan port needs attention (print/pdftk broken on 7.0 after gettext work (appx)) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@sourcehosting.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 17:16:06 -0000 > -----Original Message----- > From: owner-freebsd-ports@freebsd.org > [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Howard Goldstein > > pdftk was a handy utility for splitting and combining bits of .pdfs. > Given a list of .pdfs it could extract page ranges of input > .pdfs and combine them to produce a new .pdf. > > Breakage may have been inevitable since pdftk is so old and > unmaintained... It's also i386 only which seems to have > scared off potential maintainers, at least that's how it > looks perusing gnats. > > I'm not savvy enough to figure out why pdftk is locking up to > where only a -9 will kill it. It's very repeatable (one > input file, one output > file, immediate lockup). Through truss it looks like it's > waiting for > a child to terminate but I'm not savvy enough to trace what > happens to forked off processes. > > Would some kind soul take a look at this? Alternately, are > there other ports that support pulling page ranges out of > pdfs to generate new pdfs? > Hi Howard, I couldn't reproduce that problem on my FreeBSD 7.0 installation, but I have adopted the port and submitted a PR to upgrade it to version 1.41. If you have some time, please apply the patch I submitted (http://www.freebsd.org/cgi/query-pr.cgi?prp=124763-1-txt&n=/pdftk-1.41.patc h) to your ports tree and upgrade. If pdftk still locks up on you, please try the following command and forward the pdftk.log file to me: truss -f -s 256 -o /tmp/pdftk.log /usr/local/bin/pdftk Regards, Greg Larkin SourceHosting.net, LLC http://www.sourcehosting.net/