Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700594 - games-simulation/micropolis: micropolis_git.patch VERIFY FAILED!
Summary: games-simulation/micropolis: micropolis_git.patch VERIFY FAILED!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-19 10:44 UTC by Michael Mair-Keimberger (iamnr3)
Modified: 2019-11-20 23:24 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 Michael Mair-Keimberger (iamnr3) 2019-11-19 10:44:41 UTC
While looking at the ebuild i saw that we could actually change the HOMEPAGE and SRC_URI to use https instead of http.
However, when testing i found following problem: (the output is from the original ebuild whithout the changes)
It seems like the patch changed at the original location. This should probably be fixed.

 * micropolis-activity-source.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                         [ ok ]
>>> Downloading 'http://rmdir.de/~michael/micropolis_git.patch'
--2019-11-19 11:40:10--  http://rmdir.de/~michael/micropolis_git.patch
Resolving rmdir.de... 88.198.237.222, 2a01:4f8:bc:1de::1
Connecting to rmdir.de|88.198.237.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1137456 (1.1M) [text/x-diff]
Saving to: ‘/usr/portage/distfiles/micropolis_git.patch.__download__’

/usr/portage/distfiles/micropolis_git.patch.__d 100%[====================================================================================================>]   1.08M  5.95MB/s    in 0.2s    

2019-11-19 11:40:10 (5.95 MB/s) - ‘/usr/portage/distfiles/micropolis_git.patch.__download__’ saved [1137456/1137456]

!!! Fetched file: micropolis_git.patch VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      1137456
!!! Expected: 83549
Comment 1 Larry the Git Cow gentoo-dev 2019-11-20 23:24:59 UTC
The bug has been closed via the following commit(s):

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

commit b2f2bb83e10cb87b31e31d1e3e866b9f9c885fa4
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-11-20 23:22:42 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-11-20 23:24:37 +0000

    games-simulation/micropolis: 1.0_p20180313 bump using GitLab tarball
    
    We were downloading a large patch but this was being modified in place
    so I found the originating git repository.
    
    Closes: https://bugs.gentoo.org/700594
    Package-Manager: Portage-2.3.79, Repoman-2.3.17
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-simulation/micropolis/Manifest               |  1 +
 games-simulation/micropolis/metadata.xml           | 15 ++++---
 .../micropolis/micropolis-1.0_p20180313.ebuild     | 51 ++++++++++++++++++++++
 3 files changed, 62 insertions(+), 5 deletions(-)