From nobody@FreeBSD.ORG  Sat Jan 29 18:37:09 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 3FCAF152C0; Sat, 29 Jan 2000 18:37:09 -0800 (PST)
Message-Id: <20000130023709.3FCAF152C0@hub.freebsd.org>
Date: Sat, 29 Jan 2000 18:37:09 -0800 (PST)
From: jdc@best.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: /usr/bin/install lacks defined symbol/function string_to_flags
X-Send-Pr-Version: www-1.0

>Number:         16464
>Category:       misc
>Synopsis:       /usr/bin/install lacks defined symbol/function string_to_flags
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 29 18:40:01 PST 2000
>Closed-Date:    Fri Feb 18 04:30:42 PST 2000
>Last-Modified:  Fri Feb 18 04:33:04 PST 2000
>Originator:     Jeremy Chadwick
>Release:        4.0-20000127-CURRENT (4.0-CURRENT)
>Organization:
Best Internet
>Environment:
Not applicable.
>Description:
Problem lies in the recent changes to remove string_to_flags from the
ls sourcecode and move it into libutil, then into libc.

During make installworld, programs which are installed via
install ... -fschg ...
cause the make installworld process to abort due to the following:

/usr/lib/ld-elf.so.1: install: Undefined symbol "string_to_flags"

Use of this option (using buggy install) results in failure on
the following applications:

/usr/src/bin/rcp
/usr/src/gnu/usr.bin/man/man
/usr/src/libexec/mail.local
/usr/src/libexec/rtld-aout
/usr/src/libexec/rtld-elf
/usr/src/sbin/init
/usr/src/usr.bin/login
/usr/src/usr.bin/rdist
/usr/src/usr.bin/rlogin
/usr/src/usr.bin/rsh
/usr/src/usr.bin/su
/usr/src/usr.sbin/cron/crontab
/usr/src/usr.sbin/moused
/usr/src/usr.sbin/sliplogin

>How-To-Repeat:
1. cvsup <your supfile which pulls latest -CURRENT code>
2. shutdown now
3. cd /usr/src ; make buildworld
4. make installworld
>Fix:
Edit the respective Makefiles for the binaries which use the
"-fschg" flag, and remove the use of -fschg in the INSTALLFLAGS
definition.

Write down which you modify, then go manually chflags these binaries.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Fri Feb 18 04:30:42 PST 2000 
State-Changed-Why:  
The change was backed out, the problem is fixed. 
If you (by accident) fall into small -current window, 
where this problem mutated, please see src/UPDATING 
for a workaround. 
>Unformatted:
