Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 872443 Details for
Bug 915511
dev-perl/DBD-mysql-5.1.0:dbdimp.c:1407:31: error: ‘MYSQL_OPT_GET_SERVER_PUBLIC_KEY’ undeclared and more "undeclared" errors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log file
build.log (text/plain), 18.27 KB, created by
David Kredba
on 2023-10-10 05:52:18 UTC
(
hide
)
Description:
build.log file
Filename:
MIME Type:
Creator:
David Kredba
Created:
2023-10-10 05:52:18 UTC
Size:
18.27 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-perl/DBD-mysql-5.1.0:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: perl@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux mariadb >[32m * [39;49;00mFEATURES: compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking DBD-mysql-5.001.tar.gz to /var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work >>>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work >>>> Preparing source in /var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work/DBD-mysql-5.001 ... > [32m*[0m Applying DBD-mysql-4.050-no-dot-inc.patch ... >[A[157C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying DBD-mysql-5.001-tests.patch ... >[A[157C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Removing un-needed t/pod.t > [32m*[0m Removing un-needed t/manifest.t > [32m*[0m Removing un-needed t/40server_prepare.t > [32m*[0m Fixing Manifest >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work/DBD-mysql-5.001 ... > [32m*[0m Using ExtUtils::MakeMaker > [32m*[0m perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/DBD-mysql-5.1.0/image --mysql_config=/usr/bin/mariadb_config > > >PLEASE NOTE: > >For 'make test' to run properly, you must ensure that the >database user '' can connect to your MySQL server >and has the proper privileges that these tests require such >as 'drop table', 'create table', 'drop procedure', 'create procedure' >as well as others. > >mysql> CREATE USER ''@'localhost' IDENTIFIED BY 's3kr1t'; >mysql> GRANT ALL PRIVILEGES ON test.* TO ''@'localhost'; > >You can also optionally set the user to run 'make test' with: > >perl Makefile.PL --testuser=username > >I will use the following settings for compiling and testing: > > cflags (mysql_config) = -I/usr/include/mariadb -I/usr/include/mariadb/mysql > ldflags (mysql_config) = > libs (mysql_config) = -L/usr/lib64/ -lmariadb > mysql_config (Users choice) = /usr/bin/mariadb_config > nocatchstderr (default ) = 0 > nofoundrows (default ) = 0 > testdb (default ) = test > testhost (default ) = > testpassword (default ) = > testport (default ) = > testsocket (default ) = > testuser (guessed ) = > >To change these settings, see 'perl Makefile.PL --help' and >'perldoc DBD::mysql::INSTALL'. > >Checking if libs are available for compiling... >Looks good. > >Checking if your kit is complete... >Looks good >Warning: prerequisite Test::Deep 0 not found. >Using DBI 1.643 (for perl 5.038000 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI/ >Generating a Unix-style Makefile >Writing Makefile for DBD::mysql >Writing MYMETA.yml and MYMETA.json >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work/DBD-mysql-5.001 ... >make -j9 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 'OPTIMIZE=-O2 -ggdb3 -pipe -march=znver2' >Running Mkbootstrap for mysql () >x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -D_REENTRANT -D_GNU_SOURCE -O2 -ggdb3 -pipe -march=znver2 -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -ggdb3 -pipe -march=znver2 -DVERSION=\"5.001\" -DXS_VERSION=\"5.001\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE" dbdimp.c >"/usr/bin/perl" -p -e "s/~DRIVER~/mysql/g" /usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi >x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -D_REENTRANT -D_GNU_SOURCE -O2 -ggdb3 -pipe -march=znver2 -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -ggdb3 -pipe -march=znver2 -DVERSION=\"5.001\" -DXS_VERSION=\"5.001\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE" socket.c >"/usr/bin/perl" "/usr/lib64/perl5/5.38/ExtUtils/xsubpp" -typemap '/usr/lib64/perl5/5.38/ExtUtils/typemap' mysql.xs > mysql.xsc >chmod 644 "mysql.bs" >cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm >"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- mysql.bs blib/arch/auto/DBD/mysql/mysql.bs 644 >cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm >cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod >cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm >Warning: duplicate function definition 'do' detected in mysql.xs, line 229 >Warning: duplicate function definition 'rows' detected in mysql.xs, line 637 >mv mysql.xsc mysql.c >x86_64-pc-linux-gnu-gcc -c -I/usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -D_REENTRANT -D_GNU_SOURCE -O2 -ggdb3 -pipe -march=znver2 -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -ggdb3 -pipe -march=znver2 -DVERSION=\"5.001\" -DXS_VERSION=\"5.001\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE" mysql.c >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_dr_connect[m[Kâ: >[01m[Kdbdimp.c:1407:31:[m[K [01;31m[Kerror: [m[Kâ[01m[KMYSQL_OPT_GET_SERVER_PUBLIC_KEY[m[Kâ undeclared (first use in this function); did you mean â[01m[KMYSQL_SERVER_PUBLIC_KEY[m[Kâ? > 1407 | mysql_options(sock, [01;31m[KMYSQL_OPT_GET_SERVER_PUBLIC_KEY[m[K, &server_get_pubkey); > | [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K > | [32m[KMYSQL_SERVER_PUBLIC_KEY[m[K >[01m[Kdbdimp.c:1407:31:[m[K [01;36m[Knote: [m[Keach undeclared identifier is reported only once for each function it appears in >[01m[Kdbdimp.c:1464:22:[m[K [01;31m[Kerror: [m[Kâ[01m[KSSL_MODE_PREFERRED[m[Kâ undeclared (first use in this function) > 1464 | ssl_mode = [01;31m[KSSL_MODE_PREFERRED[m[K; > | [01;31m[K^~~~~~~~~~~~~~~~~~[m[K >[01m[K./mysql.xsi:[m[K In function â[01m[KXS_DBD__mysql__db_selectrow_arrayref[m[Kâ: >[01m[K./mysql.xsi:234:9:[m[K [01;35m[Kwarning: [m[Kâ[01m[KPerl_dowantarray[m[Kâ is deprecated [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;[m[K] > 234 | [01;35m[Kif[m[K (GIMME == G_SCALAR) > | [01;35m[K^~[m[K >In file included from [01m[K/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE/perl.h:6190[m[K, > from [01m[K/usr/lib64/perl5/vendor_perl/5.38/x86_64-linux-thread-multi/auto/DBI/DBIXS.h:23[m[K, > from [01m[Kdbdimp.h:20[m[K, > from [01m[Kmysql.xs:12[m[K: >[01m[K/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE/proto.h:1019:1:[m[K [01;36m[Knote: [m[Kdeclared here > 1019 | [01;36m[KPerl_dowantarray[m[K(pTHX) > | [01;36m[K^~~~~~~~~~~~~~~~[m[K >[01m[K./mysql.xsi:240:9:[m[K [01;35m[Kwarning: [m[Kâ[01m[KPerl_dowantarray[m[Kâ is deprecated [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;[m[K] > 240 | [01;35m[Kif[m[K (GIMME == G_SCALAR) > | [01;35m[K^~[m[K >[01m[K/usr/lib64/perl5/5.38/x86_64-linux-thread-multi/CORE/proto.h:1019:1:[m[K [01;36m[Knote: [m[Kdeclared here > 1019 | [01;36m[KPerl_dowantarray[m[K(pTHX) > | [01;36m[K^~~~~~~~~~~~~~~~[m[K >[01m[Kmysql.xs:[m[K In function â[01m[KXS_DBD__mysql__st_rows[m[Kâ: >[01m[Kmysql.xs:658:18:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 658 | sprintf(buf, [01;35m[K"%lu"[m[K, [32m[Kimp_sth->row_num[m[K); > | [01;35m[K^~~~~[m[K [32m[K~~~~~~~~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Kmy_ulonglong {aka long long unsigned int}[m[K >[01m[Kdbdimp.c:1466:26:[m[K [01;31m[Kerror: [m[Kâ[01m[KSSL_MODE_VERIFY_IDENTITY[m[Kâ undeclared (first use in this function) > 1466 | ssl_mode = [01;31m[KSSL_MODE_VERIFY_IDENTITY[m[K; > | [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~~[m[K >[01m[Kdbdimp.c:1468:26:[m[K [01;31m[Kerror: [m[Kâ[01m[KSSL_MODE_VERIFY_CA[m[Kâ undeclared (first use in this function) > 1468 | ssl_mode = [01;31m[KSSL_MODE_VERIFY_CA[m[K; > | [01;31m[K^~~~~~~~~~~~~~~~~~[m[K >[01m[Kdbdimp.c:1470:26:[m[K [01;31m[Kerror: [m[Kâ[01m[KSSL_MODE_REQUIRED[m[Kâ undeclared (first use in this function) > 1470 | ssl_mode = [01;31m[KSSL_MODE_REQUIRED[m[K; > | [01;31m[K^~~~~~~~~~~~~~~~~[m[K >[01m[Kdbdimp.c:1471:37:[m[K [01;31m[Kerror: [m[Kâ[01m[KMYSQL_OPT_SSL_MODE[m[Kâ undeclared (first use in this function); did you mean â[01m[KMYSQL_OPT_SSL_CRL[m[Kâ? > 1471 | if (mysql_options(sock, [01;31m[KMYSQL_OPT_SSL_MODE[m[K, &ssl_mode) != 0) { > | [01;31m[K^~~~~~~~~~~~~~~~~~[m[K > | [32m[KMYSQL_OPT_SSL_CRL[m[K >[01m[Kdbdimp.c:1480:37:[m[K [01;31m[Kerror: [m[Kâ[01m[KSSL_MODE_DISABLED[m[Kâ undeclared (first use in this function) > 1480 | unsigned int ssl_mode = [01;31m[KSSL_MODE_DISABLED[m[K; > | [01;31m[K^~~~~~~~~~~~~~~~~[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_st_prepare[m[Kâ: >[01m[Kdbdimp.c:2407:24:[m[K [01;35m[Kwarning: [m[Kassignment to â[01m[Kmy_bool *[m[Kâ {aka â[01m[Kchar *[m[Kâ} from incompatible pointer type â[01m[K_Bool *[m[Kâ [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;[m[K] > 2407 | bind->is_null[01;35m[K=[m[K &(fbind->is_null); > | [01;35m[K^[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_st_internal_execute41[m[Kâ: >[01m[Kdbdimp.c:2943:63:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 2943 | "\t<- mysql_internal_execute_41 returning [01;35m[K%lu[m[K rows\n", > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong unsigned int[m[K > | [32m[K%llu[m[K > 2944 | [32m[Krows[m[K); > | [32m[K~~~~[m[K > | [32m[K|[m[K > | [32m[Kmy_ulonglong {aka long long unsigned int}[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_st_execute[m[Kâ: >[01m[Kdbdimp.c:3104:32:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 3104 | sprintf(actual_row_num, "[01;35m[K%lu[m[K", [32m[Kimp_sth->row_num[m[K); > | [01;35m[K~~^[m[K [32m[K~~~~~~~~~~~~~~~~[m[K > | [01;35m[K|[m[K [32m[K|[m[K > | [01;35m[K|[m[K [32m[Kmy_ulonglong {aka long long unsigned int}[m[K > | [01;35m[Klong unsigned int[m[K > | [32m[K%llu[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_describe[m[Kâ: >[01m[Kdbdimp.c:3198:22:[m[K [01;35m[Kwarning: [m[Kassignment to â[01m[Kmy_bool *[m[Kâ {aka â[01m[Kchar *[m[Kâ} from incompatible pointer type â[01m[K_Bool *[m[Kâ [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;[m[K] > 3198 | buffer->is_null[01;35m[K=[m[K &(fbh->is_null); > | [01;35m[K^[m[K >[01m[Kdbdimp.c:3199:20:[m[K [01;35m[Kwarning: [m[Kassignment to â[01m[Kmy_bool *[m[Kâ {aka â[01m[Kchar *[m[Kâ} from incompatible pointer type â[01m[K_Bool *[m[Kâ [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;[m[K] > 3199 | buffer->error[01;35m[K=[m[K (bool*) &(fbh->error); > | [01;35m[K^[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_st_fetch[m[Kâ: >[01m[Kdbdimp.c:3503:63:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 3503 | PerlIO_printf(DBIc_LOGPIO(imp_xxh), "\tmysql_num_rows=[01;35m[K%lu[m[K\n", > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong unsigned int[m[K > | [32m[K%llu[m[K > 3504 | [32m[Kmysql_num_rows(imp_sth->result)[m[K); > | [32m[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Kmy_ulonglong {aka long long unsigned int}[m[K >[01m[Kdbdimp.c:3505:68:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 3505 | PerlIO_printf(DBIc_LOGPIO(imp_xxh), "\tmysql_affected_rows=[01;35m[K%lu[m[K\n", > | [01;35m[K~~^[m[K > | [01;35m[K|[m[K > | [01;35m[Klong unsigned int[m[K > | [32m[K%llu[m[K > 3506 | [32m[Kmysql_affected_rows(imp_dbh->pmysql)[m[K); > | [32m[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K > | [32m[K|[m[K > | [32m[Kmy_ulonglong {aka long long unsigned int}[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_st_FETCH_attrib[m[Kâ: >[01m[Kdbdimp.c:4106:60:[m[K [01;35m[Kwarning: [m[Kformat â[01m[K%lu[m[Kâ expects argument of type â[01m[Klong unsigned int[m[Kâ, but argument 3 has type â[01m[Kmy_ulonglong[m[Kâ {aka â[01m[Klong long unsigned int[m[Kâ} [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;[m[K] > 4106 | PerlIO_printf(DBIc_LOGPIO(imp_xxh), "INSERT ID [01;35m[K%lu[m[K\n", [32m[Kimp_sth->insertid[m[K); > | [01;35m[K~~^[m[K [32m[K~~~~~~~~~~~~~~~~~[m[K > | [01;35m[K|[m[K [32m[K|[m[K > | [01;35m[K|[m[K [32m[Kmy_ulonglong {aka long long unsigned int}[m[K > | [01;35m[Klong unsigned int[m[K > | [32m[K%llu[m[K >[01m[Kdbdimp.c:[m[K In function â[01m[Kmysql_db_quote[m[Kâ: >[01m[Kdbdimp.c:4646:12:[m[K [01;35m[Kwarning: [m[Kimplicit declaration of function â[01m[Kmysql_real_escape_string_quote[m[Kâ; did you mean â[01m[Kmysql_real_escape_string[m[Kâ? [[01;35m[K]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;[m[K] > 4646 | sptr+= [01;35m[Kmysql_real_escape_string_quote[m[K(imp_dbh->pmysql, sptr, > | [01;35m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K > | [32m[Kmysql_real_escape_string[m[K >make: *** [Makefile:357: dbdimp.o] Error 1 >make: *** Waiting for unfinished jobs.... > [31;01m*[0m ERROR: dev-perl/DBD-mysql-5.1.0::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-perl/DBD-mysql-5.1.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-perl/DBD-mysql-5.1.0::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-perl/DBD-mysql-5.1.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-perl/DBD-mysql-5.1.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work/DBD-mysql-5.001' > [31;01m*[0m S: '/var/tmp/portage/dev-perl/DBD-mysql-5.1.0/work/DBD-mysql-5.001'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 915511
: 872443