Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253514 - dev-games/simgear creates a second static copy of libexpat
Summary: dev-games/simgear creates a second static copy of libexpat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2009-01-03 07:12 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2012-09-21 22:38 UTC (History)
3 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-03 07:12:42 UTC
I noticed this because flightgear reports bundled libraries that it doesn't have:

 * Flameeyes QA Warning! Possibly bundled libraries
XML_Parse  /var/tmp/portage/games-simulation/flightgear-1.0.0/image/usr/games/bin/yasim
XML_Parse  /var/tmp/portage/games-simulation/flightgear-1.0.0/image/usr/games/bin/fgfs
XML_Parse  /var/tmp/portage/games-simulation/flightgear-1.0.0/image/usr/games/bin/fgjs

Checking, I can see this:

i686-pc-linux-gnu-g++  -O2 -pipe -D_REENTRANT  -Wl,-O1 -L/usr/games/lib -L/usr/X11R6/lib -L/usr/local/lib -o yasim yasim-test.o Airplane.o Atmosphere.o ControlMap.o FGFDM.o Gear.o Glue.o Ground.o Hitch.o Hook.o Launchbar.o Integrator.o Jet.o Math.o Model.o PropEngine.o Propeller.o PistonEngine.o TurbineEngine.o RigidBody.o Rotor.o Rotorpart.o SimpleJet.o Surface.o Thruster.o Wing.o Turbulence.o -lsgxml -lsgprops -lsgdebug -lsgmisc -lsgstructure -ldl -lm  

and indeed -lsgxml picks up /usr/lib/libsgxml.a which is an expat derivation.

By the way would be nice if it installed shared libraries instead of static ones.
Comment 1 Christian Schmitt 2012-09-17 10:16:43 UTC
A fix for this has been recently added to simgear:

http://mapserver.flightgear.org/git/gitweb.pl?p=simgear;a=commit;h=ddbb2bea8a2a246a161c053bc16f11037dd7660f

If needed, this can be backported to 2.8
Comment 2 Maciej Mrozowski gentoo-dev 2012-09-21 22:38:47 UTC
Fixed in 2.8.0-r1.