Bug 231220 - devel/flyspray is incompatible with PHP71
Summary: devel/flyspray is incompatible with PHP71
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 12:49 UTC by ml
Modified: 2021-02-18 20:05 UTC (History)
1 user (show)

See Also:


Attachments
Use databases/adodb5 instead of databases/adodb (621 bytes, patch)
2019-02-17 10:32 UTC, ml
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ml 2018-09-07 12:49:18 UTC
This software uses function split() which was deprecated already in PHP 5.6 and removed in 7.0.

While a newer version of FlySpray (1.0) is in beta, the one we have in ports (0.9.9.7) needs something like PHP_VER=56 in the Makefile to run.

That's however not enough, since devel/flyspray requires databases/adodb, which needs the same treat (unless it becomes flavorized one day).

According to FreshPorts, devel/flyspray is the only consumer of databases/adodb.
Comment 1 ml 2019-02-17 10:32:15 UTC
Created attachment 202089 [details]
Use databases/adodb5 instead of databases/adodb

Upon further investigation, FlySpray itself can work with PHP 7.2 (albeit with some warnings).
The real problem is its dependency databases/adodb, which is stuck at PHP 5.

However FlySpray works fine with (the newer) databases/adodb5.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-02-18 20:05:19 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Feb 18 20:04:22 UTC 2021
New revision: 565975
URL: https://svnweb.freebsd.org/changeset/ports/565975

Log:
  Switch from databases/adodb to databases/adodb5 to fix with newer versions of PHP

  PR:		231220
  Submitted by:	ml@netfence.it

Changes:
  head/devel/flyspray/Makefile