Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691202 - games-strategy/warzone2100-3.3.0_beta1version bump
Summary: games-strategy/warzone2100-3.3.0_beta1version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-01 00:28 UTC by Kenton Groombridge
Modified: 2019-08-06 21:32 UTC (History)
1 user (show)

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


Attachments
Broken warzone2100-3.3.0_beta1 ebuild (warzone2100-3.3.0_beta1.ebuild,2.34 KB, text/plain)
2019-08-01 00:28 UTC, Kenton Groombridge
Details
Output of `emerge --info` (emerge-info.txt,10.10 KB, text/plain)
2019-08-01 00:28 UTC, Kenton Groombridge
Details
Output of `emerge -pqv` (emerge-pqv.txt,93 bytes, text/plain)
2019-08-01 00:29 UTC, Kenton Groombridge
Details
Build log for ebuild above (build.log,637.01 KB, text/plain)
2019-08-01 00:30 UTC, Kenton Groombridge
Details
warzone2100-3.3.0_beta1.ebuild (warzone2100-3.3.0_beta1.ebuild,2.25 KB, text/plain)
2019-08-01 01:05 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenton Groombridge gentoo-dev 2019-08-01 00:28:15 UTC
Created attachment 585352 [details]
Broken warzone2100-3.3.0_beta1 ebuild

Warzone 2100 version 3.3.0_beta1 was released in February, but has not yet been updated in portage.

https://forums.wz2100.net/viewtopic.php?f=1&t=15114
https://sourceforge.net/projects/warzone2100/files/releases/3.3.0/

I have attempted to version bump it myself, but it fails during the install phase. Attached is the ebuild I attempted to create. The following attachments are relevant troubleshooting information.
Comment 1 Kenton Groombridge gentoo-dev 2019-08-01 00:28:45 UTC
Created attachment 585354 [details]
Output of `emerge --info`
Comment 2 Kenton Groombridge gentoo-dev 2019-08-01 00:29:08 UTC
Created attachment 585356 [details]
Output of `emerge -pqv`
Comment 3 Kenton Groombridge gentoo-dev 2019-08-01 00:30:44 UTC
Created attachment 585358 [details]
Build log for ebuild above
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-01 01:05:54 UTC
Created attachment 585360 [details]
warzone2100-3.3.0_beta1.ebuild

And that build error exactly is the reason the game hasn't been bumped yet...

Attached is a still broken ebuild but bumped to EAPI-7 and with some other improvements.
Comment 5 Kenton Groombridge gentoo-dev 2019-08-01 01:09:06 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
> Created attachment 585360 [details]
> warzone2100-3.3.0_beta1.ebuild
> 
> And that build error exactly is the reason the game hasn't been bumped yet...
> 
> Attached is a still broken ebuild but bumped to EAPI-7 and with some other
> improvements.

Well at least I can rest tonight knowing I'm not the only one with that issue. I initially tried downgrading the EAPI in an attempt to fix it but to no avail. Some Google-fu also turned up very few results. Is there any explanation as to what causes that error? I've simply never seen it before, nor can I find any logical reason for it to occur, although my knowledge of developing ebuilds is still very limited.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-01 01:27:39 UTC
(In reply to 0xC0ncord from comment #5)
> 
> Well at least I can rest tonight knowing I'm not the only one with that
> issue. I initially tried downgrading the EAPI in an attempt to fix it but to
> no avail. Some Google-fu also turned up very few results. Is there any
> explanation as to what causes that error? I've simply never seen it before,
> nor can I find any logical reason for it to occur, although my knowledge of
> developing ebuilds is still very limited.

I have no idea. The "funny" part is, that the po/Makefile.in.in, which the real po/Makefile gets generated from, hasn't changed for three years. So the issue must be coming from somewhere else. But the project also comes with a cmake based build system so I might give that one a try when I have some spare time left.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-08-01 01:40:26 UTC
Alright, found the issue. I'm working on a fix...
Comment 8 Larry the Git Cow gentoo-dev 2019-08-01 03:26:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd142618d8a708a307bad239bc74d857bae7211a

commit bd142618d8a708a307bad239bc74d857bae7211a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-08-01 03:17:18 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-08-01 03:25:55 +0000

    games-strategy/warzone2100: Bump to version 3.3.0_beta1
    
    Closes: https://bugs.gentoo.org/691202
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 games-strategy/warzone2100/Manifest                |   1 +
 .../warzone2100-3.3.0_beta1-gettext_version.patch  |  36 +++++++
 .../warzone2100/warzone2100-3.3.0_beta1.ebuild     | 115 +++++++++++++++++++++
 3 files changed, 152 insertions(+)
Comment 9 Nick Leippe 2019-08-06 18:49:04 UTC
Broken build for me.
Tail of build.log:

...
test /var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/work/warzone2100 = /var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/work/warzone2100 || cp ./doc/*.md doc/
 /bin/mkdir -p '/var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/image/usr/share/doc/warzone2100-3.3.0_beta1'
 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c -m 644 AUTHORS ChangeLog README.md doc/Scripting.md doc/js-globals.md COPYING COPYING.NONGPL COPYING.README '/var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/image/usr/share/doc/warzone2100-3.3.0_beta1'
make[2]: Leaving directory '/var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/work/warzone2100'
make[1]: Leaving directory '/var/tmp/portage/games-strategy/warzone2100-3.3.0_beta1/work/warzone2100'
Traceback (most recent call last):
  File "/usr/lib/portage/python3.6/doins.py", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.6/doins.py", line 602, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.6/doins.py", line 195, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'doc/quickstartguide.html'
 * ERROR: games-strategy/warzone2100-3.3.0_beta1::gentoo failed (install phase):
 *   dodoc failed
 *
Comment 10 Larry the Git Cow gentoo-dev 2019-08-06 21:32:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81bc81d28357c3375786d936d3404e9bb210c468

commit 81bc81d28357c3375786d936d3404e9bb210c468
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-08-06 21:31:56 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-08-06 21:32:11 +0000

    games-strategy/warzone2100: Added missing app-text/asciidoc to DEPEND
    
    Bug: https://bugs.gentoo.org/691202
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 games-strategy/warzone2100/warzone2100-3.3.0_beta1.ebuild | 1 +
 1 file changed, 1 insertion(+)