First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 109793
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: UncleOwen <anakin.skyw@gmx.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
smac-6.0a.ebuild.diff Patch to pass "${dir}" to games_make_wrapper as $libdir patch UncleOwen 2005-10-20 04:12 0000 535 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109793 depends on: Show dependency tree
Show dependency graph
Bug 109793 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-19 04:43 0000
smac: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"'
failed.

BUG!  Exception triggered, cleaning up.
Sid Meier's Alpha Centauri 6.0a
Built with glibc-2.1 on x86
Please send the text of the failed assertion,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent - exiting 

This is what I get, when I start smac[x], click Multiplayer, Internet Game.

http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/eutils.eclass?r1=text&tr1=1.200&r2=text&tr2=1.201&diff_format=h
seems to be the change that broke it.

I think, there are actually 2 bugs:
- smac-6.0a.ebuild fails to pass /opt/smac as ${4} to make_games_wrapper
- make_wrapper changes LD_LIBRARY_PATH only if it is already set - why?

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Mr. Bones. 2005-10-19 08:18:44 0000 -------
remerge smac and see if it's still a problem.  eutils is at 1.209 right now.

------- Comment #2 From UncleOwen 2005-10-19 09:35:49 0000 -------
Did emerge --sync && emerge smac, no change, still the same error.

------- Comment #3 From Mr. Bones. 2005-10-19 09:55:21 0000 -------
The wrapper script has change though, right?  So rediff with the wrapper script
that worked please.

------- Comment #4 From UncleOwen 2005-10-19 10:26:55 0000 -------
This is the diff

$ diff smac.working smac.broken 
3c3,5
< export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
---
> if [ "${LD_LIBRARY_PATH+set}" = "set" ] && [ -n "" ] ; then
>       export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
> fi

Reverting that change fixes the issue.

------- Comment #5 From SpanKY 2005-10-19 10:41:35 0000 -------
logic should be this:
if [ -n "${libdir}" ] ; then
       if [ "\${LD_LIBRARY_PATH+set}" = "set" ] ; then
               export LD_LIBRARY_PATH="\${LD_LIBRARY_PATH}:${libdir}"
       else
               export LD_LIBRARY_PATH="${libdir}"
       fi
fi

------- Comment #6 From SpanKY 2005-10-19 17:13:21 0000 -------
fixed in cvs

------- Comment #7 From UncleOwen 2005-10-20 04:10:28 0000 -------
Well, I still get that error message. Seems like the ebuild needs fixing, too
(don't know, why it worked before...)

------- Comment #8 From UncleOwen 2005-10-20 04:12:12 0000 -------
Created an attachment (id=71062) [edit]
Patch to pass "${dir}" to games_make_wrapper as $libdir

------- Comment #9 From Chris Gianelloni (RETIRED) 2005-10-20 06:25:16 0000 -------
Strange.  It works fine for me with the older ebuild.  I'll have to dig out my
media and try again with the newer eutils.eclass changes.

At any rate, I'll accept this one, since I think I'm the only one with the
actual game.

------- Comment #10 From SpanKY 2005-10-20 12:44:03 0000 -------
it probably 'worked' before because it would set LD_LIBRARY_PATH to ':' ... the
empty path in LD_LIBRARY_PATH implies $PWD which is the behavior you guys are
describing

------- Comment #11 From UncleOwen 2005-10-20 13:01:19 0000 -------
Yeah, looks that way.

Btw: The ebuild for heroes3 looks like it has the same issue.

------- Comment #12 From Chris Gianelloni (RETIRED) 2005-10-21 11:20:21 0000 -------
OK.  I *think* I got them all.  If you find that I missed something, feel free
to comment on it here and I'll get to it ASAP.

First Last Prev Next    No search results available      Search page      Enter new bug