Mailing List Archive

[Bug 644] "make clean" fails when building outside of source tree
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@mindrot.org
ReportedBy: roth@feep.net
CC: roth@feep.net


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

roth@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.
[Bug 644] "make clean" fails when building outside of source tree [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=644





------- Additional Comments From dtucker@zip.com.au 2003-09-17 10:34 -------
Created an attachment (id=403)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=403&action=view)
Fix "make clean" target

Unfortunately the fix for this did not make the tree before 3.7



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 644] "make clean" fails when building outside of source tree [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=644

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED



------- Additional Comments From dtucker@zip.com.au 2003-09-22 11:00 -------
Thanks for the report, the patch has been applied to HEAD and the 3.7 branch.



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