I was having this exact same error. Not sure if you solved your problem, but I found that the version.sh file tries to compare the git repo version to an assumed "0.4," for me this was failing because:

git describe

was returning: "denzil-7.0.1-128-g846b7c3," at this point the script sees that it's not the same as 0.4 and exits.

I pretty much just forced the script to ignore git and use the 0.4 value, my build is proceeding now. Not sure what issues are going to come out of this, hopefully none and this is just a disconnect between the rfkill build chain and the gumstix tool chain (perhaps a patch needs to be applied to version.sh?).


On Tue, Mar 26, 2013 at 12:03 PM, Andy Walls <andy@silverblocksystems.net> wrote:


On Tue, 2013-03-26 at 06:53 -0700, hobbesc7 wrote:
> I'm trying to build gumstix-console-image from the master branch of
> Gumstix-Yocto, and it keeps failing trying to build rfkill.  The build seems
> to trip over the version.sh file which is called by the rfkill Makefile to
> generate version.c.  Has anyone else experienced this?
>
> The output is as follows:
>
> ERROR: Function failed: do_compile (see
> /work/yocto2/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/rfkill-0.4-r0/temp/log.do_compile.14150
> for further information)
> NOTE: package dosfstools-2.11-r4: task do_package: Started
> ERROR: Logfile of failure stored in:
> /work/yocto2/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/rfkill-0.4-r0/temp/log.do_compile.14150
> Log data follows:
> | ERROR: Function failed: do_compile (see
> /work/yocto2/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/rfkill-0.4-r0/temp/log.do_compile.14150
> for further information)
> | NOTE: make -j 8 -e MAKEFLAGS=
> |  CC   rfkill.o
> |  GEN  version.c
> | make: *** [version.c] Error 2
> | ERROR: oe_runmake failed
> NOTE: package rfkill-0.4-r0: task do_compile: Failed
> ERROR: Task 485
> (/work/yocto2/poky/meta-openembedded/meta-oe/recipes-connectivity/rfkill/rfkill_0.4.bb,
> do_compile) failed with exit code '1'
>
> And the logfile doesn't tell me much more than above:
>
> NOTE: make -j 8 -e MAKEFLAGS=
>  CC   rfkill.o
>  GEN  version.c
> make: *** [version.c] Error 2
> ERROR: oe_runmake failed

No, I have not experienced this.

FWIW, I just built gumstix-console-image for the master branch yesterday
afternoon and for the dev branch today.  Both had no trouble compiling
rfkill:

        NOTE: make -j 8 -e MAKEFLAGS=
         CC   rfkill.o
         GEN  version.c
         CC   version.o
         CC   rfkill
        log.do_compile (END)


Regards,
Andy


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Trev Sheerin