+++ Joey Hess [2010-01-20 14:00 -0500]: > Wookey wrote: > > Running it as root via fakeroot we get the dh_fixperms problem again. That > > loks like a clue. > > Perhaps it is a fakeroot problem really? > > > > # DH_VERBOSE=1 fakeroot dh_fixperms > > find debian/build-tools -print0 2>/dev/null | xargs -0r chown > > --no-dereference 0:0 > > find debian/build-tools ! -type l -print0 2>/dev/null | xargs -0r > > chmod go=rX,u+rw,a-s > > find debian/build-tools/usr/share/doc -type f ! -regex > > 'debian/build-tools/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | > > xargs -0r chmod 644 > > find debian/build-tools/usr/share/doc -type d -print0 2>/dev/null > > | xargs -0r chmod 755 > > chmod: changing permissions of > > debian/build-tools/usr/share/doc/build-tools': Invalid argument > > dh_fixperms: find debian/build-tools/usr/share/doc -type d -print0 > > 2>/dev/null | xargs -0r chmod 755 returned exit code 123 > > > > > > Any other ideas? > > Seems that you have not tried running the chmod command manually inside > fakeroot.
$ fakeroot r...@eisluft:~/tcl/lwdev-svn/tools/build-tools# chmod 755 debian/build-tools/usr/share/doc debian/build-tools/usr/share/doc/build-tools chmod: changing permissions of debian/build-tools/usr/share/doc/build-tools': Invalid argument r...@eisluft:~/tcl/lwdev-svn/tools/build-tools# chmod 755 debian/build-tools/usr/share/doc/build-tools debian/build-tools/usr/share/doc/build-tools chmod: changing permissions of debian/build-tools/usr/share/doc/build-tools': Invalid argument r...@eisluft:~/tcl/lwdev-svn/tools/build-tools# chmod 755 debian/build-tools/usr/share/doc/build-tools r...@eisluft:~/tcl/lwdev-svn/tools/build-tools# chmod 755 debian/build-tools/usr/share/doc/build-tools foo chmod: cannot access foo': No such file or directory r...@eisluft:~/tcl/lwdev-svn/tools/build-tools# chmod 755 debian/build-tools/usr/share/doc/build-tools debian/build-tools/usr/share/doc chmod: changing permissions of debian/build-tools/usr/share/doc': Invalid argument OK, yes, looks like the second valid file given to chmod inside fakeroot is giving invalid argument. Thanx for the clarity of thought. I'll do some more tests to narrow it down. perhaps re-assign to fakeroot for now? It's clearly not debhelper's fault. Wookey -- Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian http://wookware.org/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

