From nobody Fri Feb 4 20:20:33 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0621E19A310D for ; Fri, 4 Feb 2022 20:20:48 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4Jr6Nt1gNfz4dvm for ; Fri, 4 Feb 2022 20:20:46 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from numenor.groumpf.org (unknown [78.251.129.10]) by aragorn.amdh.fr (Postfix) with ESMTP id 406F95F77A for ; Fri, 4 Feb 2022 21:20:38 +0100 (CET) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 282B41C3C36 for ; Fri, 4 Feb 2022 21:20:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groumpf.org; h= subject:subject:from:from:content-language:user-agent :mime-version:date:date:message-id:content-type:content-type :received:received; s=dkim; t=1644006034; x=1644870035; bh=vR7c/ 62XBHdIpLRl5kGVBEMkrkH+ie5VbEQTHMVQJ30=; b=jya2i4ttNpXCNeOSYRe1b jkfXsKpm05i/l570KrwhNigStu6777U3t5jvFKMuD91abVipYRkf3QOsFynZ8KO/ ZeLnm8AYUKpKBdiyEfQpjYEllopnIUsQWBXJi9C4kglcua/Pr7UEpFwj2MzKajK/ esK7UKoY9Tz4/t2RY5d/lMaseXSTYLBlh3r+0NM/3sW/ZQH28URIyUIY3t7oNKsi KthU57L1E9EDXmPjqZYlpCGW9WWG/GzLL3is5DZbsGAJyA6+v0P8ws+yS8DrNspx obeX981hpYBaOKq06vnjQ3XRKhzPylQV85VUnQtxCXuRPLxHPyL4j0aKT+P2ik+Z EdONwGvgNzZPTDxRfkzxOlcO5t1YVdw0wF+YAjQHXu1DJ9H3qmZRWOW1g9x6pIpB 2gUNDTNSyiIOEmGa3f565EjTI4+kw3llKy4aNdl+d/UXAxbaEstor7hvWYfhh8th 8V6Yh/auauYphxwMQVyM47wYEvEq9rtkAw1v3F9kNCh6J5gWYIVwyHKZ0yK8jLAs 5Ywfq0DVnVBnIX/lKWuHYTdZjeXOt6Qpoexad77WFEONGOSPNZ/ANMgd+bm4NqjX KiwGm6asqiqwNl97d5OOJMGxVFOXRLuKNsYd56T1PiPaoLk60ZaqkUNw1VLH70VD Sk18OxKM67JU19taZsvrLk= Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jSFeo75qwGUn for ; Fri, 4 Feb 2022 21:20:34 +0100 (CET) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id D98191C3C31 for ; Fri, 4 Feb 2022 21:20:33 +0100 (CET) Content-Type: multipart/alternative; boundary="------------g8w0lrYm2CAgour0xYnPcDAx" Message-ID: <121050fe-6243-5ec2-3922-8e4c8a7ef936@groumpf.org> Date: Fri, 4 Feb 2022 21:20:33 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0 To: ports@freebsd.org Content-Language: en-US From: Xavier Humbert Subject: php-fpm (8.0) strange error related to smbclient X-Rspamd-Queue-Id: 4Jr6Nt1gNfz4dvm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=groumpf.org header.s=dkim header.b=jya2i4tt; dmarc=none; spf=pass (mx1.freebsd.org: domain of xavier@groumpf.org designates 176.31.180.205 as permitted sender) smtp.mailfrom=xavier@groumpf.org X-Spamd-Result: default: False [-1.58 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[groumpf.org:s=dkim]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:176.31.180.205]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.981]; DMARC_NA(0.00)[groumpf.org]; NEURAL_SPAM_SHORT(0.80)[0.799]; DKIM_TRACE(0.00)[groumpf.org:+]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; MLMMJ_DEST(0.00)[ports]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------g8w0lrYm2CAgour0xYnPcDAx Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, I recently upgraded my whole php stuff from 7.3 to 8.0 via portupgrade All went flawlessly. But when I want to start php-fpm, I got this error about which Google knows nothing : > [root@numenor php80]# service php-fpm restart > Performing sanity check on php-fpm configuration: >
> Fatal error:  Duplicate parameter name $oldstate for function > smbclient_rename() in Unknown on line 0
I eventually grepped the whole /usr/local/etc AND /usr/local/www directories for this parameter with no success Where the hell does this come from ? Samba, obviously, a grep in /usr/local/lib/php matches in smbclient.so Also, libsbmclient-php sources show this parameter twice : https://github.com/eduardok/libsmbclient-php/blob/master/smbclient.c#L189 But how fix this, any idea May I fill a PR ? Cheers, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr --------------g8w0lrYm2CAgour0xYnPcDAx Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi,

I recently upgraded my whole php stuff from 7.3 to 8.0 via portupgrade

All went flawlessly. But when I want to start php-fpm, I got this error about which Google knows nothing :

[root@numenor php80]# service php-fpm restart
Performing sanity check on php-fpm configuration:
<br />
<b>Fatal error</b>:  Duplicate parameter name $oldstate for function smbclient_rename() in <b>Unknown</b> on line <b>0</b><br />
I eventually grepped the whole /usr/local/etc AND /usr/local/www directories for this parameter with no success

Where the hell does this come from ? Samba, obviously, a grep in /usr/local/lib/php matches in smbclient.so

Also, libsbmclient-php sources show this parameter twice :
https://github.com/eduardok/libsmbclient-php/blob/master/smbclient.c#L189

But how fix this, any idea May I fill a PR ?

Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr
--------------g8w0lrYm2CAgour0xYnPcDAx--