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

Filename Description Type Creator Created Size Actions
xmoto-0.2.1.ebuild xmoto-0.2.1.ebuild - Forces MAKEOPTS="-j1" text/plain Kyle Hunter 2006-09-15 13:55 0000 845 bytes Details
xmoto-0.2.1.diff xmoto-0.2.1.diff patch Paul Bredbury 2006-09-15 14:05 0000 314 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147725 depends on: Show dependency tree
Show dependency graph
Bug 147725 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: 2006-09-15 13:54 0000
Hello, I use GCC 4.1.1 and xmoto-0.2.1 fails if I compile it with
MAKEOPTS="-j2" or higher, I must use MAKEOPTS="-j1" or it fails to build

Making all in extra
make[1]: Entering directory
`/var/tmp/portage/xmoto-0.2.1/work/xmoto-0.2.1/extra'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/xmoto-0.2.1/work/xmoto-0.2.1/extra'
make[1]: Entering directory `/var/tmp/portage/xmoto-0.2.1/work/xmoto-0.2.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/xmoto-0.2.1/work/xmoto-0.2.1'

!!! ERROR: games-sports/xmoto-0.2.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called games_src_compile
  games.eclass, line 136:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Kyle Hunter 2006-09-15 13:55:47 0000 -------
Created an attachment (id=97080) [edit]
xmoto-0.2.1.ebuild - Forces MAKEOPTS="-j1"

------- Comment #2 From Paul Bredbury 2006-09-15 14:05:41 0000 -------
Created an attachment (id=97081) [edit]
xmoto-0.2.1.diff

I confirm this problem and the solution, on x86 (athlon-xp) with gcc-3.4.5-r1
(old, I know). Here's the required patch.

------- Comment #3 From Tristan Heaven 2006-09-15 14:42:37 0000 -------
That's not the solution, just a workaround.

------- Comment #4 From Paul Bredbury 2006-09-15 14:51:17 0000 -------
(In reply to comment #3)
> That's not the solution, just a workaround.

Yup. A workaround which fixes a problem. Something which fixes a problem is a
solution. You don't just keep the problem going until you've come up with the
*perfect* "solution", because that's stupid, when there are reasonable measures
in-between. Are you saying that this solution is reasonable or unreasonable?

------- Comment #5 From Mr. Bones. 2006-09-15 14:57:39 0000 -------
ebuilds aren't to touch MAKEOPTS

------- Comment #6 From Tristan Heaven 2006-09-15 15:09:40 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > That's not the solution, just a workaround.
> 
> Yup. A workaround which fixes a problem. Something which fixes a problem is a
> solution. You don't just keep the problem going until you've come up with the
> *perfect* "solution", because that's stupid, when there are reasonable measures
> in-between. Are you saying that this solution is reasonable or unreasonable?

I'm saying workarounds avoid problems not fix them.

------- Comment #7 From Paul Bredbury 2006-09-15 15:20:54 0000 -------
(In reply to comment #5)
> ebuilds aren't to touch MAKEOPTS

There's lots that *do* "touch MAKEOPTS", from my quick grep query. Should I
raise a separate bug with a list of them? Is it better to use "emake -j1" in
the ebuild? Thanks for explaining *nothing*.

If you could provide a *reason*, then that would help people like me (who want
to contribute, and *have* contributed) a hell of a lot to understand what on
Earth is going on here. Rather than just stating facts as if they are obvious,
when they are totally non-obvious.

------- Comment #8 From Stefan Schweizer 2006-09-15 16:43:31 0000 -------
sorry, I had parallel make disabled and did not notice this while bumping :(

I have worked around it with emake -j1. This of course is no solution. The
solution is to patch the makefiles so that they properly work in parallel.

no idea either why makeopts is evil, mr_bones? Will see what I can do about the
makefiles now.

------- Comment #9 From Stefan Schweizer 2006-09-15 17:48:00 0000 -------
upstream moved the xmoto target to the subdir but still wants the result in the
top directory. But the rule here is broken

xmoto: src/xmoto
       ln -sf src/xmoto xmoto

make: *** No rule to make target `src/xmoto'.  Stop.

but cd src; make xmoto works. Since I do not know another way to do it I will
probably ask upstream to revert the change. Any better ideas?

------- Comment #10 From SpanKY 2006-09-15 22:42:35 0000 -------
(From update of attachment 97081 [edit])
because other package maintainers do such garbage is no excuse

at any rate; fix the package properly, dont be lazy and force -j1

------- Comment #11 From Paul Bredbury 2006-09-15 23:39:06 0000 -------
(In reply to comment #10)
> fix the package properly

Yeah, great. Until the "ideal" fix, are you going to ignore the "pragmatic" fix
of "-j1", for some strange reason of idealism over reality?

------- Comment #12 From Tristan Heaven 2006-09-16 02:04:37 0000 -------
(In reply to comment #11)
> (In reply to comment #10)
> > fix the package properly
> 
> Yeah, great. Until the "ideal" fix, are you going to ignore the "pragmatic" fix
> of "-j1", for some strange reason of idealism over reality?
> 

"I have worked around it with emake -j1."

------- Comment #13 From SpanKY 2006-09-16 15:15:50 0000 -------
workarounds have a tendency to become permanent fixes

fix it once; dont work around it many times

------- Comment #14 From Stefan Schweizer 2006-09-16 15:29:06 0000 -------
I mailed upstream about this. They are informed of the issue. Will keep you
updated.

------- Comment #15 From Stefan Schweizer 2006-12-24 06:50:13 0000 -------
no longer fails in 0.2.4

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