Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212520 - games-action/abuse_sdl-0.7.1 change in SRC_URI
Summary: games-action/abuse_sdl-0.7.1 change in SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Games
URL: http://abuse.zoy.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 17:19 UTC by Matija "hook" Šuklje
Modified: 2008-03-15 15:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2008-03-06 17:19:04 UTC
I think this would be the correct way:

ZOY="http://abuse.zoy.org/raw/Downloads/"

SRC_URI="${ZOY}/${P}.tar.gz
        !demo? ( ${ZOY}/abuse-data-2.00.tar.gz )
        demo? ( ${ZOY}/abuse-lib-2.00.tar.gz )
        sounds? ( ${ZOY}/abuse-sfx-2.00.tar.gz )
        levels? ( ${ZOY}/abuse-frabs-2.11.tar.gz )"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2008-03-07 03:26:59 UTC
either one works for me but I went ahead and changed it since it looks cleaner.
Comment 2 tannhauser 2008-03-07 13:03:58 UTC
The old path is wrong and because of that, abuse-data-2.00.tar.gz, abuse-lib-2.00.tar.gz, abuse-sfx-2.00.tar.gz and abuse-frabs-2.11.tar.gz downloaded by portage are not the data files but html pages. 
The changes don't work for me, too. That's because portage gets those files at first from portage mirrors, which serve those wrong html-not-tar.gz-files, although the right path is noted in the ebuild. So i think we have to wait until all mirrors have synced. 
Not sure about those next two points, but shouldn't that be abuse-0.7.1-r1 or something like that? And can an ebuild, that to this point doesn't even install can be considered stable? 

th
Comment 3 Anton Romanov 2008-03-07 13:10:01 UTC
(In reply to comment #2)
> Not sure about those next two points, but shouldn't that be abuse-0.7.1-r1 or
> something like that? And can an ebuild, that to this point doesn't even install
> can be considered stable? 
you're wrong, previous ebuild was working fine
Comment 4 Matija "hook" Šuklje 2008-03-07 22:09:38 UTC
Can't wait that this ebuild change and the distfiles finally replicates itself over the mirrors.

Btw, the original/previous 0.7.1 ebuild didn't work for me (and still doesn't):

* checking abuse-0.7.1.tar.gz?format=raw ;-) ...                                    [ ok ]
 * checking abuse-data-2.00.tar.gz?format=raw ;-) ...                                [ ok ]
 * checking abuse-sfx-2.00.tar.gz?format=raw ;-) ...                                 [ ok ]
 * checking abuse-frabs-2.11.tar.gz?format=raw ;-) ...                               [ ok ]
>>> Unpacking source...
>>> Unpacking ../temp/abuse-0.7.1.tar.gz to /var/tmp/portage/games-action/abuse-0.7.1/work

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Izhod ob napaki zakasnjen zaradi prejšnjih napak
 *
 * ERROR: games-action/abuse-0.7.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2368:  Called unpack 'src_unpack'
 *               ebuild.sh, line  348:  Called die
 * The specific snippet of code:
 *                                      tar zoxf "${srcdir}${x}" ${tar_opts} || die "$myfail"
 *  The die message:
 *   failure unpacking ../temp/abuse-0.7.1.tar.gz
 *
 * 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-action/abuse-0.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-action/abuse-0.7.1/temp/environment'.
 *
Comment 5 Matija "hook" Šuklje 2008-03-10 15:56:20 UTC
Mr. Bones, it's been three days since you closed the bug but I still don't see the change in the ebuild (just synced from the European mirror).

Plus, I think Tannhauser has a point concerning the '-r1' suffix.

I'm not reopening it yet.
Comment 6 Damien Thébault 2008-03-12 21:04:50 UTC
I do have the same problem : the files from the mirrors are wrong, I have to set GENTOO_MIRRORS="" to download the good files (and then the checksums doesn't match).
If I rebuild the digest with those good files, everything works.
Comment 7 Matija "hook" Šuklje 2008-03-15 15:49:03 UTC
With today's sync it worked fine. Thank you Mr. Bones.