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

Build system fails #83

Open
nodebotanist opened this issue Dec 18, 2018 · 3 comments
Open

Build system fails #83

nodebotanist opened this issue Dec 18, 2018 · 3 comments

Comments

@nodebotanist
Copy link

nodebotanist commented Dec 18, 2018

The build system is attempting to reach files that no longer exist and as mentioned in #78 uses the -rc2 packages, which we shouldn't.

I am working on changing what needs to be changed to build on Linux (Ubuntu 18.04) successfully.

@HipsterBrown
Copy link
Contributor

@rwaldron @johnnyman727 Any tips on what's needed to build openwrt-tessel?

@nodebotanist
Copy link
Author

nodebotanist commented Dec 18, 2018

Issues found so far when removing -rc2 from the version of openwrt:

  • [SOLVED] The ccache version we were using (3.1.9) didn't have a file on OpenWRT source anymore. I updated the version to 3.1.11 and the md5 hash accordingly
  • something about the following checkfor git-core in include/prereq-build lines 146-147 fails:
    $(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.6.5, \
        git clone 2>&1 | grep -- --recursive))
    
    even though when I run git --version I get 2.7.2. Commenting it out lets the build continue.
  • Line 27 of openwrt/tools/automake/Makefile throws a regex error that I'm having trouble debugging: mostly because commenting it out seems to allowed the build to continue and then even when I un-commented it the build ran past that point.
  • Currently dealing with the following error, I think I'm getting close to the end:
    Can't locate /home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15/bin/aclocal at /home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15/t/wrap/aclocal-1.15 line 31. Makefile:2470: recipe for target 'aclocal.m4' failed

I'd like to figure out what the issue is and fix it rather than leave these commented out. Looking into it.

@nodebotanist
Copy link
Author

Found the regex error message:

touch /home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15/.prepareda3ee926ed7d50d1bbea4d5ea6960f09e
(cd /home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15; AUTOM4TE=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/autom4te AUTOCONF=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/autoconf AUTOMAKE=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/automake ACLOCAL=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/aclocal AUTOHEADER=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/autoheader LIBTOOLIZE=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/libtoolize LIBTOOL=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/libtool M4=/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/host/bin/m4 AUTOPOINT=true STAGING_DIR="" ./bootstrap.sh)
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at ./bin/automake.tmp line 3938.
Makefile:50: recipe for target '/home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15/.configured' failed
make[4]: *** [/home/nodebotanist/openwrt-tessel/openwrt/build_dir/host/automake-1.15/.configured] Error 255
make[4]: Leaving directory '/home/nodebotanist/openwrt-tessel/openwrt/tools/automake'
tools/Makefile:122: recipe for target 'tools/automake/compile' failed
make[3]: *** [tools/automake/compile] Error 2
make[3]: Leaving directory '/home/nodebotanist/openwrt-tessel/openwrt'
tools/Makefile:121: recipe for target '/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy' failed
make[2]: *** [/home/nodebotanist/openwrt-tessel/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2
make[2]: Leaving directory '/home/nodebotanist/openwrt-tessel/openwrt'
/home/nodebotanist/openwrt-tessel/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: Leaving directory '/home/nodebotanist/openwrt-tessel/openwrt'
Makefile:44: recipe for target 'world' failed
make: *** [world] Error 2

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

No branches or pull requests

2 participants