This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem building VAR-SOM-AM33 Yocto Fido R1

I'm not sure is this is even the correct place to ask, but I'm trying to build using these instructions:

Here is the error:

ERROR: Function failed: do_compile (log file is located at /home/philip/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.23589)
ERROR: Logfile of failure stored in: /home/philip/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.23589
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 DESTDIR=/home/philip/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/input-utils/1.0-r0/image STRIP=
| Make.config:1: *** empty variable name.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/philip/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-vfp-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.23589)
ERROR: Task 1815 (/home/philip/yocto_varsomam33/tisdk/sources/meta-arago/meta-arago-extras/recipes-devtools/input-utils/input-utils_1.0.bb, do_compile) failed with exit code '1

Here is the offending build file:

# set the DESTDIR and the STRIP variables used by the GNUmakefile.
# The STRIP variable is set to blank or else the variable setting from OE
# is picked up as <TC>-strip and the install step sees that as another
# file to install.
EXTRA_OEMAKE = "DESTDIR=${D} STRIP=''"

do_install () {
    oe_runmake install
}

I'm not sure what to do about the STRIP variable?

  • Hello,

    Visit the linked wiki pages to check weather they are helpful for solving the issue:
    processors.wiki.ti.com/.../GLSDK_FAQs
    wiki.yoctoproject.org/.../Main_Page

    BR
    Tsvetolin Shulev
  • I rebuilt my VM with ubuntu 14.04 and it worked!

  • I have the same issue, using ubuntu 16.04. Here is my error:

    Log data follows:
    | DEBUG: Executing shell function do_compile
    | NOTE: make -j 2 DESTDIR=/home/yuriy/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-neon-linux-gnueabi/input-utils/1.0-r0/image STRIP=
    | Make.config:1: *** empty variable name.  Stop.
    | WARNING: exit code 1 from a shell command.
    | ERROR: oe_runmake failed
    | ERROR: Function failed: do_compile (log file is located at /home/yuriy/yocto_varsomam33/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa8hf-neon-linux-gnueabi/input-utils/1.0-r0/temp/log.do_compile.22824)

    I don't think STRIP variable is the cause here. I tried removing it from the .bb and get the same error.

  • I fixed this problem while building on Ubuntu 16.04 by modifying the input-utils Autoconf.mk. If you look at the failing Make.config, it had something like this:

    -e LIB := gcc

    Make.config is generated by mk/Autoconf.mk, which has the following:

    Make.config: $(srcdir)/GNUmakefile
    	@echo -e "$(make-config-q)" > $@
    	@echo
    	@echo "Make.config written, edit if needed"
    	@echo

    I removed the "-e". I didn't investigate why the echo invoked from the makefile would interpret the -e as something to output.