FS#67072 - [fortune-mod] Cookie files at /usr/local/share/fortune/ not found since 2.6.1-1

Attached to Project: Community Packages
Opened by Lukas Waymann (meribold) - Monday, 22 June 2020, 06:34 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To George Rawlinson (rawlinsong)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package version: 2.6.1-1 and later

Steps to reproduce:

I have a cookie file at `/usr/local/share/fortune/meribold` and running `fortune meribold` no longer works since the update to 2.6.1-1 ("No fortunes found").

I was looking at [this diff][1] and these lines looks suspicious:

- make REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX -DHAVE_STDBOOL' \
- COOKIEDIR=/usr/share/fortune \
- LOCALDIR=/usr/local/share/fortune all fortune/fortune.man
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DNO_OFFENSIVE=OFF \
+ -DLOCALDIR=/usr/share/fortune/ \
+ -DLOCALODIR=/usr/share/fortune/off/ \
+ -DCOOKIEDIR=/usr/share/fortune/ \
+ -DOCOOKIEDIR=/usr/share/fortune/off/

LOCALDIR and COOKIEDIR are set to the same value now. I assume LOCALDIR should still be "/usr/local/share/fortune".

[1]: https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/fortune-mod&id=c27ae3d4c050b55d1f9733480efbde59855a46fc
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:01 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/fortune-mod/issues/1
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...