Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 21:16:38 GMT
From:      Marian Cerny <jojo@matfyz.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135426: databases/mysql51-server: making package fails with BUILD_STATIC option
Message-ID:  <200906092116.n59LGccx051183@www.freebsd.org>
Resent-Message-ID: <200906092120.n59LK10s061275@freefall.freebsd.org>

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

>Number:         135426
>Category:       ports
>Synopsis:       databases/mysql51-server: making package fails with BUILD_STATIC option
>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:   Tue Jun 09 21:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Marian Cerny
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
When BUILD_STATIC=yes is set in /etc/make.conf, building package of mysql51-server 5.1.35 fails with the following error:

Creating bzip'd tar ball in '/usr/ports/packages/All/mysql-server-5.1.35.tbz'
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
*** Error code 1

This is a similar problem as ports/132295.
>How-To-Repeat:
Add the following option to /etc/make.conf:
BUILD_STATIC=yes

Make package of the mysql51-server:
cd /usr/ports/databases/mysql51-server
make package
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906092116.n59LGccx051183>