Bug 128817 - Error running oletool from rubygem-ruby-ole package
Summary: Error running oletool from rubygem-ruby-ole package
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-12 15:40 UTC by Chris Calvey
Modified: 2008-11-13 15:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Calvey 2008-11-12 15:40:01 UTC
In an attempt to run the oletool utility supplied with this Ruby Gem the following errors are produced:

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- iconv (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/ruby-ole-1.2.8.1/lib/ole/types/base.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/ruby-ole-1.2.8.1/lib/ole/types.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/ruby-ole-1.2.8.1/lib/ole/storage/base.rb:4
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/ruby-ole-1.2.8.1/lib/ole/storage.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from /usr/local/lib/ruby/gems/1.8/gems/ruby-ole-1.2.8.1/bin/oletool:5
        from /usr/local/bin/oletool:19:in `load'
        from /usr/local/bin/oletool:19

How-To-Repeat: oletool --help
Comment 1 Chris Calvey 2008-11-12 15:54:56 UTC
I found the problem. This package depends on ruby18-iconv package.
ruby18-iconv should be listed as a dependency of this package.

Thanks
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2008-11-12 16:02:01 UTC
Would installing converters/ruby-iconv help?

Alexander, can you look into this?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Ah I don't know what you mean, so I'll just sit here and smile at you :)
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2008-11-12 16:02:07 UTC
State Changed
From-To: open->feedback

Polling feedback 


Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2008-11-12 16:02:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Polling feedback
Comment 5 Alexander Logvinov 2008-11-13 14:29:41 UTC
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/rubygem-ruby-ole/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	1 Nov 2008 22:16:32 -0000	1.1
+++ Makefile	13 Nov 2008 14:24:03 -0000
@@ -7,13 +7,15 @@
 
 PORTNAME=	ruby-ole
 PORTVERSION=	1.2.8.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RF
 
 MAINTAINER=	ports@logvinov.com
-COMMENT=	A library for easy read/write access to OLE compound documents for Ruby
+COMMENT=	A library for easy read/write access to OLE compound documents
 
 USE_RUBY=	yes
+USE_RUBY_FEATURES=	iconv
 USE_RUBYGEMS=	yes
 
 post-install:
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2008-11-13 15:14:58 UTC
State Changed
From-To: feedback->closed

Fixed, thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2008-11-13 15:15:45 UTC
pav         2008-11-13 15:15:37 UTC

  FreeBSD ports repository

  Modified files:
    devel/rubygem-ruby-ole Makefile 
  Log:
  - Add iconv module as a runtime dependency
  
  PR:             ports/128817
  Reported by:    Chris Calvey <chris@intelforensics.co.uk>
  Submitted by:   Alexander Logvinov <ports@logvinov.com> (maintainer)
  
  Revision  Changes    Path
  1.2       +3 -1      ports/devel/rubygem-ruby-ole/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"