Upgrade to HaProxy 0.59_11 fails on 2.4.3
I cannot upgrade to haproxy 0.59_11 because getarraybyref() no longer exists:
Executing custom_php_install_command()...PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 2338, Message: Call to undefined function getarraybyref()pkg-static: POST-INSTALL script failed
#3 Updated by Jim Pingle 10 months ago
No, each release has its own branch. It's possible that an edit intended to only stay on 2.4.4 was picked back to 2.4.3_1.
That said, now that 2.4.4 is out, 2.4.3-p1 is no longer officially supported, so your most likely path to resolution is to upgrade and then try it again.
#4 Updated by Florian Apolloner 10 months ago
Well it sounds as if https://github.com/pfsense/FreeBSD-ports/pull/555#discussion_r212271252 got into 2.4.3?
It seems like 2.4.3 is automatically pulling in the 2.4.4 repository files..?? Even though the 2.4.3 files still exist:
Not sure whats going wrong there, but it could be nice to offer 2.4.3 users to stay on 2.4.3 while they want/need it..
#8 Updated by Florian Apolloner 10 months ago
I can confirm that upgrading to 2.4.4 fixes it, as well as downgrading haproxy to 0.59_9 via: pkg add -f https://files00.netgate.com/pfSense_v2_4_3_amd64-pfSense_v2_4_3/All/pfSense-pkg-haproxy-0.59_9.txz
#9 Updated by Jim Pingle 10 months ago
Ah, I forgot that it automatically probes the "latest stable" repo which automatically points you to 2.4.4/RELENG_2_4_4 to obtain updates.
Aside from the "legacy" option for 2.3.x that's how it has always worked. If you're tracking stable updates it will pull from the latest branch on the line.
It's not built to let people stay outdated with packages.