Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6482] Android: SCons: "awk" error when building in Ubuntu 10.04

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2011-12-13T09:58:19.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsbranch-v8, release-note-1.8.0
ReporterMichael Pettiford
AssigneeBill Dawson
Created2011-12-06T09:48:53.000+0000
Updated2017-03-10T19:18:27.000+0000

Description

When using a machine running Ubuntu 10.04 without the Android NDK installed, installing the Android NDK (as of writing it is version r7), then using scons to build, the Android NDK gives this error when building, "Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !" Steps to reproduce: 1. Have a machine running Ubuntu 10.04 without the Android NDK installed 2. Install the Android NDK (making sure to add the required path variables to the .bashrc profile) 3. Scons the mobile sdk Expected result: Building with scons succeeds Actual result: Scons fails and prints this error Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk !

Comments

  1. Bill Dawson 2011-12-08

    This is not related to anything we're doing. It's a known issue with NDK. cf http://stackoverflow.com/questions/8384213/android-ndk-revision-7-host-awk-tool-is-outdated-error Basically, in the "prebuilt/linux-x86" folder under the NDK installation folder, rename awk to awk_. I've just gone through setting up on Ubuntu, and documented the requirements. I'll pass this on to whomever writes such guides. http://pastie.org/2988956
  2. Marshall Culpepper 2011-12-13

    We have a known workaround but it seems like there's nothing we can do on the platform side for this issue.
  3. Lee Morris 2017-03-10

    Closing ticket as the issue will not fix.

JSON Source