First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 180243
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tristan Heaven <nyhm@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pauker-1.7.5.ebuild pauker-1.7.5.ebuild text/plain Tristan Heaven 2007-05-29 16:41 0000 1.28 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2007-05-29 16:40 0000
I'm having trouble getting this to build properly.

Attaching my attempt...

------- Comment #1 From Tristan Heaven 2007-05-29 16:41:40 0000 -------
Created an attachment (id=120625) [details]
pauker-1.7.5.ebuild

------- Comment #2 From Petteri Räty 2007-05-29 17:14:10 0000 -------
(In reply to comment #0)
> I'm having trouble getting this to build properly.
> 
> Attaching my attempt...
> 

So do you need input from us or is this just a reminder bug?

------- Comment #3 From Tristan Heaven 2007-05-29 17:15:37 0000 -------
I'd appreciate some help

------- Comment #4 From Petteri Räty 2007-05-29 17:29:30 0000 -------
(In reply to comment #3)
> I'd appreciate some help
> 

Then the actual failure would be useful instead of requiring as to download &
compile ourselves just to point out something that we could point out from the
logs.

------- Comment #5 From Tristan Heaven 2007-05-29 17:38:47 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > I'd appreciate some help
> > 
> 
> Then the actual failure would be useful instead of requiring as to download &
> compile ourselves just to point out something that we could point out from the
> logs.
> 

oh yeah, sorry...

$ pauker
Exception in thread "main" java.lang.NoClassDefFoundError:
edu/stanford/ejalbert/exception/UnsupportedOperatingSystemException

------- Comment #6 From Vlastimil Babka (Caster) 2007-05-29 18:41:22 0000 -------
(In reply to comment #5)
> $ pauker
> Exception in thread "main" java.lang.NoClassDefFoundError:
> edu/stanford/ejalbert/exception/UnsupportedOperatingSystemException

If you have dependencies, using --jar with dolauncher (as you do implicitly)
won't make them load (unless you hardcode their paths to manifest's CLASSPATH
which we don't do because it's ugly :). Upstream jar just bundles them inside,
nasty and usual... Pass `--main $main_class` to dolauncher (the class name you
pass to `jar -e` which you don't need to anymore).
Also, using jar -C classes is bit more elegant than cd classes; jar ... :)
# jar cf ${PN}.jar -C classes . || die "jar failed"

------- Comment #7 From Vlastimil Babka (Caster) 2007-05-29 18:52:07 0000 -------
You'll also have to either point the --pre in dolauncher to GAMES_DATADIR or
install the resources in GAMES_DATADIR/pauker/pauker because it expects them to
be in ./pauker relative to the PWD... (as upstream has them in ./pauker dir
relative to jar's "root").

Also, you can change the jdk/jre dep to >=1.4, it works fine.

------- Comment #8 From Tristan Heaven 2007-05-29 21:46:22 0000 -------
works now, thanks :)

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