Bug 2819 - alsa-tools 1.0.25:do_compile cp:cannot stat `/usr/share//install-sh'
Summary: alsa-tools 1.0.25:do_compile cp:cannot stat `/usr/share//install-sh'
Status: VERIFIED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: multimedia (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Song.Li
QA Contact:
URL:
Whiteboard: P3
Depends on:
Blocks:
 
Reported: 2012-07-24 03:23 UTC by Song.Li
Modified: 2012-12-10 17:44 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Song.Li 2012-07-24 03:23:50 UTC
Steps to Reproduce:
==============================
step 1; configure --enable-board=intel-xeon-core --enable-kernel=standard --enable-rootfs=glibc_small --enable-parallel-pkgbuilds=10 --enable-jobs=10
step 2; make -C build alsa-tools

Note:
if host doesn't install automake, this error will come up.


Error log:
===============================
make[3]: Entering directory `/buildarea/build/120711181429-apb0711-intel-xeon-core-all-pkgs/combo1-intel-xeon-core-standard-glibc-small/test-target-pkg-build/alsa-tools/bitbake_build/tmp/work/x86_64-wrs-linux/alsa-tools-1.0.24.1-r4/alsa-tools-1.0.24.1/ac3dec'
make[3]: Leaving directory `/buildarea/build/120711181429-apb0711-intel-xeon-core-all-pkgs/combo1-intel-xeon-core-standard-glibc-small/test-target-pkg-build/alsa-tools/bitbake_build/tmp/work/x86_64-wrs-linux/alsa-tools-1.0.24.1-r4/alsa-tools-1.0.24.1/ac3dec'
make[2]: Leaving directory `/buildarea/build/120711181429-apb0711-intel-xeon-core-all-pkgs/combo1-intel-xeon-core-standard-glibc-small/test-target-pkg-build/alsa-tools/bitbake_build/tmp/work/x86_64-wrs-linux/alsa-tools-1.0.24.1-r4/alsa-tools-1.0.24.1/ac3dec'
make[1]: Leaving directory `/buildarea/build/120711181429-apb0711-intel-xeon-core-all-pkgs/combo1-intel-xeon-core-standard-glibc-small/test-target-pkg-build/alsa-tools/bitbake_build/tmp/work/x86_64-wrs-linux/alsa-tools-1.0.24.1-r4/alsa-tools-1.0.24.1/ac3dec'
./as10k1
cp: cannot stat `/usr/share//install-sh': No such file or directory
make: *** [all] Error 1
ERROR: oe_runmake failed
Comment 1 Saul Wold 2012-07-24 14:24:27 UTC
I am not sure I understand this bug, since you seem to indicate that the host requires autotools.  The alsa-tools recipe does have an inherit autotools which would add the dependency on automake, which should be in the native tools, not on the host.

Also, I note you have alsa-tools-1.0.24.1 and the current version is 1.0.25
Comment 2 Song.Li 2012-11-02 02:51:28 UTC
This defect happened on alsa-tools-1.0.24.1, the current version of alsa-tools is 1.0.25, not suitable now.
Comment 3 Laurentiu Serban 2012-11-02 09:28:59 UTC
Setting to Verified after reporter's comment
Comment 4 Dirk Van Den Wouwer 2012-12-04 09:17:13 UTC
Hello, 
Had exactly the same error, when using alsa-tools-1.0.25.
After installing automake (apt-get automake), the error did not pop up again. 
So, there is indeed a dependency towards autotools. 
Regards
Dirk

| make[3]: Leaving directory `/home/dvd/Downloads/rootfs_builder/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/alsa-tools-1.0.25-r0/alsa-tools-1.0.25/ac3dec'
| make[2]: Leaving directory `/home/dvd/Downloads/rootfs_builder/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/alsa-tools-1.0.25-r0/alsa-tools-1.0.25/ac3dec'
| make[1]: Leaving directory `/home/dvd/Downloads/rootfs_builder/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/alsa-tools-1.0.25-r0/alsa-tools-1.0.25/ac3dec'
| ./as10k1
| cp: cannot stat `/usr/share//install-sh': No such file or directory
| make: *** [all] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/dvd/Downloads/rootfs_builder/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/alsa-tools-1.0.25-r0/temp/log.do_compile.7783 for further information)
ERROR: Task 1443 (/home/dvd/Downloads/rootfs_builder/sources/poky/meta/recipes-multimedia/alsa/alsa-tools_1.0.25.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3305 tasks of which 3303 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Comment 5 Eric Bénard 2012-12-10 17:44:40 UTC
Hello,
same error here also with 1.0.25.
Installing automake on the host fixed the problem.