Skip to contentSkip to conversation

default for IPKGBUILDCMD (ipkg-build not found)

DISCUSSION Martin Dietze 1 participant 1 message Apr 22, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I just stumbled across this here. I try to build
linux-libc-headers using `bitbake -b /path/to/recipe.bb'. The build fails with this message:

NOTE: package linux-libc-headers-2.6.18-r3: task do_package: completed
NOTE: Running task 10 of 18 (ID: 9, /var/src/OE/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb, do_populate_staging)
NOTE: package linux-libc-headers-2.6.18-r3: task do_populate_staging: started
NOTE: package linux-libc-headers-2.6.18-r3: task do_populate_staging: completed
NOTE: Running task 11 of 18 (ID: 17, /var/src/OE/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.18.bb, do_package_write_ipk)
NOTE: package linux-libc-headers-2.6.18-r3: task do_package_write_ipk: started
sh: ipkg-build: command not found
NOTE: Task failed: ipkg-build execution failed
NOTE: package linux-libc-headers-2.6.18-r3: task do_package_write_ipk: failed

Searching my tmp/ tree I find that there is no ipkg-build but a stage-manager-ipkg-build instead. Grepping through the configuration reveals that in conf/bitbake.conf IPKGBUILDCMD' is set to "ipk-build". This variable is used in package_ipk.bbclass'.

I do not quite understand why I do not get this error when linux-libc-headers is implicitly built due to dependencies, but nevertheless it seems that either IPKBUILDCMD is deprecated but still used in `package_ipk.bbclass' though it should not be, or the default in conf/bitbake.conf is not correct?

Cheers,

Martin

Signature · 6 lines
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
There's only one serious question. And that is: Who knows how to make love stay?
Answer me that and I will tell you whether or not to kill yourself. Answer me 
that and I will ease your mind about the beginning and the end of time. Answer 
me that and I will reveal to you the purpose of the moon.  -- Tom Robbins