On Tue, Mar 11, 2008 at 12:43:28PM +0100, Lucas Nussbaum wrote:
> On 11/03/08 at 08:54 +0000, Gerrit Pape wrote:
> > On Tue, Mar 11, 2008 at 10:19:31AM +0100, Lucas Nussbaum wrote:
> > > During a rebuild of all packages in sid, your package failed to build on 
> > > i386.
> > > > ./install
> > > > install: fatal: unable to write .../bin/tcpserver: access denied
> > > > make: *** [install] Error 111
> > 
> > Hi Lucas, I cannot reprodcue this, neither with pbuilder, nor on a
> > regular machine, nor through the autobuilders
> > 
> >  http://buildd.debian.org/build.php?arch=&pkg=ucspi-tcp
> > 
> > What's different with your build environment?
> 
> building as user, not root, and no home directory for the user, which
> breaks packages that write files in $HOME during the build.
> 
> Does that help?

Unfortunately not, it builds as user with fakeroot just fine, and it
also doesn't touch $HOME.  Can you strace the install program?:

diff --git a/debian/rules b/debian/rules
index 17716e9..8ffd8a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,7 +39,7 @@ install: deb-checkdir deb-checkuid build-stamp
        rm -f install instcheck install.o instcheck.o hier.o auto_home.o
        $(MAKE) install instcheck
        mv -f conf-home'{orig}' conf-home
-       ./install
+       strace -o/tmp/trace ./install
        ./instcheck
        # fix up permissions
        chmod 0755 '$(DIR)'/usr '$(DIR)'/usr/bin

Thanks, Gerrit.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to