Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946047 - games-server/bedrock-server-1.21.50.10 fails to fetch
Summary: games-server/bedrock-server-1.21.50.10 fails to fetch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-07 11:54 UTC by Agostino Sarubbo
Modified: 2024-12-15 14:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,1.11 KB, text/plain)
2024-12-07 11:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-12-07 11:54:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-server/bedrock-server-1.21.50.10 fails to fetch.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0017
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-07 11:54:53 UTC
Created attachment 913511 [details]
build.log

build log and emerge --info
Comment 2 Conrad Kostecki gentoo-dev 2024-12-15 12:08:07 UTC
Is there any way to set an user agent for downloading src_uri? Downloading Bedrock server from Microsoft now requires to set some user agent, otherwise you get only timeout on curl/wget.. sigh...
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-15 12:13:37 UTC
(In reply to Conrad Kostecki from comment #2)
> Is there any way to set an user agent for downloading src_uri? Downloading
> Bedrock server from Microsoft now requires to set some user agent, otherwise
> you get only timeout on curl/wget.. sigh...

Unfortunately, no.. we'll have to do RESTRICT=fetch and tell the user how in pkg_nofetch.

(You could fetch it in src_unpack if you made it a live ebuild but that's obviously not desirable..)
Comment 4 Conrad Kostecki gentoo-dev 2024-12-15 13:04:14 UTC
(In reply to Sam James from comment #3)
> (In reply to Conrad Kostecki from comment #2)
> > Is there any way to set an user agent for downloading src_uri? Downloading
> > Bedrock server from Microsoft now requires to set some user agent, otherwise
> > you get only timeout on curl/wget.. sigh...
> 
> Unfortunately, no.. we'll have to do RESTRICT=fetch and tell the user how in
> pkg_nofetch.
> 
> (You could fetch it in src_unpack if you made it a live ebuild but that's
> obviously not desirable..)

Thanks. So unfortunately RESTRICT=fetch seems to be the only choice then.
Comment 5 Larry the Git Cow gentoo-dev 2024-12-15 14:52:12 UTC
The bug has been closed via the following commit(s):

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

commit 2f1a73346ed3b0496994a4ef9781b5bed9890fa5
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-12-12 21:36:27 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-12-15 14:52:01 +0000

    games-server/bedrock-server: add 1.21.51.02, drop 1.21.50.10
    
    Closes: https://bugs.gentoo.org/946047
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 games-server/bedrock-server/Manifest                           |  2 +-
 ...rver-1.21.50.10.ebuild => bedrock-server-1.21.51.02.ebuild} | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)