From nobody@FreeBSD.org  Thu Jan 25 08:51:38 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1C43137B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jan 2001 08:51:38 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f0PGpc444438;
	Thu, 25 Jan 2001 08:51:38 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200101251651.f0PGpc444438@freefall.freebsd.org>
Date: Thu, 25 Jan 2001 08:51:38 -0800 (PST)
From: benkovsky@nextra.cz
To: freebsd-gnats-submit@FreeBSD.org
Subject: two problems when compiling MySQL 3.23.32 from ports on FreeBSD 3.5
X-Send-Pr-Version: www-1.0

>Number:         24639
>Category:       ports
>Synopsis:       two problems when compiling MySQL 3.23.32 from ports on FreeBSD 3.5
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 25 09:00:01 PST 2001
>Closed-Date:    Thu Jun 7 11:16:25 PDT 2001
>Last-Modified:  Thu Jun 07 11:17:12 PDT 2001
>Originator:     Jarda Benkovsky
>Release:        3.5-stable
>Organization:
>Environment:
FreeBSD stat.ti.cz 3.5-STABLE FreeBSD 3.5-STABLE #0: Mon Oct  9 14:17:54 CEST 2000     root@stat.ti.cz:/usr/src/sys/compile/STAT  i386
>Description:
1) error in /usr/ports/databases/mysql323-server/Makefile

parameter to configure: --with-libwrap  causes the liker options to be -Lyes/lib
defining it to --with-libwrap=/usr/local or whatever seems to fix that

2) compilation aborts with:
hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)':
hostname.o(.text+0x513): undefined reference to `my_gethostbyname_r'
*** Error code 1

>How-To-Repeat:
cd /usr/ports/databases/mysql323-server
make

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: dirk 
Responsible-Changed-When: Sat Jan 27 01:03:58 PST 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24639 

From: Frank Bartels <knarf@camelot.de>
To: benkovsky@nextra.cz
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/24639: two problems when compiling MySQL 3.23.32 from ports on FreeBSD 3.5
Date: Fri, 2 Feb 2001 20:37:56 +0100

 --Kj7319i9nmIyA2yE
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Heya,
 
 On Thu, Jan 25, 2001 at 08:51:38AM -0800, benkovsky@nextra.cz wrote:
 
 > 2) compilation aborts with:
 > hostname.o: In function `ip_to_hostname(in_addr *, unsigned int *)':
 > hostname.o(.text+0x513): undefined reference to `my_gethostbyname_r'
 > *** Error code 1
 
 I found the problem. It's in patch-ag, starting with version 1.8
 of that file.
 
 Removing -Werror from configure will change the following:
 
 checking style of gethost* routines... solaris
 checking style of gethostname_r routines... glibc2
 
 instead of
 
 checking style of gethost* routines... other
 checking style of gethostname_r routines... other
 
 Just remove lines 86-129 of patch-ag and get happy.
 
 It took me hours to find the _real_ reason for this error. Too bad. :/
 
 Bye,
 Knarf
 --=20
   Frank Bartels   |  Tel: +49-89-849308-0  | CameloT - Der "sagenhafte"
  knarf@camelot.de | http://www.camelot.de/ |     Internet-Provider
 
 --Kj7319i9nmIyA2yE
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: 2.6.3ia
 
 iQEVAwUBOnsMlP1lXGS2C2FpAQEf6wf/f7BCerw/ekD2Rtz1r6uYztUZVS6OHVOp
 qqVyXZTXm0q10axiILPv1rCnfS7Yrosc0xKgrSMj54PvxWo6esDkzIlB2yplSQsL
 SIgVciuw4ox7f9WVFuWAV8MZzYdHDrvyeKnMRt5gb3NYTATHfOGRZKKTvWXPF9O1
 GNok5cha0aCxmoITQwkKyd9V9jSf2FxKrfQyuWfSZjuUWjl0yTUwUJtL9sKLdbxE
 maZ788rHciLkrPZkiTpZ91OoSUWE7rSStTO5ROegYJyqqbvFgwJq/iGORvwQAM/6
 /rQssugXsoW5CTtBurJtwCvzcLiGP32/mti+h3vk76ZFpXz+6XGyTg==
 =nONI
 -----END PGP SIGNATURE-----
 
 --Kj7319i9nmIyA2yE--
 

From: "David W. Chapman Jr." <dwcjr@inethouston.net>
To: <FreeBSD-gnats-submit@freebsd.org>, <benkovsky@nextra.cz>
Cc: "Dirk Froemberg" <dirk@FreeBSD.org>, <dwcjr@freebsd.org>
Subject: Re: ports/24639: two problems when compiling MySQL 3.23.32 from ports on FreeBSD 3.5
Date: Thu, 7 Jun 2001 11:56:59 -0500

 Ack, I meant can this be closed since we don't support 3.x anymore?
 
 
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Thu Jun 7 11:16:25 PDT 2001 
State-Changed-Why:  
3.5-RELEASE isn't supported by ports-current any longer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24639 
>Unformatted:
