Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939430 - app-backup/bareos-23.1.0 fails to compile: fatal: unable to access : Could not resolve host: github.com
Summary: app-backup/bareos-23.1.0 fails to compile: fatal: unable to access : Could no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-10 10:36 UTC by Agostino Sarubbo
Modified: 2024-11-16 09:46 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,55.49 KB, text/plain)
2024-09-10 10:36 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-09-10 10:36:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/bareos-23.0.4 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-09-10 10:36:03 UTC
Created attachment 902552 [details]
build.log

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


FAILED: fmt-populate-prefix/src/fmt-populate-stamp/fmt-populate-download /var/tmp/portage/app-backup/bareos-23.0.4/work/bareos-Release-23.0.4_build/_deps/fmt-subbuild/fmt-populate-prefix/src/fmt-populate-stamp/fmt-populate-download 
fatal: unable to access 'https://github.com/fmtlib/fmt.git/': Could not resolve host: github.com
Comment 3 a.cruea 2024-10-04 14:20:56 UTC
Running "emerge --ask --verbose --oneshot dev-libs/libfmt" prior to running "emerge app-backup/bareos" appears to work around this issue.

Tested and confirmed on two different systems.
Comment 4 Agostino Sarubbo gentoo-dev 2024-11-14 07:52:54 UTC
ci has reproduced this issue with version 23.1.0 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2024-11-14 10:29:07 UTC
The bug has been referenced in the following commit(s):

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

commit c6a5cd3bdde788b46574cc6fffbfc5198b1f8535
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2024-11-14 10:28:22 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2024-11-14 10:28:59 +0000

    app-backup/bareos: add missing dep
    
    Bug: https://bugs.gentoo.org/939430
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 app-backup/bareos/{bareos-23.1.0.ebuild => bareos-23.1.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-15 23:24:34 UTC
I think we may want to set CPM_USE_LOCAL_PACKAGES and CPM_LOCAL_PACKAGES_ONLY to prevent it trying to fetch as well.
Comment 7 Marc Schiffbauer gentoo-dev 2024-11-16 09:46:31 UTC
(In reply to Sam James from comment #6)
> I think we may want to set CPM_USE_LOCAL_PACKAGES and
> CPM_LOCAL_PACKAGES_ONLY to prevent it trying to fetch as well.

Good hint. Thanks!