pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43108: "mysql51-server" package doesn't build under NetBSD/i386



>Number:         43108
>Category:       pkg
>Synopsis:       "mysql51-server" package doesn't build under NetBSD/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 03 14:05:00 +0000 2010
>Originator:     Matthias Scheler
>Release:        NetBSD 5.0_STABLE pkgsrc-HEAD as of 2010-04-03
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD beaver.marsrakete.de 5.0_STABLE NetBSD 5.0_STABLE (BEAVER) #0: 
Tue Aug 11 17:30:56 CEST 2009  
tron%beaver.marsrakete.de@localhost:/usr/src/sys/arch/i386/compile/BEAVER i386
Architecture: i386
Machine: i386
>Description:
The "mysql51-server" package doesn't build under NetBSD/i386:

=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Building for mysql-server-5.1.44nb2
/usr/pkg/bin/bash ./config.status --recheck
Making all in .
[...]
Making all in innodb_plugin
gmake[2]: Entering directory 
`/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44/storage/innodb_plugin'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory 
`/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44'
/usr/pkg/bin/bash ./config.status --recheck
gmake[3]: Leaving directory 
`/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44'
/usr/pkg/bin/bash ../../libtool --preserve-dup-deps --tag=CXX   --mode=compile 
c++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include 
-I../../regex -I./include -I../../sql -I. -I/usr/include  -Dunix -I/usr/include 
-I/usr/pkg/include/mysql  -DMYSQL_DYNAMIC_PLUGIN -prefer-non-pic -O2 
-DUSE_OLD_FUNCTIONS -fPIC -DPIC -I/usr/include -I/usr/pkg/include/mysql -fPIC 
-DPIC   -fno-implicit-templates -fno-exceptions -fno-rtti -Dunix -c -o 
ha_innodb_plugin_la-ha_innodb.lo `test -f 'handler/ha_innodb.cc' || echo 
'./'`handler/ha_innodb.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../include -I../../regex 
-I./include -I../../sql -Dunix 
-I/usr/pkgsrc/databases/mysql51-server/work/.buildlink/include/mysql 
-DMYSQL_DYNAMIC_PLUGIN -O2 -DUSE_OLD_FUNCTIONS -fPIC -DPIC -fPIC 
-fno-implicit-templates -fno-exceptions -fno-rtti -c handler/ha_innodb.cc  
-fPIC -DPIC -o .libs/ha_innodb_plugin_la-ha_innodb.o
./include/sync0sync.ic: In function 'unsigned char 
mutex_test_and_set(ib_mutex_t*)':
./include/sync0sync.ic:83: error: 'atomic_swap_uchar' was not declared in this 
scope
./include/sync0sync.ic: In function 'void mutex_reset_lock_word(ib_mutex_t*)':
./include/sync0sync.ic:114: error: 'atomic_swap_uchar' was not declared in this 
scope
./include/sync0rw.ic: In function 'void 
rw_lock_set_writer_id_and_recursion_flag(rw_lock_t*, ulint)':
./include/sync0rw.ic:281: error: cannot convert '__pthread_st* volatile*' to 
'volatile __uint32_t*' for argument '1' to '__uint32_t atomic_cas_32(volatile 
__uint32_t*, __uint32_t, __uint32_t)'
gmake[2]: *** [ha_innodb_plugin_la-ha_innodb.lo] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44/storage/innodb_plugin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/databases/mysql51-server/work/mysql-5.1.44/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/mysql51-server

Interestingly the package builds fine under NetBSD/amd64 5.0_STABLE.

>How-To-Repeat:
cd pkgsrc/database/mysql51-server
make

>Fix:
None provided.



Home | Main Index | Thread Index | Old Index