Subject: pkg/33568: mysql4 pkgsrc build failure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: brad harder <bharder@methodlogic.net>
List: pkgsrc-bugs
Date: 05/27/2006 03:10:00
>Number: 33568
>Category: pkg
>Synopsis: mysql 4.1.19 in pkgsrc fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 27 03:10:00 +0000 2006
>Originator: brad harder <bharder@methodlogic.net>
>Release: NetBSD 3.0_STABLE
>Organization:
method digital logic
>Environment:
System: NetBSD manchester 3.0_STABLE NetBSD 3.0_STABLE (MANCHESTER2) #26: Wed May 17 17:49:23 EDT 2006 root@manchester:/usr/src/sys/arch/i386/compile/MANCHESTER2 i386
Architecture: i386
Machine: i386
>Description:
mysql4-server in pkgsrc updated 26/May/2006 fails to build.
Fails with:
cc -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/usr/pkgsrc/databases/mysql4-server/work/.buildlink/include/mysql -Dunix -Wl,-R/usr/pkg
/lib/mysql -Wl,-R/usr/pkg/lib -o charset2html -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR=\"/var/mysql\" -DDEFAULT_CHARSET_HOME=\"
/usr/pkg\" -DSHAREDIR=\"/usr/pkg/share/mysql\" -DHAVE_CONFIG_H -I../include -I. -O2 -DMAIN ./charset2html.c -L/usr/pkgsrc/data
bases/mysql4-server/work/.buildlink/lib/mysql libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lcrypt -lm -lpthread -L/u
sr/pkgsrc/databases/mysql4-server/work/.buildlink/lib
/bin/cp ./thr_alarm.c ./test_thr_alarm.c
/bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=link cc -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/usr/include -I/usr/pkg/in
clude/mysql -Dunix -Wl,-R/usr/pkg/lib/mysql -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -o test_thr_a
larm -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR="\"/var/mysql\"" -DDEFAULT_CHARSET_HOME="\"/usr/pkg\"" -DSHAREDIR="\"/usr/pkg/sha
re/mysql\"" -DHAVE_CONFIG_H -I../include -I../include -I. -Dunix -I/usr/include -I/usr/pkg/include/mysql -DDBUG_OFF -O2 -DUSE_O
LD_FUNCTIONS -I/usr/include -I/usr/pkg/include/mysql -Dunix -DMAIN ./test_thr_alarm.c libmysys.a ../dbug/libdbug.a ../strin
gs/libmystrings.a -lcrypt -lm -lpthread
cc -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -I/usr/pkgsrc/databases/mysql4-server/work/.buildlink/include/mysql -Dunix -Wl,-R/usr/pkg
/lib/mysql -Wl,-R/usr/pkg/lib -o test_thr_alarm -DDEFAULT_BASEDIR=\"/usr/pkg\" -DDATADIR=\"/var/mysql\" -DDEFAULT_CHARSET_HOME=
\"/usr/pkg\" -DSHAREDIR=\"/usr/pkg/share/mysql\" -DHAVE_CONFIG_H -I../include -I. -O2 -DMAIN ./test_thr_alarm.c -L/usr/pkgsrc/
databases/mysql4-server/work/.buildlink/lib/mysql libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lcrypt -lm -lpthread
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib
/var/tmp//ccChJgp8.o(.text+0x9d): In function `init_thr_alarm':
: undefined reference to `my_sigset'
/var/tmp//ccChJgp8.o(.text+0x80b): In function `thread_alarm':
: undefined reference to `my_sigset'
/var/tmp//ccChJgp8.o(.text+0xb3f): In function `print_signal_warning':
: undefined reference to `my_sigset'
gmake[2]: *** [test_thr_alarm] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/databases/mysql4-server/work/mysql-4.1.19/mysys'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/databases/mysql4-server/work/mysql-4.1.19'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/databases/mysql4-server/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
>How-To-Repeat:
update pkgrsc, cd pkgsrc/databases/mysql4-server; make
>Fix:
<how to correct or work around the problem, if known (multiple lines)>