Hi, On Mon, 2007-11-05 at 17:12:19 +0100, BRIAND, Michel M wrote: > Le lundi 05 novembre 2007 à 15:20 +0100, BRIAND, Michel M a écrit : > > I've built dpkg on Solaris, to use it as a normal user (not-root). > > I keep having some troubles with this message during installation > > of hand-made packages (hand made software+dh_make+dpkg-buildpackage) : > > > > dpkg: error while cleaning up: > > failed to delete `/my/install/dir/var/dpkg/tmp.ci': File exists > > > > Installation complete but with this error. > > Should I say that I have complete ownership of /my/install/dir...?... > > > > Someone can point me to somewhere in the code to fix this ?
> On Solaris rmdir returns EEXIST in this case. > > Here we can see that the two values are permitted : > http://www.opengroup.org/pubs/online/7908799/xsh/rmdir.html > > So I added : > > if (errno == EEXIST) > errno = ENOTEMPTY; > > before each occurence. > > Any comment ? I've fixed this now in git (commit 76877c6f). Please submit bug reports in the future, it's going to be easier to track them this way. thanks, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

