Bug 16464

Summary: /usr/bin/install lacks defined symbol/function string_to_flags
Product: Base System Reporter: jdc <jdc>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description jdc 2000-01-30 02:40:01 UTC
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

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.
How-To-Repeat: 1. cvsup <your supfile which pulls latest -CURRENT code>
2. shutdown now
3. cd /usr/src ; make buildworld
4. make installworld
Comment 1 ru freebsd_committer freebsd_triage 2000-02-18 12:30:42 UTC
State Changed
From-To: open->closed

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.