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

Bug 258720

Summary: games-action/powermanga-0.90 fails to compile (missing libXxf86dga when linking)
Product: Gentoo Linux Reporter: me
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description me 2009-02-12 11:46:29 UTC
games-action/powermanga-0.90 attempts to link against libXxf86dga, however x11-libs/libXxf86dga is not listed as dependency.  Thus compilation fails, if x11-libs/libXxf86dga is not installed.

Reproducible: Always

Steps to Reproduce:
1. emerge games-action/powermanga-0.90
Actual Results:  
Build fails when linking the executable:

x86_64-pc-linux-gnu-gcc -DPREFIX=\"/usr\" -DSCOREFILE=\"/var/games/powermanga.hi\" -I -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wall -std=c99  -Wl,-O1 -Wl,--as-needed -lSDL -lpthread -o powermanga powermanga-bonus.o powermanga-counter_shareware.o powermanga-congratulations.o powermanga-config_file.o powermanga-curve_phase.o powermanga-display.o powermanga-display_sdl.o powermanga-display_x11.o powermanga-electrical_shock.o powermanga-enemies.o powermanga-energy_gauge.o powermanga-explosions.o powermanga-extra_gun.o powermanga-gfx_wrapper.o powermanga-grid_phase.o powermanga-guardians.o powermanga-images.o powermanga-inits_game.o powermanga-lispreader.o powermanga-lonely_foes.o powermanga-main.o powermanga-menu.o powermanga-menu_sections.o powermanga-meteors_phase.o powermanga-movie.o powermanga-options_panel.o powermanga-powermanga.o powermanga-scalebit.o powermanga-scale2x.o powermanga-scale3x.o powermanga-sdl_mixer.o powermanga-satellite_protections.o powermanga-scrolltext.o powermanga-spaceship.o powermanga-spaceship_weapons.o powermanga-special_keys.o powermanga-sprites_string.o powermanga-shots.o powermanga-shockwave.o powermanga-script_page.o powermanga-starfield.o powermanga-text_overlay.o powermanga-texts.o powermanga-tools.o powermanga-gfxroutines.o -lpng -L -lXext -lXxf86dga -lSDL_mixer -lSDL -lpthread                                                            
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXxf86dga                                                       
collect2: ld returned 1 exit status                                                                                                                         
make[2]: *** [powermanga] Error 1                                                                                                                           
make[2]: Leaving directory `/var/tmp/paludis/games-action-powermanga-0.90/work/powermanga-0.90/src'                                                         
make[1]: *** [all-recursive] Error 1                                                                                                                        
make[1]: Leaving directory `/var/tmp/paludis/games-action-powermanga-0.90/work/powermanga-0.90'                                                             
make: *** [all] Error 2                                                                                                                                     
/usr/libexec/paludis/utils/emake: emake returned error 2
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-02-12 16:23:49 UTC
x11-libs/libXxf86dga is pulled in by xorg-x11.  How is it you don't have it installed?  Please reopen with the output from emerge --info
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-02-12 16:40:27 UTC
well, nyhm points out that xorg-x11 isn't in the dep tree.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-02-12 16:40:43 UTC
... so I added more deps.  Thanks for the bug report.