[Bug 297406] www/nextcloud: FreeBSD patch uses undefined POSIX_EPERM
| Newsgroups | gmane.os.freebsd.devel.ports.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297406
Bug ID: 297406
Summary: www/nextcloud: FreeBSD patch uses undefined
POSIX_EPERM
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Affects at least FreeBSD packages nextcloud-php84-34.0.1_1 and
nextcloud-php84-34.0.2.
files/patch-PR296323, introduced by commit 811fa21, uses POSIX_EPERM, which
PHP 8.4 does not define.
Nextcloud cron fails with:
Undefined constant "OC\BackgroundJob\POSIX_EPERM"
Tested on FreeBSD with PHP 8.4.24: posix_kill() returns false and
posix_get_last_error() returns integer 1 for EPERM.
Upstream’s working solution is:
posix_get_last_error() === 1 /* EPERM */
--
You are receiving this mail because:
You are the assignee for the bug.