cpufrequtils do_install issue
I am having issues compiling the systemd-image for beaglebone under Angstrom. I receive the following error message which seems to state that 'install' is missing, is anyone else having trouble or could provide some insight to this?
ERROR: Function failed: do_install (see /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/temp/log.do_install.16223 for further information)
+ cd
/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/git
+ do_install
+ oe_runmake -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ '[' xmake = x ']'
+ bbnote make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc' STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ echo 'NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo -e
install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image'
NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo -e
install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc' STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image /usr/bin/install -c -d /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/lib /usr/bin/install -c -d /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin /usr/bin/install -c -m 644 -D man/cpufreq-set.1 /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/man/man1/cpufreq-set.1 /usr/bin/install -c -d /home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/locale
make: /usr/bin/install: Command not found
make: *** [install-lib] Error 127
make: *** Waiting for unfinished jobs....
make: /usr/bin/install: Command not found
make: *** [install-gmo] Error 127
make: /usr/bin/install: Command not found
make: *** [install-tools] Error 127
Translating de make: /usr/bin/install: Command not found
make: *** [install-man] Error 127
...... done.
54 translated messages.
Translating fr ...... done.
45 translated messages, 7 fuzzy translations, 2 untranslated messages.
Translating it ...... done.
54 translated messages.
Translating cs ...... done.
45 translated messages, 7 fuzzy translations, 2 untranslated messages.
Translating pt ...... done.
54 translated messages.
Translating ca ...... done.
54 translated messages.
+ die 'oe_runmake failed'
+ bbfatal 'oe_runmake failed'
+ echo 'ERROR: oe_runmake failed'
ERROR: oe_runmake failed
+ exit 1
Regards,
Jack.
Quoted 63 lines · Jack Mitchell
I am having issues compiling the systemd-image for beaglebone under Angstrom. I receive the following error message which seems to state that 'install' is missing, is anyone else having trouble or could provide some insight to this?
ERROR: Function failed:
do_install(see/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/temp/log.do_install.16223for further information)
+ cd
/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/git
+do_install
+oe_runmake-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ '[' xmake = x ']'
+ bbnote make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ echo 'NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image'
NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/lib/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/usr/bin/install-c -m 644 -D man/cpufreq-set.1/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/man/man1/cpufreq-set.1/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/locale
make:/usr/bin/install: Command not found
make: *** [install-lib] Error 127
make: *** Waiting for unfinished jobs....
make:/usr/bin/install: Command not found
make: *** [install-gmo] Error 127
make:/usr/bin/install: Command not found
make: *** [install-tools] Error 127
Translating de make:/usr/bin/install: Command not found
make: *** [install-man] Error 127
...... done.
54 translated messages.
Translating fr ...... done.
45 translated messages, 7 fuzzy translations, 2 untranslated messages.
Translating it ...... done.
54 translated messages.
Translating cs ...... done.
45 translated messages, 7 fuzzy translations, 2 untranslated messages.
Translating pt ...... done.
54 translated messages.
Translating ca ...... done.
54 translated messages.
+ die 'oe_runmakefailed'
+ bbfatal 'oe_runmakefailed'
+ echo 'ERROR:oe_runmakefailed'
ERROR:oe_runmakefailed
+ exit 1
Quoted 8 lines
Regards,
Jack._______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Ok, I fixed this finally! In archlinux install is not located in /usr/bin/install but in /bin/install so a quick symlink and that was fixed. However, should bitbake be going into my system to use install like this, and should it be hard-coded in cpufrequtils?
Jack.
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --
Quoted 41 lines · Jack Mitchell
Quoted 31 lines · Jack Mitchell
I am having issues compiling the systemd-image for beaglebone under Angstrom. I receive the following error message which seems to state that 'install' is missing, is anyone else having trouble or could provide some insight to this?
ERROR: Function failed:
do_install(see/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/temp/log.do_install.16223for further information)
+ cd/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/git
+do_install
+oe_runmake-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ '[' xmake = x ']'
+ bbnote make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ echo 'NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image'
NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/install-c -dQuoted 8 lines
/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/lib/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/usr/bin/install-c -m 644 -D man/cpufreq-set.1/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/man/man1/cpufreq-set.1/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/locale
make:/usr/bin/install: Command not found
Quoted 4 lines
Ok, I fixed this finally! In archlinux
installis not located in/usr/bin/installbut in/bin/installso a quick symlink and that was fixed. However, should bitbake be going into my system to use install like this, and should it be hard-coded in cpufrequtils?
I think the package makefile is probably hardcoding the path here nothin that bitbake can do. You need to fix package build system to be cross compile friendly
Signature · 1 line
-Khem
Quoted 41 lines · Khem Raj
Quoted 40 lines · Jack Mitchell
Quoted 39 lines · Jack Mitchell
I am having issues compiling the systemd-image for beaglebone under Angstrom. I receive the following error message which seems to state that 'install' is missing, is anyone else having trouble or could provide some insight to this?
ERROR: Function failed:
do_install(see/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/temp/log.do_install.16223for further information)
+ cd
/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/git
+do_install
+oe_runmake-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ '[' xmake = x ']'
+ bbnote make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ echo 'NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image'
NOTE: make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc STRIPCMD=echo
-e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image
+ make -j12 V=1 CROSS=arm-angstrom-linux-gnueabi-
'LIBTOOL=arm-angstrom-linux-gnueabi-libtool --tag cc'
STRIPCMD=echo -e install DESTDIR=/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/lib/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/bin/usr/bin/install-c -m 644 -D man/cpufreq-set.1/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/man/man1/cpufreq-set.1/usr/bin/install-c -d/home/jack/angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/cpufrequtils-008-r3/image/usr/share/locale
make:/usr/bin/install: Command not found
Quoted 8 lines
Quoted 4 lines
Ok, I fixed this finally! In archlinux
installis not located in/usr/bin/installbut in/bin/installso a quick symlink and that was fixed. However, should bitbake be going into my system to use install like this, and should it be hard-coded in cpufrequtils?I think the package makefile is probably hardcoding the path here nothin that bitbake can do. You need to fix package build system to be cross compile friendly
Hi Khem,
Thanks for the reply. I did solve this issue (I could have sworn I posted a follow up email) and it was a hard coded link in the package. Cpufrequtils is vastly dated and it was just a dependency that something else was bringing in so I didn't really care for it. In the end I symlinked my install binary to where it expected it and that allowed me to build.
For the record the new kid on the block in this area is called 'cpupower' it builds on cpufrequtils and brings it up to date (last cpufrequtils commit was sometime in 2009 if I remember correctly!) and is much better. If anyone is attempting to use cpufrequtils I would recommend checking it out instead.
Regards,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --
Quoted 5 lines · Jack Mitchell
For the record the new kid on the block in this area is called 'cpupower' it builds on cpufrequtils and brings it up to date (last cpufrequtils commit was sometime in 2009 if I remember correctly!) and is much better. If anyone is attempting to use cpufrequtils I would recommend checking it out instead.
if you have cpupower recipes for OE I would encourage you to contribute
Quoted 11 lines · Khem Raj
Quoted 4 lines · Jack Mitchell
For the record the new kid on the block in this area is called 'cpupower' it builds on cpufrequtils and brings it up to date (last cpufrequtils commit was sometime in 2009 if I remember correctly!) and is much better. If anyone is attempting to use cpufrequtils I would recommend checking it out instead.
if you have cpupower recipes for OE I would encourage you to contribute
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Unfortunately it was a package that was pulled in as a dependency so I wasn't interested in using it (it wasn't going in the image), however I believe I will be contributing my first package soon in the form of a webserver I use so keep eyes peeled for an RFC soon :)
Actually, on that note what constitutes getting a package into OE, or is it just submit and if people think it's useful in it goes?
Cheers,
Jack.