Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 14:58:28 +0100
From:      Olaf Greve <ogreve@millennics.com>
To:        freebsd-amd64@freebsd.org
Subject:   Problems building Mysql55-server port (no suitable checksum found)
Message-ID:  <A6211DE1-588C-4F81-8FEF-F9FE55B64120@millennics.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm not sure if the problem I'm about to describe is known and/or has =
been dealt with previously, but I couldn't find any suitable hits on it =
using Google; so I hope I'm not flogging a dead horse here. :P

The set-up is as follows:=20
Years ago I installed a server using 5.4-RELEASE AMD64, with a custom =
kernel.=20
uname -a
Gives me the following (anonimised) output:
FreeBSD anon.nl 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Thu Oct 13 01:02:19 =
CEST 2005     root@anon.nl:/usr/src/sys/amd64/compile/ANONKERNEL001  =
amd64

I installed the ports tree in the standard manner back then, and always =
successfully used it to install ports.=20
Now, it has been quite a few moons since I last had to do something on =
that machine, but such a situation has now arissen, and.... ...of course =
I tried to go 'the ports' way.

What I tried doing (everything as root, so no rights issues...) was to =
first manually deinstall my old versions of php4 (and extensions), mysql =
4.0.x and Apache 2.2.x. No problem.

Then, I updated the ports tree ('all' collection) using the standard =
call: /usr/local/bin/cvsup -g -L 2 /root/ports-supfile

Again, no problem and the tree refreshed just fine.

Then, the problems started to arise when I tried to 'make' the =
mysql55-server port, as it buggered out (regardless of what make target =
I used) stating:
# cd /usr/ports/databases/mysql55-server
# make config
"Makefile", line 48: Could not find bsd.port.options.mk
make: fatal errors encountered -- cannot continue

After searching using Google I found out that that file should be =
present in /usr/share/mk and that it was not there! No idea why it was =
missing (I think all, or most of the other ones were there), but copying =
it from /usr/porst/Mk to that directory at least resolved this issue.

Now then... with all seemingly fine, I tried to make it using the =
following call:=20
make INSTALL_MYSQLDATADIR=3D/usr/local/mysql WITH_CHARSET=3Dutf8 =
WITH_XCHARSET=3Dall WITH_COLLATION=3Dutf8_unicode_ci install

However, it again buggers out, after having downloaded the package. A =
'make clean' also doesn't help. This time it complains about the =
checksum. As per the below output:

make INSTALL_MYSQLDATADIR=3D/usr/local/mysql WITH_CHARSET=3Dutf8 =
WITH_XCHARSET=3Dall WITH_COLLATION=3Dutf8_unicode_ci install
=3D=3D=3D>  Vulnerability check disabled, database not found
=3D=3D=3D>  License check disabled, port has not defined LICENSE
=3D=3D=3D>  Found saved configuration for mysql-server-5.5.9
=3D=3D=3D>  Extracting for mysql-server-5.5.9
=3D> No suitable checksum found for mysql-5.5.9.tar.gz.
*** Error code 1

Stop in /usr/ports/databases/mysql55-server.
*** Error code 1

Stop in /usr/ports/databases/mysql55-server.


Previously I never had issues such as the above with this system and the =
ports structure and this is issue nr. 2 already in a single port :(

Does anyone know what might be going on, and more importantly, how to =
fix this (if necessary by reinstalling the entire ports tree)? Does this =
sound like the mysql-server-5.5.9 port is perhaps flaky, or is my system =
messed up or too outdated or so?!?

Thanks in advance and with kind regards,
Olaf=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6211DE1-588C-4F81-8FEF-F9FE55B64120>