Bug 32526

Summary: missing dependencies in /usr/src/secure/usr.sbin/sshd
Product: Base System Reporter: Mark Johnson <mark>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mark Johnson 2001-12-05 02:50:00 UTC
Making "all" after "depend" fails in /usr/src/secure/usr.sbin/sshd, because a key dependency (/usr/src/secure/lib/libssh/libssh.a) is missing from the dependency list.

Fix: 

A temporary workaround is to do 'make' in /usr/src/secure/lib/libssh/ before building in /usr/src/secure/usr.sbin/sshd.
How-To-Repeat: Do a 'make clean' in both /usr/src/secure/lib/libssh/ and /usr/src/secure/usr.sbin/sshd. Then, do 'make depend && make all' in /usr/src/secure/usr.sbin/sshd/. The build will fail to link due to missing dependency libssh.a.
Comment 1 ru freebsd_committer freebsd_triage 2001-12-06 16:03:12 UTC
State Changed
From-To: open->closed

Yes, libssh.a is an "internal static" library, and that's why 
secure/Makefile has "lib" before "usr.sbin" in SUBDIR list.