Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Error running make EBE_OVERLAYS={ebe_overlays} -j9 for Buildroot #21

Open
wangyuanzhengbighead opened this issue Apr 10, 2020 · 6 comments

Comments

@wangyuanzhengbighead
Copy link

wangyuanzhengbighead commented Apr 10, 2020

I use build.sh to build up Zynq-Ultrascale+_Mercury_XU7_Mercury_PE1_EMMC, uboot,rootf and kernel,but always failed, what's the problem? here is my log I use 18.04.1-Ubuntu
log.txt

@abuerkler
Copy link
Contributor

Hello wangyuanzhengbighead

It looks like building Buildroot is failing. There is a detailed log file "bsp-xilinx/build.log" that shows more detailed information. Please send this file to support@enclustra.com.

Best regards

@LeFl0w
Copy link

LeFl0w commented Nov 9, 2020

Hi,
Same error here (on Windows subsystem on linux : Ubuntu 18.04LTS)
The buil.log file showed error :

sh: 1: autom4te: not found
aclocal.tmp: error: echo failed with exit status: 127

even though automake was installed.
This was fixed by adding the following packages :

sudo apt-get install libtool intltool

@Simon-MS-MIS
Copy link

Hello,
I'm getting the same error. Just before that, in the log file there are 3 unsuccessful attempts to connect to ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-2.1.1.tar.bz2 althought I manually installed mtd-utils via apt.

I'm using VM Ubuntu 18.04.6 LTS.

@tholzsche
Copy link
Contributor

Hi, I hope this is just a temporary problem with the server, but the following quick fix should solve the issue:

diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 3477460..34e0b39 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -6,7 +6,7 @@
 
 MTD_VERSION = 2.1.1
 MTD_SOURCE = mtd-utils-$(MTD_VERSION).tar.bz2
-MTD_SITE = ftp://ftp.infradead.org/pub/mtd-utils
+MTD_SITE = https://infraroot.at/pub/mtd
 MTD_LICENSE = GPL-2.0
 MTD_LICENSE_FILES = COPYING
 MTD_INSTALL_STAGING = YES

@florianlederer
Copy link

I've got a simlar error:

ERROR: Error running make EBE_OVERLAYS={ebe_overlays} -j49 for Buildroot

build.log:

>>> mmc-utils d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 Downloading
Initialized empty Git repository in /root/delete/bsp-xilinx/sources/buildroot-rootfs/dl/mmc-utils/git/.git/
Fetching all references
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 145.40.68.75]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4601:e00::1]: errno=Cannot assign requested address

Detected a corrupted git cache.
Removing it and starting afresh.
Initialized empty Git repository in /root/delete/bsp-xilinx/sources/buildroot-rootfs/dl/mmc-utils/git/.git/
Fetching all references
fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 145.40.68.75]: errno=Connection timed out
git.kernel.org[1: 2604:1380:4601:e00::1]: errno=Cannot assign requested address

Detected a corrupted git cache.
This is the second time in a row; bailing out
package/pkg-generic.mk:167: recipe for target '/root/delete/bsp-xilinx/sources/buildroot-rootfs/output/build/mmc-utils-d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8/.stamp_downloaded' failed
make: *** [/root/delete/bsp-xilinx/sources/buildroot-rootfs/output/build/mmc-utils-d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8/.stamp_downloaded] Error 1
Error running make EBE_OVERLAYS={ebe_overlays} -j49 for Buildroot
Getting binary boot_files_ME-XU5-3EG-2I-D11E

It looks like git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git is not available anymore.

The following solved it for me:

diff --git a/package/mmc-utils/mmc-utils.mk b/package/mmc-utils/mmc-utils.mk
index 8c264a4..53002bb 100644
--- a/package/mmc-utils/mmc-utils.mk
+++ b/package/mmc-utils/mmc-utils.mk
@@ -5,7 +5,7 @@
 ################################################################################
 
 MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8
-MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git
+MMC_UTILS_SITE =  http://sources.buildroot.net/mmc-utils
 MMC_UTILS_LICENSE = GPL-2.0
 MMC_UTILS_LICENSE_FILES = mmc.h

@abuerkler
Copy link
Contributor

It looks like git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git is not available anymore.

Thank you for the notification. Cloning this repository seems to be working. I guess this was only a temporary issue and the server was not available at that time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants