From owner-freebsd-questions@FreeBSD.ORG Thu Jun 27 10:13:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1A1A15B8 for ; Thu, 27 Jun 2013 10:13:07 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id A83D418AD for ; Thu, 27 Jun 2013 10:13:06 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id p58so407390wes.12 for ; Thu, 27 Jun 2013 03:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BuQelW//I+aiEUu1pnV1vRCLLCAr/dn+qQN+s7BNmM8=; b=dm8LaPtFQtoGp2uXsguKdWLHry+BQf18LiUX2rUJzOz4/Td06yRUDiJ8qJYPPG1khu dGa0LCPd7Pq/fwxrX5d+G0U4H1+hn71wneJR/1CYG3WdDBCY/GD5GQoP+XWnuFSRmJUA Fm1dd5dmIIwDsPu4ZOuW7kF9TmwpWQGFwOulkQk8+sHOI2qY8PNbuxmVwbv/+5qfhsC1 dwV4WtgzfaFbhRngNVMxgiWetNa4n2KLDLYZUtXhfLgR+0XT3SJ9ClwcDLLfcaokWnK/ h/0vl8pZ4xa30qaGo8uV+aHJp9yx5L1GUax5EjjlDNRTwTKuJ5ajPGPp/x7iZzLbuDEU +umw== MIME-Version: 1.0 X-Received: by 10.180.84.70 with SMTP id w6mr5356815wiy.36.1372327985333; Thu, 27 Jun 2013 03:13:05 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Thu, 27 Jun 2013 03:13:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Jun 2013 10:13:05 +0000 Message-ID: Subject: Re: Errors building mysql55-client From: "C. L. Martinez" To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 10:13:07 -0000 On Thu, Jun 27, 2013 at 9:21 AM, Trond Endrest=C3=B8l wrote: > On Thu, 27 Jun 2013 07:55-0000, C. L. Martinez wrote: > >> Hi all, >> >> There is an error when poudriere tries to build mysql55-client: >> >> =3D=3D=3D> License GPLv2 accepted by the user >> =3D=3D=3D> Fetching all distfiles required by mysql-client-5.5.32 for bu= ilding >> =3D> SHA256 Checksum mismatch for mysql-5.5.32.tar.gz. >> =3D=3D=3D> Refetch for 1 more times files: mysql-5.5.32.tar.gz >> =3D=3D=3D> License GPLv2 accepted by the user >> =3D> mysql-5.5.32.tar.gz doesn't seem to exist in /distfiles/. >> =3D> Attempting to fetch >> ftp://ftp.fi.muni.cz/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://ftp.fi.muni.cz/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32.t= ar.gz: >> Unknown FTP error >> =3D> Attempting to fetch >> http://mysql.mirrors.cybercity.dk/Downloads/MySQL-5.5/mysql-5.5.32.tar.g= z >> fetch: http://mysql.mirrors.cybercity.dk/Downloads/MySQL-5.5/mysql-5.5.3= 2.tar.gz: >> No route to host >> =3D> Attempting to fetch >> ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/MySQL-5.5/mys= ql-5.5.32.tar.gz >> fetch: ftp://ftp.fh-wolfenbuettel.de/pub/database/mysql/Downloads/MySQL-= 5.5/mysql-5.5.32.tar.gz: >> Unknown FTP error >> =3D> Attempting to fetch >> ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: mysql-5.5.32.tar.gz: local file (24625029 bytes) is longer than >> remote file (24589274 bytes) >> =3D> Attempting to fetch >> http://netmirror.org/mirror/mysql.com/Downloads/MySQL-5.5/mysql-5.5.32.t= ar.gz >> fetch: http://netmirror.org/mirror/mysql.com/Downloads/MySQL-5.5/mysql-5= .5.32.tar.gz: >> Operation timed out >> =3D> Attempting to fetch >> ftp://netmirror.org/mysql.com/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://netmirror.org/mysql.com/Downloads/MySQL-5.5/mysql-5.5.32.ta= r.gz: >> Protocol error >> =3D> Attempting to fetch >> http://mirrors.ntua.gr/MySQL/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: http://mirrors.ntua.gr/MySQL/Downloads/MySQL-5.5/mysql-5.5.32.tar= .gz: >> Requested Range Not Satisfiable >> =3D> Attempting to fetch >> ftp://ftp.ntua.gr/pub/databases/mysql/Downloads/MySQL-5.5/mysql-5.5.32.t= ar.gz >> fetch: mysql-5.5.32.tar.gz: local file (24625029 bytes) is longer than >> remote file (24589274 bytes) >> =3D> Attempting to fetch >> http://mysql.sote.hu/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: http://mysql.sote.hu/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz: >> No address record >> =3D> Attempting to fetch >> ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://ftp.rhnet.is/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar= .gz: >> File unavailable (e.g., file not found, no access) >> =3D> Attempting to fetch >> ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://mirror.widexs.nl/pub/mysql/Downloads/MySQL-5.5/mysql-5.5.32= .tar.gz: >> File unavailable (e.g., file not found, no access) >> =3D> Attempting to fetch >> ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar= .gz >> fetch: mysql-5.5.32.tar.gz: local file (24625029 bytes) is longer than >> remote file (24589274 bytes) >> =3D> Attempting to fetch >> http://mysql.dp.ua/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: http://mysql.dp.ua/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz: No >> address record >> =3D> Attempting to fetch >> http://mysql.mirrored.ca/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: http://mysql.mirrored.ca/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz: >> size mismatch: expected 24589274, actual 51 >> =3D> Attempting to fetch >> ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.5/mysql-5= .5.32.tar.gz >> fetch: ftp://mirror.services.wisc.edu/mirrors/mysql/Downloads/MySQL-5.5/= mysql-5.5.32.tar.gz: >> No address record >> =3D> Attempting to fetch >> http://mysql.mirrors.pair.com/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: http://mysql.mirrors.pair.com/Downloads/MySQL-5.5/mysql-5.5.32.ta= r.gz: >> Requested Range Not Satisfiable >> =3D> Attempting to fetch >> ftp://ftp.linorg.usp.br/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://ftp.linorg.usp.br/mysql/Downloads/MySQL-5.5/mysql-5.5.32.ta= r.gz: >> No address record >> =3D> Attempting to fetch >> ftp://ftp.cbn.net.id/mirror/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.g= z >> fetch: ftp://ftp.cbn.net.id/mirror/mysql/Downloads/MySQL-5.5/mysql-5.5.3= 2.tar.gz: >> File unavailable (e.g., file not found, no access) >> =3D> Attempting to fetch >> ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.gz >> fetch: ftp://ftp.easynet.be/mysql/Downloads/MySQL-5.5/mysql-5.5.32.tar.g= z: >> Unknown FTP error >> =3D> Attempting to fetch >> http://download.softagency.net/MySQL/Downloads/MySQL-5.5/mysql-5.5.32.ta= r.gz >> fetch: mysql-5.5.32.tar.gz: local file (24625029 bytes) is longer than >> remote file (24589274 bytes) >> =3D> Attempting to fetch >> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mysql-5.5.32.tar.gz >> fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mysql-5.5.32.ta= r.gz: >> size mismatch: expected 24589274, actual 24625029 >> =3D> Couldn't fetch it - please try to retrieve this >> =3D> port manually into /distfiles/ and try again. >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql55-client. >> *** Error code 1 >> >> Stop in /usr/ports/databases/mysql55-client. >> =3D=3D=3D> Cleaning for mysql-client-5.5.32 >> >> Any idea why?? > > Either the file named distinfo is messed up, or the maintainer has > access to a different file than the rest of us. Maybe you should wait > until the MySQL mirrors catches up. > > Here's contents of /usr/ports/databases/mysql55-server/distinfo on one > of my systems as of r321850: > > root@enterprise:~>cat /usr/ports/databases/mysql55-server/distinfo > SHA256 (mysql-5.5.32.tar.gz) =3D babb19a1e58f6b285ff75e876f550a798d37fb72= b5a548ffb411e8a4a51f6890 > SIZE (mysql-5.5.32.tar.gz) =3D 24589274 > > Here's info on the file itself: > > root@enterprise:~>stat -x /usr/ports/distfiles/mysql-5.5.32.tar.gz > File: "/usr/ports/distfiles/mysql-5.5.32.tar.gz" > Size: 24625029 FileType: Regular File > Mode: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ > wheel) > Device: 129,129302626 Inode: 4958 Links: 1 > Access: Thu Jun 27 11:03:49 2013 > Modify: Fri May 17 07:44:35 2013 > Change: Fri Jun 14 09:20:22 2013 > > root@enterprise:~>sha256 /usr/ports/distfiles/mysql-5.5.32.tar.gz > SHA256 (/usr/ports/distfiles/mysql-5.5.32.tar.gz) =3D 20930c3d934937f3863= 073af0a54cb014a4c6469e5460a81e2ff75062755377e > > Neither the file's length nor its SHA256 hash matches what's stored in > the distinfo file. > > If you accept the risks, you could perform some surgery on the > /usr/ports/databases/mysql55-server/distinfo file, changing its > contents to: > > SHA256 (mysql-5.5.32.tar.gz) =3D 20930c3d934937f3863073af0a54cb014a4c6469= e5460a81e2ff75062755377e > SIZE (mysql-5.5.32.tar.gz) =3D 24625029 > > You should probably generate/verify these values yourself. > > I updated both mysql55-server and mysql55-client on June 14th, 2013. > > root@enterprise:~>mysql --version > mysql Ver 14.14 Distrib 5.5.32, for FreeBSD9.1 (amd64) using 5.2 > Many thanks Trond. I have removed mysql package downloaded previously and stored in /usr/post/distfiles and now it works ok. Thanks.