mariadb @5.5.23 build failure

Bjarne D Mathiesen macintosh at mathiesen.info
Mon May 7 09:38:54 PDT 2012


I noticed that mariadb presently is at @5.2.9
according to http://downloads.mariadb.org/mariadb/ there are 4 stable
releases in 4 brances : @5.1.62 , @5.2.12 , @5.3.7 , @5.5.23
thus the port hasn't been kept up-to-date since 2011-12-05

now, what's the policy as to mariadb ?
do we keep older stable versions *-or-* do we just keep the latest and
greatest ?

on the assumption that mariadb @5.5.x and mysql55 are more or less the
same, I generated a new Portfile for mariadb @5.5.23 based upon the
mysql55 @5.5.23 Portfile.

this seems to be a good basis, however, I get a build error :
ld: library not found for -lmytap

as far as I can see, these are the two relevant pieces of output from
the below piece of 'port log mariadb' :
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/unittest/mytap
../../../strings/libstrings.a -lz -lmytap

anybody got any ideas as to how to resolve this problem ???

If needed, I can email/post my mariadb portfile, the necessary patch and
the complete 'port log mariadb' *-or-* I can open an issue in trac if
that's better.

thanks :-)
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3

[ 80%] Building C object
storage/maria/unittest/CMakeFiles/ma_control_file-t.dir/ma_control_file-t.c.o
cd
/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/storage/maria/unittest
&& /usr/bin/clang  -DHAVE_CONFIG_H -pipe -O2 -arch x86_64  -O3 -DNDEBUG
-DDBUG_OFF -arch x86_64
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/include
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/sql
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/regex
-I/macports/include
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/zlib
-I/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/unittest/mytap
   -I/macports/include -o
CMakeFiles/ma_control_file-t.dir/ma_control_file-t.c.o   -c
/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/storage/maria/unittest/ma_control_file-t.c
Linking CXX executable ma_control_file-t
cd
/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23/storage/maria/unittest
&& /macports/bin/cmake -E cmake_link_script
CMakeFiles/ma_control_file-t.dir/link.txt --verbose=1
/usr/bin/clang++   -pipe -O2 -arch x86_64  -O3 -DNDEBUG -DDBUG_OFF -arch
x86_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-L/macports/lib -arch x86_64
CMakeFiles/ma_control_file-t.dir/ma_control_file-t.c.o  -o
ma_control_file-t  -lpthread ../libaria.a ../../myisam/libmyisam.a
-lmytap ../../../mysys/libmysys.a ../../../dbug/libdbug.a
../../../strings/libstrings.a -lz -lmytap ../../../mysys/libmysys.a
../../../dbug/libdbug.a ../../../strings/libstrings.a -lpthread -lz
ld: library not found for -lmytap
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [storage/maria/unittest/ma_control_file-t] Error 1
make[2]: Leaving directory
`/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23'
make[1]: ***
[storage/maria/unittest/CMakeFiles/ma_control_file-t.dir/all] Error 2
make[1]: Leaving directory
`/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23'
make: *** [all] Error 2
make: Leaving directory
`/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23'
shell command " cd
"/macports/var/macports/build/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/work/mariadb-5.5.23"
&& /usr/bin/make -w all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
DEBUG: Backtrace: shell command failed (see log for details)
Warning: the following items did not execute (for mariadb):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Log for mariadb is at:
/macports/var/macports/logs/_Volumes_Bjarne_WebServer_MacPorts_newPorts_databases_mariadb/mariadb/main.log


More information about the macports-dev mailing list