<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Bjarne D Mathiesen <macintosh@mathiesen.info> wrote:</div><div dir="ltr"><br><blockquote type="cite">When upgrading from php74</blockquote></div><blockquote type="cite"><div dir="ltr"><span></span><br><span>$=> cat php.bash</span><br><span>#!/opt/local/bin/bash</span><br><span></span><br><span>phpOld=${1:-74}</span><br><span>phpNew=${2:-80}</span><br><span></span><br><span>while read -a portName -u 9</span><br><span>do</span><br><span> toInstall="${portName[0]/${phpOld}/${phpNew}}"</span><br><span> installed=$( port -q installed "${toInstall}" | wc -l )</span><br><span> [[ ${installed} -eq 0 ]] && port -cuNp install "${toInstall}"</span><br><span>done 9< <( port -q installed | grep "php${phpOld}" )</span><br><span></span><br><span>I get the following errors :</span><br><span></span><br><span>Error: Port php80-event not found</span><br><span>Error: Port php80-geoip not found</span><br><span>Error: Port php80-imagick not found</span><br><span>Error: Port php80-pdflib not found</span><br><span>Error: Port php80-scrypt not found</span><br><span>Error: Port php80-vld not found</span><br><span>Error: Port php80-xmlrpc not found</span><br><span>Error: Port php80-yaz not found</span><br></div></blockquote><div><br></div><div>Looking at for instance the Portfile for php-offline [0] I see 7.4 listed for php.branches, but 8.0 isn’t there, so there is no php80-pdflib port at the moment and this seems like expected behavior to me.</div><div><br></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">PHP 8.0 is currently only one month old. </span>I am not familiar with these libraries and whether they are compatible with PHP 8.0 yet, but if they are I guess 8.0 just needs to be added to php.branches for these libs. You could create a merge request to add this if they are compatible. I imagine it could also be the case that these libs haven’t been updated for PHP 8.0 (yet).</div><div><br></div><div>Nils.</div><div><br></div><div>[0] <a href="https://github.com/macports/macports-ports/blob/master/php/php-pdflib/Portfile">https://github.com/macports/macports-ports/blob/master/php/php-pdflib/Portfile</a></div><blockquote type="cite"><div dir="ltr"><span></span></div></blockquote></body></html>