View Single Post
Old 6th August 2008
dejabu18 dejabu18 is offline
Port Guard
 
Join Date: May 2008
Posts: 16
Default

Code:
alpha# portsnap update
Ports tree is already up to date.
alpha# cd /usr/ports/databases/mysql51-server/
alpha# ls
Makefile                pkg-descr               pkg-plist.client
a.out                   pkg-install             pkg-plist.scripts
distinfo                pkg-message             work
files                   pkg-plist
alpha# make clean
===>  Cleaning for mysql-server-5.1.24_1
alpha# make
pthread  ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[3]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/extra'
Making all in regex
gmake[1]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/regex'
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regerror.o -MD -MP -MF ".deps/regerror.Tpo" -c -o regerror.o regerror.c; \
        then mv -f ".deps/regerror.Tpo" ".deps/regerror.Po"; else rm -f ".deps/regerror.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regcomp.o -MD -MP -MF ".deps/regcomp.Tpo" -c -o regcomp.o regcomp.c; \
        then mv -f ".deps/regcomp.Tpo" ".deps/regcomp.Po"; else rm -f ".deps/regcomp.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regexec.o -MD -MP -MF ".deps/regexec.Tpo" -c -o regexec.o regexec.c; \
        then mv -f ".deps/regexec.Tpo" ".deps/regexec.Po"; else rm -f ".deps/regexec.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT regfree.o -MD -MP -MF ".deps/regfree.Tpo" -c -o regfree.o regfree.c; \
        then mv -f ".deps/regfree.Tpo" ".deps/regfree.Po"; else rm -f ".deps/regfree.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT reginit.o -MD -MP -MF ".deps/reginit.Tpo" -c -o reginit.o reginit.c; \
        then mv -f ".deps/reginit.Tpo" ".deps/reginit.Po"; else rm -f ".deps/reginit.Tpo"; exit 1; fi
rm -f libregex.a
ar cru libregex.a regerror.o regcomp.o regexec.o regfree.o reginit.o 
ranlib libregex.a
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT split.o -MD -MP -MF ".deps/split.Tpo" -c -o split.o split.c; \
        then mv -f ".deps/split.Tpo" ".deps/split.Po"; else rm -f ".deps/split.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \
        then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -O2 -fno-strict-aliasing -pipe     -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o re -static split.o debug.o main.o libregex.a ../strings/libmystrings.a -pthread -lcrypt -lm  -pthread 
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -o re split.o debug.o main.o -pthread -pthread  libregex.a ../strings/libmystrings.a -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/regex'
Making all in storage
gmake[1]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
Making all in archive
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libarchive_a-ha_archive.o -MD -MP -MF ".deps/libarchive_a-ha_archive.Tpo" -c -o libarchive_a-ha_archive.o `test -f 'ha_archive.cc' || echo './'`ha_archive.cc; \
        then mv -f ".deps/libarchive_a-ha_archive.Tpo" ".deps/libarchive_a-ha_archive.Po"; else rm -f ".deps/libarchive_a-ha_archive.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT libarchive_a-azio.o -MD -MP -MF ".deps/libarchive_a-azio.Tpo" -c -o libarchive_a-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/libarchive_a-azio.Tpo" ".deps/libarchive_a-azio.Po"; else rm -f ".deps/libarchive_a-azio.Tpo"; exit 1; fi
rm -f libarchive.a
ar cru libarchive.a libarchive_a-ha_archive.o libarchive_a-azio.o 
ranlib libarchive.a
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-archive_test.o -MD -MP -MF ".deps/archive_test-archive_test.Tpo" -c -o archive_test-archive_test.o `test -f 'archive_test.c' || echo './'`archive_test.c; \
        then mv -f ".deps/archive_test-archive_test.Tpo" ".deps/archive_test-archive_test.Po"; else rm -f ".deps/archive_test-archive_test.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_test-azio.o -MD -MP -MF ".deps/archive_test-azio.Tpo" -c -o archive_test-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_test-azio.Tpo" ".deps/archive_test-azio.Po"; else rm -f ".deps/archive_test-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_test -static archive_test-archive_test.o archive_test-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -o archive_test archive_test-archive_test.o archive_test-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-archive_reader.o -MD -MP -MF ".deps/archive_reader-archive_reader.Tpo" -c -o archive_reader-archive_reader.o `test -f 'archive_reader.c' || echo './'`archive_reader.c; \
        then mv -f ".deps/archive_reader-archive_reader.Tpo" ".deps/archive_reader-archive_reader.Po"; else rm -f ".deps/archive_reader-archive_reader.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.     -O2 -fno-strict-aliasing -pipe     -MT archive_reader-azio.o -MD -MP -MF ".deps/archive_reader-azio.Tpo" -c -o archive_reader-azio.o `test -f 'azio.c' || echo './'`azio.c; \
        then mv -f ".deps/archive_reader-azio.Tpo" ".deps/archive_reader-azio.Po"; else rm -f ".deps/archive_reader-azio.Tpo"; exit 1; fi
