Bug 231220

Summary: devel/flyspray is incompatible with PHP71
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me CC: ml
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Use databases/adodb5 instead of databases/adodb none

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