On 25/06/2010 06:45, Juan Manuel wrote:
> Keep getting this error during build on Ubuntu 10.04. Tried changing the
> permissions but error still remains. Any ideas?
it seems the makefile there deletes the stuff and re-generates it, so
it'll overwrite any manual change.
> dpkg-deb
> --build ../../unxlngx6.pro/misc/openoffice.org3.3-debian-menus_3.3-9511_all
> /host/OpenOffice/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org3.3-debian-menus_3.3-9511_all.deb"
>
> dpkg-deb: building package `openoffice.org-debian-menus' in
> `/host/OpenOffice/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org3.3-debian-menus_3.3-9511_all.deb'.
> dpkg-deb: control directory has bad permissions 777 (must be >=0755 and
> <=0775)
> dmake: Error code 2, while making
> '/host/OpenOffice/sysui/unxlngx6.pro/bin/desktop-integration/openoffice.org3.3-debian-menus_3.3-9511_all.deb'
apparently your dpkg has stricter error checking than older ones.
please try if the attached (untested) patch improves your build experience.
if it does i'll open an issue so it gets committed.
--
"Save the environment. Create a closure today." -- Cormac Flanagan
diff -r 5bd839f4651b sysui/desktop/debian/makefile.mk
--- a/sysui/desktop/debian/makefile.mk Thu Jun 24 17:34:59 2010 +0200
+++ b/sysui/desktop/debian/makefile.mk Fri Jun 25 10:26:24 2010 +0200
@@ -85,7 +85,7 @@
-$(RM) $(@:d)$(@:f:s/_/ /:1)_*
$(RM) -r $(MISC)$/$(@:b)
dmake $(MISC)$/$(@:b)$/DEBIAN$/{control postinst postrm prerm}
- @chmod -R g-w $(MISC)$/$(@:b)
+ @chmod -R go-w $(MISC)$/$(@:b)
@chmod a+rx $(MISC)$/$(@:b)$/DEBIAN $(MISC)/$(@:b)/DEBIAN/post* $(MISC)/$(@:b)/DEBIAN/pre*
@chmod g-s $(MISC)/$(@:b)/DEBIAN
@mkdir -p $(PKGDIR)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]