Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935448 - dev-games/aseprite-1.3.5 fails to compile: fatal: unable to access : Could not resolve host: github.com
Summary: dev-games/aseprite-1.3.5 fails to compile: fatal: unable to access : Could no...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-04 07:35 UTC by Agostino Sarubbo
Modified: 2024-10-06 13:27 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,71.68 KB, text/plain)
2024-07-04 07:35 UTC, Agostino Sarubbo
Details
Patch to avoid the clone strings issue (avoid_clone_strings_error.patch,3.37 KB, patch)
2024-08-07 05:57 UTC, Strong1983
Details | Diff

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

Issue: dev-games/aseprite-1.3.5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-04 07:35:27 UTC
Created attachment 896954 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-04 07:35:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: clone_strings-populate-prefix/src/clone_strings-populate-stamp/clone_strings-populate-download /var/tmp/portage/dev-games/aseprite-1.3.5/work/aseprite-1.3.5_build/_deps/clone_strings-subbuild/clone_strings-populate-prefix/src/clone_strings-populate-stamp/clone_strings-populate-download 
fatal: unable to access 'https://github.com/aseprite/strings.git/': Could not resolve host: github.com
Comment 3 kurosuminowa 2024-07-19 13:16:19 UTC
Try disable network-sandbox (FEATURES="-network-sandbox in make.conf)
It is work for me
Comment 4 Alfred Wingate 2024-07-19 13:26:33 UTC
(In reply to kurosuminowa from comment #3)
> Try disable network-sandbox (FEATURES="-network-sandbox in make.conf)
> It is work for me

Please dont disable the network-sandbox globally. If you **have to** use package.env and do it per package. Even so the upstream solution is in the linked issue.

Either -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON or https://github.com/aseprite/aseprite/commit/064ddef1901b69c45a40a396b7444769e7fbb4c4
Comment 5 Strong1983 2024-08-07 05:57:43 UTC
Created attachment 899330 [details, diff]
Patch to avoid the clone strings issue

Thanks Alfred!
Comment 6 Strong1983 2024-08-07 06:03:35 UTC
Comment on attachment 899330 [details, diff]
Patch to avoid the clone strings issue

Firstable, let me express my apologies because of my poor English.

Thanks to Alfred Wingate, I was be able to make an ebuild patch in order to avoid the compilation issue. Just download the patch file and save it into (if the directories path doesn't exists, just create it):

/etc/portage/patches/dev-games/aseprite-1.3.5/
Comment 7 ce.glauser 2024-08-13 09:05:47 UTC
Thanks @Strong1983, this worked!
Comment 8 Luke A. Guest 2024-09-27 07:49:41 UTC
Yes, this patch works.

I don't know why the clone fails as the repo is there, maybe it should be part of the SRC_URI?