From nobody@FreeBSD.org  Thu Aug 25 13:57:48 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 349FA106564A
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <dev2@heesakkers.info>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/jpeg2pdf is broken with ruby 1.9, but does not report it
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: ports@c0decafe.net

>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:    swills
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 25 14:00:22 UTC 2011
>Closed-Date:    Sat Oct 22 17:44:49 UTC 2011
>Last-Modified:  Sat Oct 22 17:50:07 UTC 2011
>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:

<internal:lib/rubygems/custom_require>: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 << "&#65533;&#65533;&#65533;\n"  # Ensure file transfer...
                  ^
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /usr/local/lib/ruby/site_ruby/1.9/rpdf.rb:30:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /usr/local/lib/ruby/site_ruby/1.9/jpeg2pdf.rb:30:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from /usr/local/bin/jpeg2pdf:33:in `<main>'

>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Aug 25 14:00:32 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160184 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: ports@c0decafe.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/160184: graphics/jpeg2pdf is broken with ruby 1.9, but does not report it
Date: Thu, 25 Aug 2011 14:00:30 UT

 Maintainer of graphics/jpeg2pdf,
 
 Please note that PR ports/160184 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160184
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: swills 
Responsible-Changed-When: Sat Oct 22 17:43:46 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160184 
State-Changed-From-To: feedback->closed 
State-Changed-By: swills 
State-Changed-When: Sat Oct 22 17:44:48 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160184 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160184: commit references a PR
Date: Sat, 22 Oct 2011 17:44:55 +0000 (UTC)

 swills      2011-10-22 17:44:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/jpeg2pdf    Makefile 
   Log:
   - Mark broken with Ruby 1.9 (builds OK, doesn't run)
   
   PR:             ports/160184
   Submitted by:   Oliver Heesakkers <dev2@heesakkers.info>
   Approved by:    maintainer timeout (>9 weeks)
   
   Revision  Changes    Path
   1.2       +7 -1      ports/graphics/jpeg2pdf/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
