Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405191 - games-misc/fortune-mod: "No fortunes found" in Prefix
Summary: games-misc/fortune-mod: "No fortunes found" in Prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 21:32 UTC by Askar Bektassov
Modified: 2012-03-03 11:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info,3.50 KB, text/plain)
2012-02-21 21:32 UTC, Askar Bektassov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Askar Bektassov 2012-02-21 21:32:50 UTC
Created attachment 302737 [details]
emerge --info

After fresh installation, fortune refuses to play the cookies in $PREFIX/usr/share/fortune, blaming "No fortunes found". Unless a symlink out of prefix /usr/share/fortune is created.

reproducible: always

~$ fortune
No fortunes found
~$ sudo ln -s $PREFIX/usr/share/fortune /usr/share/fortune 
~$ fortune
...though his invention worked superbly -- his theory was a crock of sewage from
beginning to end. -- Vernor Vinge, "The Peace War"

Strangely enough, the same package version worked with no issue when I emerged it first in september.

~$ genlop -l|grep fortune-mod-1.99.1-r2
     Fri Sep  9 01:01:18 2011 >>> games-misc/fortune-mod-1.99.1-r2
     Tue Feb 21 20:20:13 2012 >>> games-misc/fortune-mod-1.99.1-r2
Comment 1 Fabian Groffen gentoo-dev 2012-03-03 11:43:29 UTC
I fixed it now.  We didn't pass prefix=${EPREFIX} during make, hence non-offset locations were compiled into the fortune binary.

Thanks!