Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663336 - games-util/umodpack Updated ebuild with "can't use a hash as a reference" errors fixed
Summary: games-util/umodpack Updated ebuild with "can't use a hash as a reference" err...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on: 663632
Blocks:
  Show dependency tree
 
Reported: 2018-08-10 22:56 UTC by James Jones
Modified: 2018-08-29 21:32 UTC (History)
2 users (show)

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


Attachments
Updated ebuild (umodpack-0.5_beta16-r3.ebuild,1.02 KB, text/plain)
2018-08-10 22:56 UTC, James Jones
Details
The patch (umodpack-0.5_beta16-hash_as_a_reference.patch,1.50 KB, patch)
2018-08-10 22:57 UTC, James Jones
Details | Diff
Manifest file for my local repository (Manifest,1.23 KB, text/plain)
2018-08-10 22:58 UTC, James Jones
Details
Manifest file for my local repository (Manifest,1.23 KB, text/plain)
2018-08-14 20:34 UTC, James Jones
Details
Manifest file for my local repository (Manifest,1.23 KB, text/plain)
2018-08-14 20:43 UTC, James Jones
Details
Updated ebuild v2 (umodpack-0.5_beta16-r3.ebuild,1.04 KB, text/plain)
2018-08-14 20:44 UTC, James Jones
Details
Manifest file for my local repository (Manifest,1.23 KB, text/plain)
2018-08-14 20:56 UTC, James Jones
Details
Updated ebuild v3 (umodpack-0.5_beta16-r3.ebuild,1.03 KB, text/plain)
2018-08-14 20:57 UTC, James Jones
Details
Updated ebuild v4 (umodpack-0.5_beta16-r3.ebuild,1.03 KB, text/plain)
2018-08-29 21:31 UTC, James Jones
Details
Manifest file for my local repository (Manifest,1.23 KB, text/plain)
2018-08-29 21:32 UTC, James Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Jones 2018-08-10 22:56:42 UTC
Created attachment 542984 [details]
Updated ebuild

Had to install unreal-tournament-bonuspacks today, and the umodpack extraction step failed because umodpack was using perl hashes as references.  I put together a patch and updated the build while I was at it.
Comment 1 James Jones 2018-08-10 22:57:36 UTC
Created attachment 542986 [details, diff]
The patch

The patch to fix the hash-as-a-reference lines
Comment 2 James Jones 2018-08-10 22:58:26 UTC
Created attachment 542988 [details]
Manifest file for my local repository

My local manifest, in case it helps.
Comment 3 Jonas Stein gentoo-dev 2018-08-11 11:19:47 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

* Please test the ebuild with repoman full -x https://wiki.gentoo.org/wiki/Repoman
* We always try to use the latest EAPI, please bump to EAPI=7
* Please remove obsolete lines
* please fix the header. (see /usr/portage/skel.ebuild and https://devmanual.gentoo.org/ebuild-writing/eapi/)
* SRC_URI="mirror://gentoo/${MY_P}-allinone.tar.gz" 
  The Gentoo Mirror is no valid Source URI
Comment 4 James Jones 2018-08-14 20:34:13 UTC
Created attachment 543464 [details]
Manifest file for my local repository
Comment 5 James Jones 2018-08-14 20:43:12 UTC
Created attachment 543466 [details]
Manifest file for my local repository
Comment 6 James Jones 2018-08-14 20:44:40 UTC
Created attachment 543468 [details]
Updated ebuild v2

Thanks for taking a look.  I've attempted to address your feedback, but ran into some issues:

* EAPI 7 isn't supported by some dependencies, namely perl-module.eclass and its dependency perl-functions.eclass.  I created bug https://bugs.gentoo.org/663632 to track that, and attached some updated files there that were good enough to get this package working with EAPI=7.

* I wasn't clear which lines were obsolete, nor what was wrong with the header.  I compared the file to the skeleton ebuild, but the only difference I could discern was an outdated copyright.  I adjusted it to 2018.
Comment 7 James Jones 2018-08-14 20:56:36 UTC
Created attachment 543470 [details]
Manifest file for my local repository
Comment 8 James Jones 2018-08-14 20:57:32 UTC
Created attachment 543472 [details]
Updated ebuild v3

Fix cut/paste error in SRC_URI that dropped use of MY_P var
Comment 9 James Jones 2018-08-28 17:04:07 UTC
Could someone recommend how to proceed here?  I don't want to let this to stagnate forever.  Should I push on the perl eclass updates in bug 663632, or drop the EAPI back down to 6 until the perl eclass is updated to EAPI 7 by someone more knowledgable?  Anything else as far as cleanups needed for the small ebuild update in this bug?
Comment 10 James Le Cuirot gentoo-dev 2018-08-29 20:59:50 UTC
6 is fine in the meantime. Thanks for your work on this.
Comment 11 James Jones 2018-08-29 21:31:42 UTC
Created attachment 545486 [details]
Updated ebuild v4

OK, thanks for the feedback.  Attaching the ebuild with EAPI dropped down to 6.  Re-tested installing it, and then installing unreal-tournament-goty and unreal-tournament-bonuspacks.  Everything looks good.
Comment 12 James Jones 2018-08-29 21:32:17 UTC
Created attachment 545488 [details]
Manifest file for my local repository

Attaching updated Manifest