[Bug 644] "make clean" fails when building outside of source tree

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Sep 17 10:24:30 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=644

           Summary: "make clean" fails when building outside of source tree
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: roth at feep.net
                CC: roth at feep.net


Under OpenSSH-3.7.1p1, "make clean" fails with the following error when building
outside of the source tree:

roth at coredump:/scratch/os/obj> make clean
rm -f *.o *.a ssh sshd ssh-add ssh-keygen ssh-keyscan ssh-keysign ssh-agent scp
ssh-rand-helper sftp-server sftp logintest config.cache config.log 
rm -f *.out core 
(cd openbsd-compat && gmake clean)
gmake[1]: Entering directory `/services/scratch/os/obj/openbsd-compat'
rm -f *.o *.a core 
gmake[1]: Leaving directory `/services/scratch/os/obj/openbsd-compat'
(cd regress && gmake clean)
/bin/sh: regress: does not exist
gmake: *** [clean] Error 1

The problem seems to be that the "regress" subdirectory only exists in the
source tree, not the build tree.

This may also be a problem for the "distclean" target.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list