From nobody@FreeBSD.org  Wed Mar 20 14:48:30 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7A89D37B438
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 20 Mar 2002 14:48:14 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g2KMmER10197;
	Wed, 20 Mar 2002 14:48:14 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203202248.g2KMmER10197@freefall.freebsd.org>
Date: Wed, 20 Mar 2002 14:48:14 -0800 (PST)
From: Nick Jennings <nick@namodn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: building fortunes from source, binary does not work (no datfiles installed)
X-Send-Pr-Version: www-1.0
X-GNATS-Notify: kris

>Number:         36152
>Category:       misc
>Synopsis:       building fortunes from source, binary does not work (no datfiles installed)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 14:50:01 PST 2002
>Closed-Date:    Thu Mar 21 00:13:19 PST 2002
>Last-Modified:  Thu Mar 21 00:14:15 PST 2002
>Originator:     Nick Jennings
>Release:        4.5-RELEASE (tracking RELENG_4_5 updates)
>Organization:
>Environment:
FreeBSD punishment.xrl.nkj 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Mar 18 21:21:47 PST 2002     nick@punishment.xrl.nkj:/usr/src/sys/compile/NKJ  i386   
>Description:
after updating 'src-all' with cvsup, I go into /usr/src/games/fortune/ and run 'make all', then 'make install'.

running 'fortune' produces the following output:

$ fortune
/usr/share/games/fortune/fortunes: No such file or directory
$ which fortune
/usr/games/fortune
$ ls -al /usr/share/games/fortune/
total 4
drwxr-xr-x  2 root  wheel  512 Mar 17 11:44 .
drwxr-xr-x  6 root  wheel  512 Mar 17 11:44 ..
$


>How-To-Repeat:
compile and install the fortune program in /usr/src/games/fortune and then try to execute the binary (located in /usr/games/fortune).


>Fix:

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: Nick Jennings <nick@namodn.com>
Cc: freebsd-gnats-submit@FreeBSD.org, ru@FreeBSD.org
Subject: Re: misc/36152: building fortunes from source, binary does not work (no datfiles installed)
Date: Wed, 20 Mar 2002 16:57:35 -0800

 On Wed, Mar 20, 2002 at 02:48:14PM -0800, Nick Jennings wrote:
 
 > >Description:
 > after updating 'src-all' with cvsup, I go into /usr/src/games/fortune/ and run 'make all', then 'make install'.
 > 
 > running 'fortune' produces the following output:
 > 
 > $ fortune
 > /usr/share/games/fortune/fortunes: No such file or directory
 > $ which fortune
 > /usr/games/fortune
 > $ ls -al /usr/share/games/fortune/
 > total 4
 > drwxr-xr-x  2 root  wheel  512 Mar 17 11:44 .
 > drwxr-xr-x  6 root  wheel  512 Mar 17 11:44 ..
 > $
 > 
 > 
 > >How-To-Repeat:
 > compile and install the fortune program in /usr/src/games/fortune and then try to execute the binary (located in /usr/games/fortune).
 
 Looks like this was broken in rev 1.28 of
 /usr/src/games/fortune/datfiles/Makefile.  Ruslan, can you
 investigate?
 
 Kris
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Thu Mar 21 00:08:47 PST 2002 
State-Changed-Why:  
This particular behavior is caused by not upgrading the 
/usr/share/mk make(1) infrastructure first.  The FILES 
support for <bsd.prog.mk> was added in revision 1.86.2.6 
and originator apparently has an older version installed. 

Unless you understand the upgrade process in details, the 
only correct way is through the "make world". 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Mar 21 00:08:47 PST 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=36152 
>Unformatted:
