Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673974 - app-emulation/wine-vanilla-9999 - git fetch: error: Unable to get pack file https://source.winehq.org/git/wine.git/objects/pack/pack-4e371cb853c544b9e188f19360f83652c662557c.pack
Summary: app-emulation/wine-vanilla-9999 - git fetch: error: Unable to get pack file h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 12:35 UTC by Jakub Hrbek
Modified: 2018-12-29 23:15 UTC (History)
0 users

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 Jakub Hrbek 2018-12-29 12:35:16 UTC
Afaik source https://source.winehq.org/git/wine.git is usually broken after new version release (as it it now) https://paste.pound-python.org/raw/9Z5AUrpX2gK4O6guVrvH/ but mirror from github usually works (https://paste.pound-python.org/show/dWOOe0u3HkOmrXiUO1Xm/).

So i want to suggest using multiple sources for wine* ebuilds which i believe would prevent err `Unable to fetch from any of EGIT_REPO_URI`.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-29 13:02:57 UTC
On second thoughts, this looks like a problem in the ebuild.
Comment 2 Jakub Hrbek 2018-12-29 13:13:48 UTC
(In reply to Jeroen Roovers from comment #1)
> On second thoughts, this looks like a problem in the ebuild.

Note that i'm unable to `git clone https://source.winehq.org/git/wine.git` (github mirror works) same happend for wine-4.0-rc2 release untill another commit.
Comment 3 Jakub Hrbek 2018-12-29 13:15:14 UTC
EDIT: i'm able to open https://source.winehq.org/git/wine.git in chromium (https://i.imgur.com/LZ32MvL.png) so i doubt it's problem with firewall or alike.
Comment 4 Chiitoo gentoo-dev 2018-12-29 13:18:50 UTC
So instead of fetching from the main source, you'd rather take GitHub just because?  Hmmmnrgh.

No, I don't quite see anything for us to fix here at this time.  Especially not when relying on something such as GitHub instead of the official source.  I may be missing a point or few here though.

That said, 'app-emulation/wine-vanilla-9999' built just fine for me right now.

It's a 9999, live ebuild.  It /will/ break.

Jer, care to elaborate on the second thought you picked up there?  :]
Comment 5 Chiitoo gentoo-dev 2018-12-29 13:20:17 UTC
(In reply to Jakub Hrbek from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > On second thoughts, this looks like a problem in the ebuild.
> 
> Note that i'm unable to `git clone https://source.winehq.org/git/wine.git`
> (github mirror works) same happend for wine-4.0-rc2 release untill another
> commit.

The log of that might help, though it seems like a connection issue at this point.
Comment 6 Jakub Hrbek 2018-12-29 13:22:57 UTC
(In reply to Chiitoo from comment #4)
> So instead of fetching from the main source, you'd rather take GitHub just
> because?  Hmmmnrgh.
> 
> No, I don't quite see anything for us to fix here at this time.  Especially
> not when relying on something such as GitHub instead of the official source.
> I may be missing a point or few here though.
> 
> That said, 'app-emulation/wine-vanilla-9999' built just fine for me right
> now.
> 
> It's a 9999, live ebuild.  It /will/ break.
> 
> Jer, care to elaborate on the second thought you picked up there?  :]

point is that official source is down after a new version release (happend twice now) and github mirror is usually able to clone -> suggesting alternative source incase official is unable to clone to prevent `Unable to fetch from any of EGIT_REPO_URI` error.
Comment 7 Chiitoo gentoo-dev 2018-12-29 13:33:07 UTC
I still don't quite see how we could fix that.

Any ideas, sarnex?
Comment 8 Nick Sarnie gentoo-dev 2018-12-29 14:01:57 UTC
I tend to agree with Chiitoo here. I don't feel it's correct to switch to a mirror if the official upstream repo /usually/ works except for some minimal outages, which I assume are due to heavy traffic.

Of course, if the connection issues become extended or very common, we can consider switching it.

Live ebuild are not guaranteed to fetch, compile, or work at runtime. Please use a versioned ebuild if you are looking for more stability.

Thanks,
Sarnex
Comment 9 Jakub Hrbek 2018-12-29 18:32:21 UTC
(In reply to Nick Sarnie from comment #8)
> I tend to agree with Chiitoo here. I don't feel it's correct to switch to a
> mirror if the official upstream repo /usually/ works except for some minimal
> outages, which I assume are due to heavy traffic.
> 
> Of course, if the connection issues become extended or very common, we can
> consider switching it.
> 
> Live ebuild are not guaranteed to fetch, compile, or work at runtime. Please
> use a versioned ebuild if you are looking for more stability.
> 
> Thanks,
> Sarnex

So far it seems to be common issue upstream was/is down for hours/days..

Afaik using `EGIT_REPO_URI="https://source.winehq.org/git/wine.git https://github.com/wine-mirror/wine.git"` should be sufficient solution (based on available informations)
Comment 10 Nick Sarnie gentoo-dev 2018-12-29 18:38:51 UTC
Okay, I just tried it and it does seem to be pretty slow.

I'm alright with the idea. Patches welcome.

If you plan on working on this, please note that we don't work on the gentoo tree directly. You would need to clone with gentoo wine repository, and then submit a pull request here: https://github.com/gentoo/repo-proj-wine. Also, please apply the same change for wine-vanilla, wine-d3d9, wine-staging, and wine-any.


Thanks,
Sarnex
Comment 11 Jakub Hrbek 2018-12-29 19:24:31 UTC
(In reply to Nick Sarnie from comment #10)
> Okay, I just tried it and it does seem to be pretty slow.
> 
> I'm alright with the idea. Patches welcome.
> 
> If you plan on working on this, please note that we don't work on the gentoo
> tree directly. You would need to clone with gentoo wine repository, and then
> submit a pull request here: https://github.com/gentoo/repo-proj-wine. Also,
> please apply the same change for wine-vanilla, wine-d3d9, wine-staging, and
> wine-any.
> 
> 
> Thanks,
> Sarnex

Noted, working on it
Comment 12 Jakub Hrbek 2018-12-29 19:40:32 UTC
Merge request created on https://github.com/gentoo/repo-proj-wine/pull/9
Comment 13 Larry the Git Cow gentoo-dev 2018-12-29 21:14:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=7a75d3a0c042693585c4c73b24a562f0f5c82f26

commit 7a75d3a0c042693585c4c73b24a562f0f5c82f26
Author:     Jacob Hrbek <werifgx@gmail.com>
AuthorDate: 2018-12-29 21:06:37 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2018-12-29 21:13:31 +0000

    app-emulation/wine-d3d9: Added alternative source.
    
    Closes: https://github.com/gentoo/repo-proj-wine/pull/12
    Fixes: https://bugs.gentoo.org/673974
    Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 app-emulation/wine-d3d9/wine-d3d9-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=62c343d56262bec0b95ea601148c59f88afe8260

commit 62c343d56262bec0b95ea601148c59f88afe8260
Author:     Jacob Hrbek <werifgx@gmail.com>
AuthorDate: 2018-12-29 21:05:16 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2018-12-29 21:13:13 +0000

    app-emulation/wine-vanilla: Added alternative source.
    
    Fixes: https://bugs.gentoo.org/673974
    Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=5bb19f731894d1238ca500fcdeea314390e589df

commit 5bb19f731894d1238ca500fcdeea314390e589df
Author:     Jacob Hrbek <werifgx@gmail.com>
AuthorDate: 2018-12-29 21:03:33 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2018-12-29 21:13:06 +0000

    app-emulation/wine-staging: Added alternative source.
    
    Fixes: https://bugs.gentoo.org/673974
    Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 app-emulation/wine-staging/wine-staging-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=9821386e4385699ae875032dc9a66ba413363f25

commit 9821386e4385699ae875032dc9a66ba413363f25
Author:     Jacob Hrbek <werifgx@gmail.com>
AuthorDate: 2018-12-29 21:01:35 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2018-12-29 21:12:51 +0000

    app-emulation/wine-any: Added alternative source.
    
    Fixes: https://bugs.gentoo.org/673974
    Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 app-emulation/wine-any/wine-any-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 14 Chiitoo gentoo-dev 2018-12-29 23:15:02 UTC
Thanks!

This does make a lot more sense now that I'm not half asleep.  :]