Subject: pkg/36711: databases/mysql5-server is not MAKE_JOBS safe
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bastyaelvtars@gmail.com>
List: pkgsrc-bugs
Date: 07/31/2007 13:20:01
>Number: 36711
>Category: pkg
>Synopsis: databases/mysql5-server is not MAKE_JOBS safe
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 31 13:20:00 +0000 2007
>Originator: Gergo Szakal
>Release:
>Organization:
>Environment:
DragonFly medica.semi.szote.u-szeged.hu 1.9.0-DEVELOPMENT DragonFly 1.9.0-DEVELOPMENT #0: Tue Jul 24 01:21:18 CEST 2007 szg@medica.semi.szote.u-szeged.hu:/usr/obj/usr/src/sys/smp i386
>Description:
When trying to build databases/mysql5-server from current with MAKE_JOBS > 1 then I get the following error:
+ /usr/obj/pkgsrc/databases/mysql5-server/work/.tools/bin/ln -s ../sql/password.c password.c
gmake[1]: Leaving directory `/usr/obj/pkgsrc/databases/mysql5-server/work/mysql-5.0.45/libmysql'
gmake[1]: write error
gmake: *** [linked_libmysql_sources] Error 1
gmake: *** Waiting for unfinished jobs....
rm -f stamp-h1
touch config.h.in
*** Error code 2
With MAKE_JOBS=1 it builds fine. The place where it dies varies depending on the number of MAKE_JOBS.
>How-To-Repeat:
Set MAKE_JOBS to > 1 in mk.conf when building this package.
>Fix:
MAKE_JOBS_SAFE=no
Workaround:
Set MAKE_JOBS to 1 in mk.conf when building this package.