Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688626 - =dev-games/openscenegraph-3.6.5-r1 links against bundled Lua
Summary: =dev-games/openscenegraph-3.6.5-r1 links against bundled Lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest QA (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on: 773310
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2019-06-24 18:26 UTC by Toralf Förster
Modified: 2021-03-02 00:23 UTC (History)
2 users (show)

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


Attachments
dev-games:openscenegraph-3.5.5:20190624-023751.log.bz2 (dev-games:openscenegraph-3.5.5:20190624-023751.log.bz2,180.16 KB, application/x-bzip)
2019-06-24 18:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.31 KB, application/x-bzip)
2019-06-24 18:27 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-24 18:26:58 UTC
QA: other
One or more CMake variables were not used by the project:
  GENTOO_DOCDIR
  WITH_Lua
  WITH_Lua51

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-plasma-systemd_20190619-191525

  -------------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2019-06-24 18:27:01 UTC
Created attachment 580640 [details]
dev-games:openscenegraph-3.5.5:20190624-023751.log.bz2
Comment 2 Toralf Förster gentoo-dev 2019-06-24 18:27:04 UTC
Created attachment 580642 [details]
etc.portage.tbz2
Comment 3 Maciej Mrozowski gentoo-dev 2020-10-06 20:00:00 UTC
Update for osg-3.6.5

    CMAKE_DISABLE_FIND_PACKAGE_Lua51
    CMAKE_DISABLE_FIND_PACKAGE_Lua52

Harmless, buildsystem has two find_package() directives but second is behind conditional so will not always produce CMake option. And ebuild just relies on both present. Not really worth "fixing".
Comment 4 Marek Szuba gentoo-dev 2020-12-21 23:14:03 UTC
Unfortunately in case of 3.6.5-r1 there is another problem here manifesting in the same fashion - the two Lua-related find_package calls these variables attempt to override are only invoked if ${OSG_USE_LOCAL_LUA_SOURCE} evaluates to false, and this ebuild leaves said variable at its default value of ON. This means that the OpenSceneGraph Lua plug-in is a) linked against bundled liblua, and b) built regardless of whether USE=lua has been set or not

Among the dev-games/openscenegraph ebuilds currently in the tree only 3.6.5-r1 exhibits this problem, as both 3.6.4 and 3.6.5-r100 do set -DOSG_USE_LOCAL_LUA_SOURCE=OFF in src_configure.
Comment 5 Maciej Mrozowski gentoo-dev 2021-02-27 17:23:40 UTC
Let's stabilize -r100 then and drop the rest. Why did you call it -r100, -r2 was not good enough? ;)
Comment 6 Maciej Mrozowski gentoo-dev 2021-02-27 17:34:30 UTC
I created https://bugs.gentoo.org/773310