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 Building In Ubuntu 16.04 LTS crosstool-NG #248

Open
UlmusLeo opened this issue Mar 10, 2017 · 2 comments
Open

Error Building In Ubuntu 16.04 LTS crosstool-NG #248

UlmusLeo opened this issue Mar 10, 2017 · 2 comments

Comments

@UlmusLeo
Copy link

make[2]: Entering directory '/home/name/Documents/esp-open-sdk/crosstool-NG'
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20170310.121909
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_expat_get[scripts/build/companion_libs/210-expat.sh@741]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@591]
[ERROR] >>

This error seems to be because it is trying to reference an old version of expat
The build is successful when the file crosstool-NG/scripts/build/companion_libs/210-expat.sh is renamed to 220-expat.sh which then downloads and installs expat version 2.2.0 with no reported errors.

I am new to esp and am not sure if upgrading the version here breaks anything.

@kxygk
Copy link

kxygk commented Mar 11, 2017

(@UlmusLeo .. just a sanity check for you)
I'm also having the same issue, though I couldn't get your fix working unfortunately
I also tried on my ARM machine (Chromebook + crouton) and it too fails in crosstool-NG, but at a different companion-lib

Looks like the esp-open-sdk needs an update, but I'm also new to ESP - so it's hard for me to debug the problem as well

@supramaterial
Copy link

A way to fix this issue is this pull request: jcmvbkbc/crosstool-NG#53
This also fixes #307

It boils down to update the URL template in crosstool-NG/scripts/build/companion_libs/210-expat.sh from
http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}
to
/~https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//[.]/_}

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

3 participants