From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 25 14:00:22 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C22DA1065672 for ; Thu, 25 Aug 2011 14:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 891D88FC19 for ; Thu, 25 Aug 2011 14:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7PE0MEu014405 for ; Thu, 25 Aug 2011 14:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7PE0MYP014404; Thu, 25 Aug 2011 14:00:22 GMT (envelope-from gnats) Resent-Date: Thu, 25 Aug 2011 14:00:22 GMT Resent-Message-Id: <201108251400.p7PE0MYP014404@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Heesakkers Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 349FA106564A for ; Thu, 25 Aug 2011 13:57:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 240EB8FC1E for ; Thu, 25 Aug 2011 13:57:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7PDvlDU049854 for ; Thu, 25 Aug 2011 13:57:47 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7PDvleE049853; Thu, 25 Aug 2011 13:57:47 GMT (envelope-from nobody) Message-Id: <201108251357.p7PDvleE049853@red.freebsd.org> Date: Thu, 25 Aug 2011 13:57:47 GMT From: Oliver Heesakkers To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160184: graphics/jpeg2pdf is broken with ruby 1.9, but does not report it X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 14:00:22 -0000 >Number: 160184 >Category: ports >Synopsis: graphics/jpeg2pdf is broken with ruby 1.9, but does not report it >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 25 14:00:22 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Oliver Heesakkers >Release: 8.2-RELEASE-p1 amd64 >Organization: >Environment: >Description: Switching to ruby 1.9, I noticed that jpeg2pdf stopped to function. This is not evident in the build-process, but only when you want to use it: :29:in `require': /usr/local/lib/ruby/site_ruby/1.9/rpdf/document.rb:21: invalid multibyte char (US-ASCII) (SyntaxError) /usr/local/lib/ruby/site_ruby/1.9/rpdf/document.rb:21: invalid multibyte char (US-ASCII) /usr/local/lib/ruby/site_ruby/1.9/rpdf/document.rb:21: syntax error, unexpected $end, expecting keyword_end bytes << "���\n" # Ensure file transfer... ^ from :29:in `require' from /usr/local/lib/ruby/site_ruby/1.9/rpdf.rb:30:in `' from :29:in `require' from :29:in `require' from /usr/local/lib/ruby/site_ruby/1.9/jpeg2pdf.rb:30:in `' from :29:in `require' from :29:in `require' from /usr/local/bin/jpeg2pdf:33:in `
' >How-To-Repeat: Use graphics/jpeg2pdf with ruby 1.9 >Fix: I realized I could write a shell script calling ImageMagick and ghostscript to get the same functionality, so I've dropped this port entirely. The port needs either fixing or a warning to indicate that it's broken with ruby 1.9, something like: .if ${RUBY_VER} == 1.9 BROKEN= does not work with ruby 1.9 .endif >Release-Note: >Audit-Trail: >Unformatted: