Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
394 Discussions

ECI poky-base image build fails when retrieving /coreos/go-systemd.git

EstebanValverde
Employee
1,377 Views

Hello,

 

I', trying to build ECI image (poky-base), the build fails when trying to pull files from git://github.com/coreos/go-systemd.git

 

Screenshot from 2021-06-18 11-23-28.png

 

The log has the following:

WARNING: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Failed to fetch URL git://github.com/coreos/go-systemd.git, attempting MIRRORS if available
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure: Unable to find revision b4a58d95188dd092ae20072bac14cece0e67c388 in branch master even from upstream
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure for URL: 'git://github.com/coreos/go-systemd.git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/build/tmp/work/corei7-64-ecs-linux/go-systemd/4+gitAUTOINC+b4a58d9518-r0/temp/log.do_fetch.28598
ERROR: Task (/home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb:do_fetch) failed with exit code '1'

 

 

 

Could you please advise?

 

Thanks,

Esteban Valverde

Labels (1)
0 Kudos
1 Solution
Lay
Employee
1,341 Views

Hi, 

 

Can you try 

#Edit this file.

/home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb

#Add the red text in the file.

SRC_URI = "git://${PKG_NAME}.git;branch=main"

 

#After save. Then continue the build

cd /home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/poky

source oe-init-build-env ../build

bitbake ecs-image-base-poky

 

View solution in original post

0 Kudos
2 Replies
Lay
Employee
1,342 Views

Hi, 

 

Can you try 

#Edit this file.

/home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb

#Add the red text in the file.

SRC_URI = "git://${PKG_NAME}.git;branch=main"

 

#After save. Then continue the build

cd /home/demo/edge_controls_industrial/Edge_Controls_for_Industrial_2.0/Edge_Controls_for_Industrial/release-eci_2.0/eci-release/build/ecs-base-poky/poky

source oe-init-build-env ../build

bitbake ecs-image-base-poky

 

0 Kudos
Sahira_Intel
Moderator
1,284 Views

Hi,

If you need any additional information, please submit a new question as this thread will no longer being monitored.

 

Sincerely,

Sahira

 

0 Kudos
Reply