reassign 618782 fakeroot retitle 618782 fakeroot: doesn't wrap lchmod() thanks
On Fri, Mar 18, 2011 at 03:26:15PM +0100, Cyril Brulebois wrote: > Joey Hess <jo...@debian.org> (18/03/2011): > > git-annex needs to be able to git init and git clone as part of its > > test suite. So, it build-depends on git. > > Thanks, I figured that part out… > > > Why is the freebsd buildd not letting git access > > /usr/share/git-core/templates/branches? Either git is badly broken > > on freebsd, or there is some kind of permissions problem. > > $ dpkg --contents ~/git_1.7.4.1-3_kfreebsd-i386.deb|grep branches > drwx------ root/root 0 2011-03-10 14:38 > ./usr/share/git-core/templates/branches/ > > Aurélien, maybe that old fakeroot issue, and git needs a binNMU? > The issue, is due to multiple facts: - git doesn't use debhelper and use tar to install files in the package. It also means dh_fixperms is not run afterwise - On GNU/kFreeBSD recent tar versions use the lchmod() function to change the permissions of directories. - fakeroot doesn't wrap the lchmod() function probably because it doesn't exist on GNU/Linux (or rather is not implemented). It is also the reason why fakeroot currently fails to build on GNU/kFreeBSD. I can try to provide a patch to fix the issue, but it would be nice to get some guidelines about how to wrap a new function. This function is simply: int lchmod(const char *path, mode_t mode); -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org