Re: Unable to strip using dh_strip
Justin Pryzby-43 wrote:
>
>
> Can you set DH_DEBUG like at the head of the rulesfile and rerun?
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
>
thanks
i added line export DH_DEBUG=1 on top of rules file but o/p is same (no
debug kind of o/p displayed)
then i uncommented a line which says export DH_VERBOSE=1
the o/p is as shown
dh_link -a
rm -f debian/libfreetype6-dev/usr/local/lib/libfreetype.so
ln -sf libfreetype.so.6.3.10
debian/libfreetype6-dev/usr/local/lib/libfreetype.so
rm -f debian/libfreetype6/usr/local/lib/libfreetype.so.6
ln -sf libfreetype.so.6.3.10
debian/libfreetype6/usr/local/lib/libfreetype.so.6
dh_strip -a
strip --strip-debug
debian/libfreetype6-dev/usr/local/lib/libfreetype.a
strip --remove-section=.comment --remove-section=.note
--strip-unneeded debian/libfreetype6/usr/local/lib/libfreetype.so.6.3.10
dh_compress -a
cd debian/libfreetype6-dev
cd '/home/varun/celunite_dpkg/freetype-2.2.1'
cd debian/libfreetype6
cd '/home/varun/celunite_dpkg/freetype-2.2.1'
dh_fixperms -a
find debian/libfreetype6-dev -print0 2>/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/libfreetype6-dev ! -type l -print0 2>/dev/null | xargs
-0r chmod go=rX,u+rw,a-s
find debian/libfreetype6-dev/usr/share/doc -type f ! -regex
'debian/libfreetype6-dev/usr/share/doc/[^/]*/examples/.*' -print0
2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/share/doc -type d -print0
2>/dev/null | xargs -0r chmod 755
find debian/libfreetype6-dev/usr/share/man
debian/libfreetype6-dev/usr/man/ debian/libfreetype6-dev/usr/X11*/man/ -type
f -print0 2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev -perm -5 -type f \( -name '*.so*' -or
-name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/include -type f -name '*.h'
-print0 2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6-dev/usr/lib/perl5
debian/libfreetype6-dev/usr/share/perl5 -type f -perm -5 -name '*.pm'
-print0 2>/dev/null | xargs -0r chmod a-X
find debian/libfreetype6 -print0 2>/dev/null | xargs -0r chown
--no-dereference 0:0
find debian/libfreetype6 ! -type l -print0 2>/dev/null | xargs -0r
chmod go=rX,u+rw,a-s
find debian/libfreetype6/usr/share/doc -type f ! -regex
'debian/libfreetype6/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null |
xargs -0r chmod 644
find debian/libfreetype6/usr/share/doc -type d -print0 2>/dev/null
| xargs -0r chmod 755
find debian/libfreetype6/usr/share/man debian/libfreetype6/usr/man/
debian/libfreetype6/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r
chmod 644
find debian/libfreetype6 -perm -5 -type f \( -name '*.so*' -or -name
'*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6/usr/include -type f -name '*.h' -print0
2>/dev/null | xargs -0r chmod 644
find debian/libfreetype6/usr/lib/perl5
debian/libfreetype6/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0
2>/dev/null | xargs -0r chmod a-X
dh_makeshlibs -plibfreetype6 -V'libfreetype6 (>> 6.3.10)'
rm -f debian/libfreetype6/DEBIAN/shlibs
install -d debian/libfreetype6/DEBIAN
echo 'libfreetype 6 libfreetype6 (>> 6.3.10)'
>>debian/libfreetype6/DEBIAN/shlibs
echo "# Automatically added by dh_makeshlibs">>
debian/libfreetype6.postinst.debhelper
sed ""
/scratchbox/devkits/debian/share/debhelper/autoscripts/postinst-makeshlibs
>> debian/libfreetype6.postinst.debhelper
echo '# End automatically added section' >>
debian/libfreetype6.postinst.debhelper
echo "# Automatically added by dh_makeshlibs">>
debian/libfreetype6.postrm.debhelper
sed ""
/scratchbox/devkits/debian/share/debhelper/autoscripts/postrm-makeshlibs >>
debian/libfreetype6.postrm.debhelper
echo '# End automatically added section' >>
debian/libfreetype6.postrm.debhelper
chmod 644 debian/libfreetype6/DEBIAN/shlibs
chown 0:0 debian/libfreetype6/DEBIAN/shlibs
dh_shlibdeps -a
dpkg-shlibdeps -Tdebian/libfreetype6.substvars
debian/libfreetype6/usr/local/lib/libfreetype.so.6.3.10
dh_installdeb -a
install -o 0 -g 0 -d debian/libfreetype6-dev/DEBIAN
install -o 0 -g 0 -d debian/libfreetype6/DEBIAN
/scratchbox/tools/bin/install: `debian/libfreetype6/DEBIAN' exists but is
not a directory
dh_installdeb: command returned error code 256
make: *** [binary-arch] Error 1
--
View this message in context: http://www.nabble.com/Unable-to-strip-using-dh_strip-tf4598701.html#a13134714
Sent from the debian-mentors mailing list archive at Nabble.com.
Reply to: