Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492562 - USE=taglib app-emacs/bongo depends on dev-ruby/ruby-taglib which is ruby18-only
Summary: USE=taglib app-emacs/bongo depends on dev-ruby/ruby-taglib which is ruby18-only
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL: https://github.com/dbrock/bongo/issues/5
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: ruby-1.8
  Show dependency tree
 
Reported: 2013-11-26 02:55 UTC by Manuel Rüger (RETIRED)
Modified: 2014-03-07 07:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2013-11-26 02:55:27 UTC
dev-lang/ruby:1.8 will be masked within a week.

Since ruby support looks optional for you package please either fix the bindings or remove the ruby support before that time.


Please consider to drop IUSE=taglib and dependency on dev-ruby/ruby-taglib
Comment 1 Ulrich Müller gentoo-dev 2013-11-26 07:26:48 UTC
(In reply to Manuel Rüger from comment #0)
> Since ruby support looks optional for you package please either fix the
> bindings

How? Looks like dev-ruby/ruby-taglib should be updated.

> or remove the ruby support before that time.

This would mean to remove a perfectly working feature from the package.
Comment 2 Hans de Graaff gentoo-dev Security 2013-11-26 10:54:10 UTC
(In reply to Ulrich Müller from comment #1)
> (In reply to Manuel Rüger from comment #0)
> > Since ruby support looks optional for you package please either fix the
> > bindings
> 
> How? Looks like dev-ruby/ruby-taglib should be updated.

Agreed. I had another look at this but the code is really not compatible with ruby 1.9 and newer. Upstream should have released a new, compatible, version already since the ruby 1.8 deprecation has been known for quite some time.

> 
> > or remove the ruby support before that time.
> 
> This would mean to remove a perfectly working feature from the package.

Yes, unfortunate. But it will not be working perfectly in the future because ruby 1.8 support has officially stopped since this summer and there are now open security bugs for it.

http://robinst.github.io/taglib-ruby/ looks to be a different package aiming at the same goal. I'm not sure if it would be compatible with bongo.
Comment 3 Hans de Graaff gentoo-dev Security 2013-11-26 20:01:21 UTC
(In reply to Hans de Graaff from comment #2)

> http://robinst.github.io/taglib-ruby/ looks to be a different package aiming
> at the same goal. I'm not sure if it would be compatible with bongo.

It isn't.

[0.00%] Processing `/home/graaff/Media/Music/talk_talk/spirit_of_eden/'...tree-from-tags.rb:213:in `rescue in block in <main>': uninitialized constant TagLib::BadFile (NameError)
	from tree-from-tags.rb:230:in `block in <main>'
	from /usr/lib64/ruby/1.9.1/find.rb:41:in `block in find'
	from /usr/lib64/ruby/1.9.1/find.rb:40:in `catch'
	from /usr/lib64/ruby/1.9.1/find.rb:40:in `find'
	from tree-from-tags.rb:155:in `<main>'

I've filed an upstream bug to get this fixed, hopefully in time.
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2014-03-07 00:43:01 UTC
dev-ruby/ruby-taglib will be pmasked in a week due to ruby18 removal.

I'm going to add a package.use.mask entry for app-emacs/bongo taglib then. 

Please remove the USE-Flag and clean up the pmask afterwards.
Comment 5 Ulrich Müller gentoo-dev 2014-03-07 07:34:40 UTC
taglib USE flag removed.

Resolving as UPSTREAM, see URL for upstream bug report.