/usr/local/bin/libtool --preserve-dup-deps --tag=CC --mode=link cc  -O2 -fno-strict-aliasing -pipe       -o archive_reader -static archive_reader-archive_reader.o archive_reader-azio.o ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -lcrypt -lm  -pthread 
cc -O2 -fno-strict-aliasing -pipe -o archive_reader archive_reader-archive_reader.o archive_reader-azio.o -pthread -pthread  ../../mysys/libmysys.a ../../dbug/libdbug.a ../../strings/libmystrings.a -lz -pthread -pthread -lcrypt -lm -pthread -pthread  
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/archive'
Making all in blackhole
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libblackhole_a-ha_blackhole.o -MD -MP -MF ".deps/libblackhole_a-ha_blackhole.Tpo" -c -o libblackhole_a-ha_blackhole.o `test -f 'ha_blackhole.cc' || echo './'`ha_blackhole.cc; \
        then mv -f ".deps/libblackhole_a-ha_blackhole.Tpo" ".deps/libblackhole_a-ha_blackhole.Po"; else rm -f ".deps/libblackhole_a-ha_blackhole.Tpo"; exit 1; fi
rm -f libblackhole.a
ar cru libblackhole.a libblackhole_a-ha_blackhole.o 
ranlib libblackhole.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/blackhole'
Making all in csv
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-transparent_file.o -MD -MP -MF ".deps/libcsv_a-transparent_file.Tpo" -c -o libcsv_a-transparent_file.o `test -f 'transparent_file.cc' || echo './'`transparent_file.cc; \
        then mv -f ".deps/libcsv_a-transparent_file.Tpo" ".deps/libcsv_a-transparent_file.Po"; else rm -f ".deps/libcsv_a-transparent_file.Tpo"; exit 1; fi
if c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT libcsv_a-ha_tina.o -MD -MP -MF ".deps/libcsv_a-ha_tina.Tpo" -c -o libcsv_a-ha_tina.o `test -f 'ha_tina.cc' || echo './'`ha_tina.cc; \
        then mv -f ".deps/libcsv_a-ha_tina.Tpo" ".deps/libcsv_a-ha_tina.Po"; else rm -f ".deps/libcsv_a-ha_tina.Tpo"; exit 1; fi
rm -f libcsv.a
ar cru libcsv.a libcsv_a-transparent_file.o libcsv_a-ha_tina.o 
ranlib libcsv.a
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/csv'
Making all in example
gmake[2]: Entering directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
if /usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I.    -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF ".deps/ha_example_la-ha_example.Tpo" -c -o ha_example_la-ha_example.lo `test -f 'ha_example.cc' || echo './'`ha_example.cc; \
        then mv -f ".deps/ha_example_la-ha_example.Tpo" ".deps/ha_example_la-ha_example.Plo"; else rm -f ".deps/ha_example_la-ha_example.Tpo"; exit 1; fi
mkdir .libs
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc  -fPIC -DPIC -o .libs/ha_example_la-ha_example.o
 c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../regex -I../../sql -I. -DMYSQL_DYNAMIC_PLUGIN -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -MT ha_example_la-ha_example.lo -MD -MP -MF .deps/ha_example_la-ha_example.Tpo -c ha_example.cc -o ha_example_la-ha_example.o >/dev/null 2>&1
/usr/local/bin/libtool --preserve-dup-deps --tag=CXX --mode=link c++  -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe   -felide-constructors -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000   -o ha_example.la  -module -rpath /usr/local/lib/mysql/plugin ha_example_la-ha_example.lo  -pthread -lcrypt -lm  -pthread 
c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/ha_example_la-ha_example.o  -pthread -lcrypt -lm -pthread -L/usr/lib -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -pthread -pthread -pthread -pthread -pthread -pthread -Wl,-soname -Wl,ha_example.so.0 -o .libs/ha_example.so.0
/usr/bin/ld: cannot find -lgcc_s
gmake[2]: *** [ha_example.la] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage/example'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/mysql51-server/work/mysql-5.1.24-rc/storage'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/databases/mysql51-server.
alpha#
I dont know if there is an other way to upgrade the port tree
do you think is better for me to update to 6.3 version

thanks guys
Reply With Quote