Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361195 - dev-libs/libprelude: Multiple problems in handling of bindings
Summary: dev-libs/libprelude: Multiple problems in handling of bindings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 329903 (view as bug list)
Depends on:
Blocks: 318839
  Show dependency tree
 
Reported: 2011-03-29 23:14 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-03-31 01:28 UTC (History)
2 users (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 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.