From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 3 11:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F4E3CCF for ; Wed, 3 Apr 2013 11:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 158CF8DA for ; Wed, 3 Apr 2013 11:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r33Bo0OP055965 for ; Wed, 3 Apr 2013 11:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r33Bo0lv055964; Wed, 3 Apr 2013 11:50:00 GMT (envelope-from gnats) Resent-Date: Wed, 3 Apr 2013 11:50:00 GMT Resent-Message-Id: <201304031150.r33Bo0lv055964@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Patrick Oonk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 336CECC9 for ; Wed, 3 Apr 2013 11:49:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 23F128D6 for ; Wed, 3 Apr 2013 11:49:52 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r33Bnqxu090371 for ; Wed, 3 Apr 2013 11:49:52 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r33BnplZ090370; Wed, 3 Apr 2013 11:49:51 GMT (envelope-from nobody) Message-Id: <201304031149.r33BnplZ090370@red.freebsd.org> Date: Wed, 3 Apr 2013 11:49:51 GMT From: Patrick Oonk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177610: maia makefile check for mysql-client does not work on 64-bit platform X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 11:50:01 -0000 >Number: 177610 >Category: ports >Synopsis: maia makefile check for mysql-client does not work on 64-bit platform >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 03 11:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Patrick Oonk >Release: 9.1 >Organization: pine digital security >Environment: 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi, When I try to install maia, it determines mysql55-client is not installed, though it IS installed. It then tries to install mysql55-client which of course fails, and subsequently maia fails also. I think the key line here is maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found # ls -al /usr/local/lib/mysql/* -rw-r--r-- 1 root wheel 4844118 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient.a lrwxr-xr-x 1 root wheel 20 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient.so -> libmysqlclient.so.18 -rwxr-xr-x 1 root wheel 3364688 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient.so.18 lrwxr-xr-x 1 root wheel 16 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient_r.a -> libmysqlclient.a lrwxr-xr-x 1 root wheel 17 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient_r.so -> libmysqlclient.so lrwxr-xr-x 1 root wheel 17 Apr 2 17:04 /usr/local/lib/mysql/libmysqlclient_r.so.18 -> libmysqlclient.so -rw-r--r-- 1 root wheel 20037118 Mar 29 17:02 /usr/local/lib/mysql/libmysqld.a -rw-r--r-- 1 root wheel 4598 Apr 2 17:04 /usr/local/lib/mysql/libmysqlservices.a # ldconfig -r | grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/lib/dovecot:/usr/local/lib/dovecot/imap:/usr/local/lib/dovecot/pop3:/usr/local/lib/dovecot/lda:/usr/local/lib/mysql 152:-lmysqlclient.18 => /usr/local/lib/mysql/libmysqlclient.so.18 153:-lmysqlclient_r.18 => /usr/local/lib/mysql/libmysqlclient_r.so.18 ---> Installing 'maia-1.0.3.r1575_3' from a port (security/maia) ---> Building '/usr/ports/security/maia' ===> Cleaning for mysql-client-5.5.30 ===> Cleaning for maia-1.0.3.r1575_3 ===> Found saved configuration for maia-1.0.3.r1575_3 ===> Fetching all distfiles required by maia-1.0.3.r1575_3 for building ===> Extracting for maia-1.0.3.r1575_3 => SHA256 Checksum OK for maia-1.0.3-r1575.tar.gz. ===> Patching for maia-1.0.3.r1575_3 ===> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not found ===> Verifying install for mysqlclient.18 in /usr/ports/databases/mysql55-client ===> Found saved configuration for mysql-client-5.5.30 ===> Fetching all distfiles required by mysql-client-5.5.30 for building ===> Extracting for mysql-client-5.5.30 => SHA256 Checksum OK for mysql-5.5.30.tar.gz. (...) ===> Installing for mysql-client-5.5.30 ===> Generating temporary packing list ===> Checking if databases/mysql55-client already installed ===> mysql-client-5.5.30 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of databases/mysql55-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** [check-already-installed] Error code 1 Stop in /usr/ports/databases/mysql55-client. *** [install] Error code 1 Stop in /usr/ports/databases/mysql55-client. *** [lib-depends] Error code 1 Stop in /usr/ports/security/maia. *** [configure] Error code 1 Stop in /usr/ports/security/maia. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20130403-48248-8nugs5-0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! security/maia (unknown build error) >How-To-Repeat: /usr/ports/security/maia # make -n lib-depends | sh -x (...) + echo -n '===> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18' ===> maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18+ /sbin/ldconfig -32 -r + /usr/bin/grep -vwF -e /usr/local/lib/compat/pkg + /usr/bin/grep -qwE -e '-lmysqlclient\.18' + echo ' - not found' - not found + notfound=1 + [ 1 != 0 ] The '/sbin/ldconfig -32 -r' seems to be the problem, this is a 64-bit system... # ldconfig -r | grep mysql search directories: /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/compat/pkg:/usr/local/lib/dovecot:/usr/local/lib/dovecot/imap:/usr/local/lib/dovecot/pop3:/usr/local/lib/dovecot/lda:/usr/local/lib/mysql 152:-lmysqlclient.18 => /usr/local/lib/mysql/libmysqlclient.so.18 153:-lmysqlclient_r.18 => /usr/local/lib/mysql/libmysqlclient_r.so.18 # ldconfig -32 -r | grep mysql >Fix: remove the -32 might help >Release-Note: >Audit-Trail: >Unformatted: