From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 4 00:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B005F106566B for ; Wed, 4 Mar 2009 00:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB978FC18 for ; Wed, 4 Mar 2009 00:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n240o1Ic096538 for ; Wed, 4 Mar 2009 00:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n240o13L096537; Wed, 4 Mar 2009 00:50:01 GMT (envelope-from gnats) Resent-Date: Wed, 4 Mar 2009 00:50:01 GMT Resent-Message-Id: <200903040050.n240o13L096537@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, barbara Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E13DD1065679 for ; Wed, 4 Mar 2009 00:44:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id B6AAA8FC26 for ; Wed, 4 Mar 2009 00:44:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n240iCWD093326 for ; Wed, 4 Mar 2009 00:44:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n240iCdN093319; Wed, 4 Mar 2009 00:44:12 GMT (envelope-from nobody) Message-Id: <200903040044.n240iCdN093319@www.freebsd.org> Date: Wed, 4 Mar 2009 00:44:12 GMT From: barbara To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132295: databases/mysql51-server: package target fails X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 00:50:01 -0000 >Number: 132295 >Category: ports >Synopsis: databases/mysql51-server: package target fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 04 00:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: barbara >Release: >Organization: >Environment: FreeBSD satanasso.local.net 6.4-STABLE FreeBSD 6.4-STABLE #0: Sun Mar 1 19:25:54 CET 2009 root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 >Description: # pkg_create -b mysql-server-5.1.31 tar: lib/mysql/plugin/ha_example.a: Cannot stat: No such file or directory tar: lib/mysql/plugin/ha_example.la: Cannot stat: No such file or directory tar: lib/mysql/plugin/ha_example.so: Cannot stat: No such file or directory tar: lib/mysql/plugin/ha_example.so.0: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 I can notice the same message while portupgrading. I've tried contacting the maintainer by email on 2009-02-11 about the same problem with 5.1.30 but I've got no answer. Wrong PLIST? >From what I can understand the "--with-example-storage-engine" option should be used to have those files built, but adding the option to CONFIGURE_ARGS in Makefile, I get: configure: WARNING: unrecognized options: --with-example-storage-engine and I don't know if it's my fault or a sw bug. EDIT: after various tests, I've finally found the solution to have the missing file built, adding --with-plugins=example to CONFIGURE_ARGS. Patch attached. >How-To-Repeat: cd /usr/ports/databases/mysql51-server && make package clean or portupgrade -p databases/mysql51-server or pkg_create -xb mysql-server-5.1 >Fix: Correct the pkg-plist or add the configure option as in the attached patch. Patch attached with submission follows: --- Makefile.orig 2009-03-03 17:35:52.000000000 +0100 +++ Makefile 2009-03-04 01:38:51.000000000 +0100 @@ -29,7 +29,8 @@ --with-libwrap \ --with-low-memory \ --with-comment='FreeBSD port: ${PKGNAME}' \ - --enable-thread-safe-client + --enable-thread-safe-client \ + --with-plugins=example .ifdef USE_MYSQL .error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. >Release-Note: >Audit-Trail: >Unformatted: