Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927072 - kde-apps/akonadi-search-23.08.5 fails to build with connection error
Summary: kde-apps/akonadi-search-23.08.5 fails to build with connection error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-15 14:14 UTC by Jesús P Rey (Chuso)
Modified: 2024-03-15 15:34 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,23.83 KB, text/x-log)
2024-03-15 14:14 UTC, Jesús P Rey (Chuso)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús P Rey (Chuso) 2024-03-15 14:14:12 UTC
Created attachment 887683 [details]
build.log

kde-apps/akonadi-search-23.08.5 fails to build for me because the build process tries to connect to the Internet:

    Updating crates.io index
warning: spurious network error (3 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (2 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
warning: spurious network error (1 tries remaining): [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
error: failed to get `cxx` as a dependency of package `htmlparser v0.1.0 (/var/tmp/portage/kde-apps/akonadi-search-23.08.5/work/akonadi-search-23.08.5/agent/rs/htmlparser)`

Caused by:
  failed to query replaced source registry `crates-io`

Caused by:
  download of config.json failed

Caused by:
  failed to download from `https://index.crates.io/config.json`

Caused by:
  [6] Couldn't resolve host name (Could not resolve host: index.crates.io)
Comment 1 Andreas Sturmlechner gentoo-dev 2024-03-15 14:23:21 UTC
Where did you get Corrosion from?
Comment 2 Larry the Git Cow gentoo-dev 2024-03-15 14:30:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=b78cd89d33757c65ad7b736160c36630d15afa9d

commit b78cd89d33757c65ad7b736160c36630d15afa9d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-15 14:29:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-15 14:30:00 +0000

    kde-apps/akonadi-search: Corrosion prevention
    
    Bug: https://bugs.gentoo.org/927072
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/akonadi-search/akonadi-search-24.02.49.9999.ebuild | 6 ++++++
 kde-apps/akonadi-search/akonadi-search-9999.ebuild          | 6 ++++++
 2 files changed, 12 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-03-15 14:31:17 UTC
The bug has been closed via the following commit(s):

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

commit 25249a768ecb4a8691b776a634507520ac368d1f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-03-15 14:27:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-03-15 14:29:08 +0000

    kde-apps/akonadi-search: Corrosion prevention
    
    Closes: https://bugs.gentoo.org/927072
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/akonadi-search/akonadi-search-23.08.5.ebuild    | 6 ++++++
 kde-apps/akonadi-search/akonadi-search-24.02.0-r1.ebuild | 6 ++++++
 2 files changed, 12 insertions(+)
Comment 4 Jesús P Rey (Chuso) 2024-03-15 15:34:08 UTC
Oh, so that was the reason. Yes, if I remove corrosion, it builds with no issues.

I got corrosion from another repo of my own as a dependency for another package: https://github.com/pinetoo/pinetoo/blob/d0b5626/kde-apps/angelfish/angelfish-23.08.4.ebuild#L44

Thanks for the quick reply!