Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926761 - [guru] app-editors/imhex-1.33.1 fails to compile because it requires network
Summary: [guru] app-editors/imhex-1.33.1 fails to compile because it requires network
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gasc Henri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-11 11:42 UTC by Davide Palma
Modified: 2024-03-17 15:12 UTC (History)
0 users

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


Attachments
build log (build.log,117.37 KB, text/x-log)
2024-03-11 11:42 UTC, Davide Palma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Palma 2024-03-11 11:42:57 UTC
Created attachment 887357 [details]
build log

app-editors/imhex-1.33.1 fails to compile because it tries to access the network during the compile phase: 

/var/tmp/portage/app-editors/imhex-1.33.1/work/ImHex/plugins/script_loader/dotnet/AssemblyLoader/AssemblyLoader.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.


emerging with FEATURES="-network-sandbox" solves the issue and emerges correctly.
Comment 1 Gasc Henri 2024-03-17 11:06:20 UTC
Okay, so I managed to find the cause of the error. I should have corrected it, but open a issue if you encounter any other build or runtime failures
Comment 2 Larry the Git Cow gentoo-dev 2024-03-17 15:12:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=928a994d26249670789b80de68370d24e3179e57

commit 928a994d26249670789b80de68370d24e3179e57
Author:     Henri Gasc <gasc@eurecom.fr>
AuthorDate: 2024-03-17 10:57:01 +0000
Commit:     Henri Gasc <gasc@eurecom.fr>
CommitDate: 2024-03-17 11:04:43 +0000

    app-editors/imhex: corrected small things
    
    Add patch to remove dotnet from the build
    Corrected name of sources
    Usage of "usex" and not "use" for cmake flags
    
    Closes: https://bugs.gentoo.org/926761
    Signed-off-by: Henri Gasc <gasc@eurecom.fr>

 app-editors/imhex/Manifest                               |  4 ++--
 app-editors/imhex/files/remove_dotnet.patch              | 16 ++++++++++++++++
 .../{imhex-1.33.1-r1.ebuild => imhex-1.33.1-r2.ebuild}   | 16 ++++++++++------
 3 files changed, 28 insertions(+), 8 deletions(-)