From owner-freebsd-ports@FreeBSD.ORG Thu Apr 16 22:31:45 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34D61065701 for ; Thu, 16 Apr 2009 22:31:45 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id A7AA88FC21 for ; Thu, 16 Apr 2009 22:31:45 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lua7P-0005N3-Eo; Thu, 16 Apr 2009 18:31:44 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id 4EF252D3E30C; Thu, 16 Apr 2009 18:31:39 -0400 (EDT) Message-ID: <49E7B1CB.10302@FreeBSD.org> Date: Thu, 16 Apr 2009 18:31:39 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Torfinn Ingolfsen References: <280c2089102f1ae68ca7d184039d1956.squirrel@webmail.itac.at> <49E1616C.5060404@FreeBSD.org> <8e44ebf15169796f60883e3c409bbb62.squirrel@webmail.itac.at> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.4 (/) Cc: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= , FreeBSD Ports ML Subject: Re: mythtv 0.21 - trouble compiling the port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 22:31:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Torfinn Ingolfsen wrote: > Hi, >=20 > 2009/4/13 Bernhard Fr=F6hlich : >> Looks like another missing patch. Now i've double checked with your li= st >> and this is the last missing one. (also taken from mythtv-frontend) >> >> http://home.bluelife.at/ports/mythtv/patch-libs-libmythtv-libmythtv.pr= o >=20 > Yes, now 'make' in mythtv woks as expected. Thank you. :-) >=20 > However, 'make install' fails if mysql is not running: >=20 > Added group "mythtv". > Added user "mythtv". > Starting mysql. > *** Unable to start mysqld > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. > *** Error code 1 >=20 > Stop in /usr/ports/multimedia/mythtv. >=20 > The port is lying about not being able to start mysql: >=20 > root@kg-quiet# /usr/local/etc/rc.d/mysql-server status > mysql is running as pid 34965. >=20 >=20 > If I run 'make install' with mysql running, it works as expected. > I'm not really sure how this should be handled. > Perphaps the port should just tell the user that it was unable to > install the database, and tel her / hom how to do it manually? >=20 Hi Torfinn, Would you mind applying this small patch to mythtv/files/pkg-install.in? http://people.freebsd.org/~glarkin/diffs/mythtv-pkg-install.in.diff Since the "Unable to start mysqld" message is emitted in two different places, I'd like to know which one you are getting. I think that the spurious error might be caused by checking for the process existence too quickly, but I could be wrong. If you have a chance to re-install the port, let me know which message appears now when it attempts to start mysqld. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ57HL0sRouByUApARAk6bAJ4/xRvhnUi0vCHuVnU/QaRVdf0wWQCgv5J6 ozMf2y9Zh6yfsqZWMVCmgO4=3D =3D+clW -----END PGP SIGNATURE-----