Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480520 - [hasufell overlay] games-strategy/0ad Request for new slot naming + patched ebuild for SVN
Summary: [hasufell overlay] games-strategy/0ad Request for new slot naming + patched e...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-10 17:24 UTC by Nils Freydank
Modified: 2014-05-22 16:03 UTC (History)
1 user (show)

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


Attachments
patch for games-strategy/0ad-99999 (file_480520.txt,910 bytes, patch)
2013-08-10 17:27 UTC, Nils Freydank
Details | Diff
full ebuild (0ad-99999.ebuild,2.22 KB, text/plain)
2013-08-10 17:29 UTC, Nils Freydank
Details
updated ebuild (0ad-99999.ebuild,2.20 KB, text/plain)
2013-08-14 07:23 UTC, Nils Freydank
Details
updated 'diff -u' (0ad-99999.ebuild.diff,1.61 KB, patch)
2013-08-14 07:26 UTC, Nils Freydank
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Freydank 2013-08-10 17:24:34 UTC
Hi,

I think it would make much sense to rewrite the 0ad ebuilds
for using all different slots based on upstream version, so
you can install more than one version at one time.
I suggest something like 
alpha11  → SLOT=11
alpha12  → SLOT=12
alpha13  → SLOT=13
9999/SVN → SLOT=svn

I started to do so with the SVN-ebuild (attached ebuild and patch).

Kind regards

Reproducible: Always
Comment 1 Nils Freydank 2013-08-10 17:27:43 UTC
Created attachment 355626 [details, diff]
patch for games-strategy/0ad-99999
Comment 2 Nils Freydank 2013-08-10 17:29:30 UTC
Created attachment 355628 [details]
full ebuild
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-11 13:55:37 UTC
Assignee: 	julian.ospald@googlemail.com did not match anything
Comment 4 Julian Ospald 2013-08-11 14:00:29 UTC
thanks for the ideas

however let's get the form right:

* although I'm a dev and that is indeed my overlay bugzie is only for tree ebuilds or overlays which are hosted on overlay.gentoo.org. Mine is not hosted there, but only on github and bitbucket. So please open an issue on one of these sites, preferably with a pull-request:
https://github.com/hasufell/hasufell-overlay/issues
https://bitbucket.org/hasufell/hasufell-overlay/pull-requests

* on bugzie, please always use unified diff (diff -u), I am unable to read those
Comment 5 Nils Freydank 2013-08-14 07:23:23 UTC
Created attachment 355942 [details]
updated ebuild
Comment 6 Nils Freydank 2013-08-14 07:26:49 UTC
Created attachment 355944 [details, diff]
updated 'diff -u'
Comment 7 Nils Freydank 2013-08-14 07:30:25 UTC
I did a mistake, I forgot to remove the RDEPEND '!games-strategy/0ad-data'.
Now the ebuild and the diff (this time with -u) are up to date and should work properly.

I won't register neither on github nor on bitbucket just to file one bug.
So take it or leave it - or hope, someone else will file it out there.
Comment 8 Julian Ospald 2013-08-15 01:41:19 UTC
I get this when I start the svn ebuild and have to click 3-4 messages away.



Paths.cpp(169): Function call failed: return value was -110301 (Error during IO)
Function call failed: return value was -110301 (Error during IO)
Location: Paths.cpp:169 (Root)

Call stack:

(0x7ad6f8) 0ad-svn() [0x7ad6f8]
(0x76e9d4) 0ad-svn() [0x76e9d4]
(0x76e6b0) 0ad-svn() [0x76e6b0]
(0x76df5a) 0ad-svn() [0x76df5a]
(0x584705) 0ad-svn() [0x584705]
(0x581484) 0ad-svn() [0x581484]
(0x57812e) 0ad-svn() [0x57812e]
(0x418c7e) 0ad-svn() [0x418c7e]
(0x7f005f94b4b5) /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f005f94b4b5]
(0x4181bd) 0ad-svn() [0x4181bd]

errno = 0 (Error during IO)
OS error = ?


ERROR: Cannot find executable (expected at '')
Paths.cpp(176): Function call failed: return value was -110301 (Error during IO)
Function call failed: return value was -110301 (Error during IO)
Location: Paths.cpp:176 (Root)

Call stack:

(0x7ad6f8) 0ad-svn() [0x7ad6f8]
(0x76e9d4) 0ad-svn() [0x76e9d4]
(0x76e6b0) 0ad-svn() [0x76e6b0]
(0x76df5a) 0ad-svn() [0x76df5a]
(0x584758) 0ad-svn() [0x584758]
(0x581484) 0ad-svn() [0x581484]
(0x57812e) 0ad-svn() [0x57812e]
(0x418c7e) 0ad-svn() [0x418c7e]
(0x7f005f94b4b5) /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f005f94b4b5]
(0x4181bd) 0ad-svn() [0x4181bd]

errno = 0 (Error during IO)
OS error = ?
Comment 9 Nils Freydank 2013-08-15 08:58:23 UTC
I can't reproduce this error with SVN revision 13659.

0ad has these USE flags at my system: audio fam -editor -pch -test

HTH,
holgersson