dh_strip gave error while building adt package ?

Asked by Gajj GNDU

Hello everybody,

I was trying to create deb package for adt (Android Developer Tools) Bundle & got this error whicle buling deb file after uploading.
the error is as follows
dh_link
dh_strip
strip: Unable to recognise the format of the input file `debian/adt/opt/adt/sdk/build-tools/android-4.3/renderscript/lib/intermediates/armeabi-v7a/libm.so'
dh_strip: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/adt/opt/adt/sdk/build-tools/android-4.3/renderscript/lib/intermediates/armeabi-v7a/libm.so returned exit code 1
make: *** [binary-arch] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//32522 and its subdirectories

I'm newbie in packaging & not a pro. If anybody can help me to solve the problem, i will really appreciate that. thanks in advance !!!

Regards
Navdeep Singh

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Gajj GNDU
Solved:
Last query:
Last reply:
Revision history for this message
Gajj GNDU (linuxgndu) said :
#1

solved by removing dh_strip from rules , by the way why dh_strip is used in rules files, what is it's functionality?

Revision history for this message
William Grant (wgrant) said :
#2

Creating Ubuntu packages is documented at http://packaging.ubuntu.com/html/. This is the support forum for the services provided by Launchpad.net, so we can't provide help with general non-Launchpad-specific Ubuntu packaging issues.

Revision history for this message
Gajj GNDU (linuxgndu) said :
#3

Thanks William !!!