Hello jimmychan,
This is the error,
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at /home/pga/projects//fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_install.9801)
ERROR: Logfile of failure stored in: /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_install.9801
Log data follows:
| DEBUG: Executing shell function do_install
| NOTE: make CC=arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/home/pga/projects/yocto/pga/fsl-community-bsp/build_toolchain/tmp/sysroots/imx6qsabresd RANLIB=arm-poky-linux-gnueabi-ranlib AR=arm-poky-linux-gnueabi-ar CFLAGS= -O2 -pipe -g -feliminate-unused-debug-types -I/home/pga/projects/yocto/pga/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/include -DWITHOUT_XATTR BUILDDIR=/home/pga/pga/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0 install DESTDIR=/home/pga/projects/yocto/pga/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/image SBINDIR=/usr/sbin MANDIR=/usr/share/man INCLUDEDIR=/usr/include
| make: *** No rule to make target `install'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/pga/pga/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_install.9801)
ERROR: Task 274 (/home/pga/projects/fsl-community-bsp/sources/meta-manju-custom/recipes-example/example/cifs-util_0.1.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3423 tasks of which 3422 didn't need to be rerun and 1 failed.
No currently running tasks (2508 of 3573)
Summary: 1 task failed:
/home/pga/projects/fsl-community-bsp/sources/meta-manju-custom/recipes-example/example/cifs-util_0.1.bb, do_install
This is when i use "inherit autotools gettext"
I have followed another discussion with similar problem and i changed my recipe something like this,
#
# This file is a modified example recipe to help mount cifs on linux.
#
DESCRIPTION = "Simple compile application"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "http://ftp.de.debian.org/debian/pool/main/c/cifs-utils/cifs-utils_6.4.orig.tar.bz2"
SRC_URI[md5sum] = "b7d75b67fd3987952896d27256c7293d"
SRC_URI[sha256sum] = "38fc63926af435dae4ebcf4406275580a692d9fb9ee3e32170317cf2ba68e6e3"
S = "${WORKDIR}"
PR = "r0"
INHIBIT_PACKAGE_STRIP = "1"
FILES_${PN} += "${libdir}/"
do_configure() {
echo ${libdir}
oe_runmake configure
}
do_compile() {
oe_runmake all
}
do_install () {
mkdir -p ${D}/usr/sbin
oe_runmake install SYS_ROOT=${D}
}
This gave me following error.
ERROR: Function failed: do_configure (log file is located at /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_configure.11594)
ERROR: Logfile of failure stored in: /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_configure.11594
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| /usr/lib
| NOTE: make -e MAKEFLAGS= configure
| make: *** No rule to make target `configure'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/pga/projects/fsl-community-bsp/build_toolchain/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/cifs-util/0.1-r0/temp/log.do_configure.11594)
ERROR: Task 277 (/home/pga/projects/fsl-community-bsp/sources/meta-manju-custom/recipes-example/example/cifs-util_0.1.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3563 tasks of which 3558 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
It is just that i am new to python and not able to know each line of code.
My aim is to copy mount.cifs file after compilation to /usr/sbin. That would do the job.
Regards,
Manju