Been looking into cleaning the old bep files from haikuports for a while, at this stage only one (afaik) is remaining … mysql
I tried to build it starting with the old bep file and patchset available, added a few patches and created a PR for it.
Atm the build still fails on:
Blockquote
/bin/sh …/libtool --preserve-dup-deps --tag=CC --mode=link gcc -DDBUG_OFF -O2 -o mysqltest mysqltest.o my_getsystime.o my_copy.o my_mkdir.o …/regex/libregex.a …/libmysql/libmysqlclient.la -lnetwork -lm -lz
libtool: link: gcc -DDBUG_OFF -O2 -o .libs/mysqltest mysqltest.o my_getsystime.o my_copy.o my_mkdir.o …/regex/libregex.a …/libmysql/.libs/libmysqlclient.so -lnetwork -lz -Wl,-rpath -Wl,/boot/home/destdir/lib/mysql
g++ -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME=“"/boot/home/destdir"” -DDATADIR=“"/boot/home/destdir/var"” -I. -I…/include -I…/include -I…/include -I…/regex -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqlbinlog.o -MD -MP -MF .deps/mysqlbinlog.Tpo -c -o mysqlbinlog.o mysqlbinlog.cc
mysqlbinlog.cc:808:1: error: narrowing conversion of ‘18446744073709551615’ from ‘ulonglong’ {aka ‘long long unsigned int’} to ‘longlong’ {aka ‘long long int’} inside { } [-Wnarrowing]
};
^
mysqlbinlog.cc:808:1: error: narrowing conversion of ‘18446744073709551615’ from ‘ulonglong’ {aka ‘long long unsigned int’} to ‘longlong’ {aka ‘long long int’} inside { } [-Wnarrowing]
Makefile:887: recipe for target ‘mysqlbinlog.o’ failed
make[2]: *** [mysqlbinlog.o] Error 1
make[2]: Leaving directory ‘/boot/home/wip/mysql-5.0.83/client’
Makefile:606: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/boot/home/wip/mysql-5.0.83’
Makefile:551: recipe for target ‘all’ failed
make: *** [all] Error 2
Have been looking into it but no solution atm so far … help appreciated
PR can be found at: mysql, re-work old bep file, wip by Begasus · Pull Request #4928 · haikuports/haikuports · GitHub