* Deploy binaries not compiled for target / PACKAGE_STRIP = "no" does not work?
@ 2012-02-20 11:05 Robert Budde
2012-02-20 12:12 ` Paul Eggleton
0 siblings, 1 reply; 2+ messages in thread
From: Robert Budde @ 2012-02-20 11:05 UTC (permalink / raw)
To: openembedded-devel
Hi!
I am trying to write a recipe for packaging "webmin". The web-interface for
system administration is written entirely in PERL, therefore it "just" has
to be copied to the right directory (and some conf-files have to be
generated). Right now the recipe should download the right archive and copy
the files to the right directory. As the archive contains precompiled
binaries the "strip"-operations in do_package() fail!? I tried to get rid of
it by 'PACKAGE_STRIP = "no"', but that does not work.
webmin_1.580.bb: http://pastebin.com/7T9duc7j
webmin.inc: http://pastebin.com/ZUcqGSGF
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 995 of 1324 (ID: 9,
/angstrom/setup-scripts/meta-omnigateipes/webmin/webmin_1.580.bb,
do_package)
NOTE: package webmin-1.580-r3.0: task do_package: Started
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip'
--remove-section=.comme-remove-section=.note
'/angstrom/setup-scripts/build/tmp-angstrom_2010_x-eglwork/armv7a-angstrom-l
inux-gnueabi/webmin-1.580-r3.0/package/usr/share/webmiunt/freebsd-mounts-3''
strip command failed
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip'
--remove-section=.comme-remove-section=.note --strip-unneeded
'/angstrom/setup-scripts/build/tmp-anom_2010_x-eglibc/work/armv7a-angstrom-l
inux-gnueabi/webmin-1.580-r3.0/packagr/share/webmin/acl/Authen-SolarisRBAC-0
.1/blib/arch/auto/Authen/SolarisRBAC/risRBAC.so'' strip command failed
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip'
--remove-section=.comme-remove-section=.note
'/angstrom/setup-scripts/build/tmp-angstrom_2010_x-eglwork/armv7a-angstrom-l
inux-gnueabi/webmin-1.580-r3.0/package/usr/share/webmiunt/freebsd-mounts-4''
strip command failed
ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip'
--remove-section=.comme-remove-section=.note
'/angstrom/setup-scripts/build/tmp-angstrom_2010_x-eglwork/armv7a-angstrom-l
inux-gnueabi/webmin-1.580-r3.0/package/usr/share/webmiunt/freebsd-mounts-5''
strip command failed
Any ideas? Is there an alternative to tell bitbake/oe just to deploy the
files?
Best regards,
Robert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Deploy binaries not compiled for target / PACKAGE_STRIP = "no" does not work?
2012-02-20 11:05 Deploy binaries not compiled for target / PACKAGE_STRIP = "no" does not work? Robert Budde
@ 2012-02-20 12:12 ` Paul Eggleton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2012-02-20 12:12 UTC (permalink / raw)
To: Robert Budde; +Cc: openembedded-devel
On Monday 20 February 2012 12:05:48 Robert Budde wrote:
> I am trying to write a recipe for packaging "webmin".
Ah, well the good news is I did this already :) :
http://git.yoctoproject.org/cgit/cgit.cgi/meta-baryon/tree/recipes-
extended/webmin/
There might be some tweaking required as we turned off a few things and applied
some minor customisations, but it builds and works.
> The web-interface for
> system administration is written entirely in PERL, therefore it "just" has
> to be copied to the right directory (and some conf-files have to be
> generated). Right now the recipe should download the right archive and copy
> the files to the right directory. As the archive contains precompiled
> binaries the "strip"-operations in do_package() fail!? I tried to get rid of
> it by 'PACKAGE_STRIP = "no"', but that does not work.
To turn off stripping you would do INHIBIT_PACKAGE_STRIP ="1", however for
something like this where there is nothing architecture-specific you would do
"inherit allarch" which does this for you among other things. However, the
precompiled binaries the errors refer to are actually not needed and the
recipes I link to above just delete them before packaging.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-20 12:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-20 11:05 Deploy binaries not compiled for target / PACKAGE_STRIP = "no" does not work? Robert Budde
2012-02-20 12:12 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.