ports/89811: fortune's .dat format change breaks precompiled bible.dat for port fortune-mod-bible
Doug Poland
doug at polands.org
Thu Dec 1 19:00:31 UTC 2005
>Number: 89811
>Category: ports
>Synopsis: fortune's .dat format change breaks precompiled bible.dat for port fortune-mod-bible
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 01 19:00:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Doug Poland
>Release: 6.0
>Organization:
>Environment:
FreeBSD ammon.polands.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 11 19:47:54 CST 2005 djp at ammon.polands.org:/usr/obj/usr/src/sys/SMP i386
>Description:
On Thu Feb 17 18:06:37 2005 UTC, ru submitted a change (1.27) to fortune.c that implements a change to read a new on-disk format of the .dat files. (http://www.freebsd.org/cgi/cvsweb.cgi/src/games/fortune/fortune/fortune.c)
This change renders old .dat files incompatible with version of fortune compiled after 2005-02-17.
Therefore, the supplied bible.dat file that is supplied with the port no longer works.
>How-To-Repeat:
% fortune /usr/local/share/games/fortune/bible
>Fix:
The interim fix is to re-compile the .dat file thusly:
# strfile -C bible
The long term fix is to change the Makefile so it generates the .dat file when the port is built.
Note to self: As the distfile is also used in the GNU/Linux realm, I can still supply the pre-compiled .dat file as it works on x86 arch. Elegent fix would be to have RPM thingies work like the port, build the .dat upon installation.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list