From owner-freebsd-ports@freebsd.org Thu Apr 20 08:08:59 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA276D451CD for ; Thu, 20 Apr 2017 08:08:59 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A5F03EAF for ; Thu, 20 Apr 2017 08:08:59 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: by mailman.ysv.freebsd.org (Postfix) id A554CD451CB; Thu, 20 Apr 2017 08:08:59 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4DB0D451CA; Thu, 20 Apr 2017 08:08:59 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68AF1EAE; Thu, 20 Apr 2017 08:08:59 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1B14E28462; Thu, 20 Apr 2017 10:08:57 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id BABCF28423; Thu, 20 Apr 2017 10:08:55 +0200 (CEST) Subject: Re: databases/mariadb101-client upgraded in wrong order, resulted in missing files To: Bernard Spil Cc: pkg@freebsd.org, FreeBSD Ports References: <58DE5A34.3080305@quip.cz> <58F66CEB.2090507@quip.cz> <50950987cce41dc258762c89b80d8447@FreeBSD.org> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <58F86C97.2080501@quip.cz> Date: Thu, 20 Apr 2017 10:08:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <50950987cce41dc258762c89b80d8447@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 08:08:59 -0000 Bernard Spil wrote on 2017/04/19 21:32: > On 2017-04-18 21:45, Miroslav Lachman wrote: >> Miroslav Lachman wrote on 2017/03/31 15:31: >>> I don't know if it was "pkg" fault or mariadb101-server and >>> mariadb101-client conflict. >>> >>> I did standard "pkg upgrade" and at the end I have half files of >>> mariadb101-client missing: >>> >>> # pkg check -Ba >>> Checking all packages: ... >>> pkg: fstat() failed for(/usr/local/bin/msql2mysql): No such file or [...] >>> [82/86] Upgrading mariadb101-server from 10.1.21 to 10.1.22... >>> ===> Creating groups. >>> Using existing group 'mysql'. >>> ===> Creating users >>> Using existing user 'mysql'. >>> [82/86] Extracting mariadb101-server-10.1.22: .......... done >>> >>> This was on FreeBSD 10.3 amd64 with packages from own poudriere with >>> follogin settings: >>> >>> OPTIONS_UNSET= X11 GUI CUPS DOCS EXAMPLES NLS HAL >>> WITH_BDB_VER=5 >>> WITH_GHOSTSCRIPT_VER=9 >>> DEFAULT_VERSIONS=apache=2.4 perl5=5.24 mysql=10.1m php=5.6 python=2.7 >>> python3=3.5 pgsql=9.4 ssl=openssl >>> DISABLE_LICENSES=yes >>> >>> >>> databases_mariadb101-client/options >>> OPTIONS_FILE_SET+=GSSAPI_NONE >>> >>> databases_mariadb101-server/options >>> OPTIONS_FILE_SET+=MAXKEY >>> OPTIONS_FILE_SET+=GSSAPI_NONE >>> OPTIONS_FILE_SET+=SPHINX >>> OPTIONS_FILE_SET+=SPIDER >>> >>> I think all users of MariaDB 10.1 should be warned in UPDATING >>> >>> Let me know if you need some more details. >> >> Am I the only one beaten by this issue? I see this on each of our >> machines during pkg upgrade. >> >> Miroslav Lachman > > Hi Miroslav, > > Looks like it. My own servers were upgraded with mariadb from pkg > without issues. > > Sorry for your inconvenience, don't know what would cause that. The root cause is IMHO this change in pkg-plist https://svnweb.freebsd.org/ports/head/databases/mariadb101-client/pkg-plist?r1=436392&r2=436391&pathrev=436392 https://svnweb.freebsd.org/ports/head/databases/mariadb101-server/pkg-plist?r1=436857&r2=436856&pathrev=436857 but I don't understand why nobody else see this problem on pkg upgrade. We are using poudriere with standard ports tree, MariaDB is build with standard options etc. Miroslav Lachman