Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 1997 17:01:43 -0800 (PST)
From:      Paul Traina <pst@jnx.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2889: make release fails
Message-ID:  <199703060101.RAA11327@visitor.jnx.com>
Resent-Message-ID: <199703060110.RAA27904@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2889
>Category:       bin
>Synopsis:       make release fails to build due to libscrypt not being built
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  5 17:10:01 PST 1997
>Last-Modified:
>Originator:     Paul Traina
>Organization:
Juniper Networks, Inc.
>Release:        FreeBSD 2.2-RELEASE i386
>Environment:

Building a 2.2 release.

>Description:

...
touch release.4
# Handle some grief caused by the munition braindeadness.
for i in sbin/init bin/ed ; do  ( cd /usr/src/release/../$i;  make -DNOCRYPT clean all distribute DISTDIR=/R/stage/trees ) ;  done
rm -f a.out Errs errs mklog init init.o init.8.gz
cc -O2 -pipe -DDEBUGSHELL -DSECURE   -c /usr/src/sbin/init/init.c
cc -O2 -pipe -DDEBUGSHELL -DSECURE    -static -o init init.o  -lutil -L/usr/src/sbin/init/../../lib/libcrypt -lscrypt
ld: -lscrypt: no match
*** Error code 1

First, /sbin/init's makefile is trying to find the library in the
source directory.  It should be looking in the obj directory.

Secondly, the obj directory doesn't exist (which may be causing the
first problem, but I doubt it).  It seems we never make libcrypt if
the secure distribution is present.

>How-To-Repeat:

make release

>Fix:
	
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703060101.RAA11327>