Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361195

Summary: dev-libs/libprelude: Multiple problems in handling of bindings
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: dgreenbe, qa
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 318839    

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-29 23:14:07 UTC
- dev-libs/libprelude[easy-bindings] has automagic dependencies on dev-lang/lua
  and dev-lang/ruby.
- dev-libs/libprelude[easy-bindings] installs a *.la file in Ruby directory.
- dev-libs/libprelude[easy-bindings] installs
  /usr/$(get_libdir)/PreludeEasy.la, which is most likely not used by Lua.
- "swig" USE flag is described as "Enable rebuild of swig bindings". This USE
  flag does not affect Lua, Python and Ruby bindings. These bindings probably
  would be rebuilt if some files (pregenerated by SWIG) were manually removed.
- dev-libs/libprelude[easy-bindings,-swig] fails to build Perl high-level
  ("easy") bindings. (Build system tries to build these bindings, which
  results in ignored errors.)
- dev-libs/libprelude[swig] has no dependency on dev-lang/swig.
- dev-libs/libprelude[-perl] has dependency on dev-lang/perl.


I suggest to:
- Remove "swig" USE flag, and unconditionally depend on dev-lang/swig and pass
  --with-swig, when any USE flag corresponding to bindings is enabled.
- Add "lua" and "ruby" USE flags.
- || (
       - Remove "easy-bindings" USE flags and always install high-level
         bindings.
       - Make USE="lua -easy-bindings" or USE="ruby -easy-bindings" trigger
         an error.
      )
- Fix remaining problems.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-31 00:42:23 UTC
*** Bug 329903 has been marked as a duplicate of this bug. ***
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-31 01:28:35 UTC
Apparently this package is generally unmaintained, so I have fixed this bug.