Date: Wed, 17 Feb 2016 14:16:57 +0100 From: John Marino <freebsdml@marino.st> To: Matt Smith <fbsd@xtaz.co.uk>, freebsd-ports@freebsd.org, miwi@FreeBSD.org Subject: Re: PHP7 + Synth issue Message-ID: <56C472C9.9080708@marino.st> In-Reply-To: <20160217131021.GG97105@xtaz.uk> References: <20160217131021.GG97105@xtaz.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/17/2016 2:10 PM, Matt Smith wrote: > Hi guys, I'm using the ports-mgmt/synth package builder to build my > packages. I just tried to build all of the packages for PHP7 from the > new ports and came across an issue. If I set php=7.0 in DEFAULT_VERSIONS > in the LiveSystem-make.conf (make.conf) then Synth bails out and refuses > to build the repository. It does this: > > Scanning entire ports tree. > progress: 5.93% > culprit: comms/atslog > Scan aborted because dependency could not be located. > databases/php70-mysql (required dependency of comms/atslog) does not exist. > > It looks like it scans the port tree, come across a port that has > USE_PHP=mysql in it and then bails because the port > databases/php70-mysql does not exist. Obviously because mysql was > removed from PHP7 in favour of mysqli. > > Is this a problem with the ports infrastructure or should I just not > declare php=7.0 in the DEFAULT_VERSIONS? If I do this then it builds > fine, but I guess that might cause other issues elsewhere. It seems like a problem with comms/atslog to me. You can work around it now by removing MYSQL as a default option for that port (either modifying the port itself or adding something in <profile>-make.conf to change it) atslog is not maintained. Another option is hiding the option if php>=7. Probably the easiest thing to do is turn off the option by default though.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56C472C9.9080708>