Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214107 - eternal-lands-1.5.0-r1: fails compilation with debug USE
Summary: eternal-lands-1.5.0-r1: fails compilation with debug USE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-20 23:58 UTC by Jose Marino
Modified: 2008-03-22 13:15 UTC (History)
1 user (show)

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


Attachments
eternal-lands-1.5.0-r1.ebuild.patch (eternal-lands-1.5.0-r1.ebuild.patch,442 bytes, patch)
2008-03-21 00:00 UTC, Jose Marino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Marino 2008-03-20 23:58:53 UTC
Game eternal-lands-1.5.0-r1 fails at the end of compilation when the USE flag debug is set.
Note: I'd say this problem affects all archs, but I've only tested it in amd64.

Reproducible: Always

Steps to Reproduce:
1. Do: USE="debug" emerge =eternal-lands-1.5.0-r1
2.
3.

Actual Results:  
Compilation fails at the very end during linking.

Expected Results:  
Package should install and compile.

I'll attach an ebuild patch that fixes this.
In any case, this is the error from the compilation:

gcc -march=k8 -O2 -pipe -ggdb -DDATA_DIR=\"/usr/share/games/eternal-lands/\" -DX86_64 -DUSE_ACTOR_DEFAULTS -DGL_EXTENSION_CHECK -DMEMORY_DEBUG  -DLINUX -DELC  -DAFK_FIX  -DALPHA_ACTORS  -DATI_9200_FIX  -DAUTO_UPDATE  -DCLICKABLE_CONTINENT_MAP  -DCLUSTER_INSIDES  -DCOUNTERS  -DCUSTOM_LOOK  -DCUSTOM_UPDATE  -DCXX_MISC  -DEYE_CANDY  -DFONTS_FIX  -DFUZZY_PATHS  -DIDLE_FIX  -DMASKING  -DMINES  -DMINIMAP  -DNEW_ACTOR_ANIMATION  -DNEW_ACTOR_SCALE  -DNEW_FILE_IO  -DNEW_SOUND  -DNEW_TEX  -DNOTEPAD  -DOGG_VORBIS  -DOPTIONS_I18N  -DPNG_SCREENSHOT  -DPOPUP  -DSFX  -DSIMPLE_LOD  -DUSE_INLINE  -DUSE_SEND_VIDEO_INFO  -DZLIB -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -fno-strict-aliasing  -lSDL -lpthread -lxml2 -lz -lm -lSDL_net -lSDL_image -lopenal -l alut -L/usr/X11R6/lib -lGL -lGLU -lcal3d -lm  -lalut                      -lpng                  -lz        -lvorbis -lvorbisfile    -lpng            -lz -o el.x86.linux.bin 2d_objects.o 3d_objects.o actor_scripts.o actors.o alphamap.o asc.o astrology.o bbox_tree.o books.o buddy.o bags.o cache.o cal.o chat.o cluster.o colors.o console.o consolewin.o counters.o cursors.o dialogues.o draw_scene.o elconfig.o elwindows.o encyclopedia.o errors.o events.o filter.o font.o framebuffer.o frustum.o gamewin.o gl_init.o hud.o help.o highlight.o ignore.o init.o interface.o items.o io/e3d_io.o io/elc_io.o	io/map_io.o keys.o knowledge.o langselwin.o lights.o list.o load_gl_extensions.o loginwin.o loading_win.o main.o manufacture.o map.o mapwin.o md5.o mines.o misc.o multiplayer.o new_actors.o new_character.o openingwin.o particles.o paste.o pathfinder.o pm_log.o questlog.o queue.o reflection.o	rules.o skills.o serverpopup.o servers.o session.o shadows.o sound.o spells.o stats.o storage.o tabs.o text.o textures.o tile_map.o timers.o translate.o trade.o update.o url.o weather.o widgets.o                                  minimap.o      io/elpathwrapper.o io/xmlcallbacks.o      notepad.o        popup.o  special_effects.o         cal3d_wrapper.o                    exceptions/extendedexception.o xml/xmlhelper.o  eye_candy_wrapper.o eye_candy/eye_candy.o eye_candy/math_cache.o eye_candy/effect_lamp.o eye_candy/effect_candle.o eye_candy/effect_campfire.o eye_candy/effect_fountain.o eye_candy/effect_teleporter.o eye_candy/effect_firefly.o eye_candy/effect_sword.o eye_candy/effect_summon.o eye_candy/effect_selfmagic.o eye_candy/effect_targetmagic.o eye_candy/effect_ongoing.o eye_candy/effect_impact.o eye_candy/effect_smoke.o eye_candy/effect_bag.o eye_candy/effect_cloud.o eye_candy/effect_harvesting.o eye_candy/effect_wind.o eye_candy/effect_breath.o eye_candy/effect_mines.o eye_candy/orbital_mover.o eye_candy/kepler_orbit.o                  io/elfilewrapper.o io/elfile.o io/zipfilesystem.o                      sendvideoinfo.o  
list.o: In function `list_append':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/list.c:76: undefined reference to `elm_malloc'
list.o: In function `list_push':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/list.c:11: undefined reference to `elm_malloc'
list.o: In function `list_pop':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/list.c:34: undefined reference to `elm_free'
list.o: In function `list_remove_node':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/list.c:65: undefined reference to `elm_free'
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/list.c:65: undefined reference to `elm_free'
main.o: In function `cleanup_mem':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:96: undefined reference to `elm_free'
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:114: undefined reference to `elm_free'
main.o:/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:156: more undefined references to `elm_free' follow
main.o: In function `main':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:291: undefined reference to `elm_init'
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:306: undefined reference to `elm_cleanup'
main.o: In function `cleanup_mem':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/main.c:116: undefined reference to `elm_free'
queue.o: In function `queue_delete_node':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:93: undefined reference to `elm_free'
queue.o: In function `queue_pop':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:60: undefined reference to `elm_free'
queue.o: In function `queue_destroy':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:148: undefined reference to `elm_free'
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:152: undefined reference to `elm_free'
queue.o: In function `queue_push':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:27: undefined reference to `elm_malloc'
queue.o: In function `queue_initialise':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:9: undefined reference to `elm_malloc'
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:11: undefined reference to `elm_malloc'
queue.o: In function `queue_destroy':
/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/work/elc/queue.c:155: undefined reference to `elm_free'
collect2: ld returned 1 exit status
make: *** [el.x86.linux.bin] Error 1
 * 
 * ERROR: games-rpg/eternal-lands-1.5.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2612:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-rpg/eternal-lands-1.5.0-r1/temp/environment'.
 *
Comment 1 Jose Marino 2008-03-21 00:00:53 UTC
Created attachment 146727 [details, diff]
eternal-lands-1.5.0-r1.ebuild.patch
Comment 2 Richard Freeman gentoo-dev 2008-03-21 12:42:56 UTC
Thanks for the patch - I'll get that tested/committed shortly...
Comment 3 Richard Freeman gentoo-dev 2008-03-22 13:15:42 UTC
Ok, patch committed.  I patched all three makefiles.  I've cleaned up some of the extra makefiles and will introduce the new ebuilds on the next version bump.