[Bug 1474764] New: perl-DBD-MySQL-4.043-2.fc27 FTBFS: mysql.xs:827:29: error: 'MYSQL_OPT_NET_BUFFER_LENGTH' undeclared

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1474764

            Bug ID: 1474764
           Summary: perl-DBD-MySQL-4.043-2.fc27 FTBFS: mysql.xs:827:29:
                    error: 'MYSQL_OPT_NET_BUFFER_LENGTH' undeclared
           Product: Fedora
           Version: rawhide
         Component: perl-DBD-MySQL
          Assignee: jplesnik@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: jplesnik@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx



perl-DBD-MySQL-4.043-2.fc27 fails to build in F27:

gcc -c  -I/usr/lib64/perl5/vendor_perl/auto/DBI -I/usr/include/mysql
-DDBD_MYSQL_WITH_SSL -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -D_REENTRANT
-D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fwrapv -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1   -DVERSION=\"4.043\"
-DXS_VERSION=\"4.043\" -fPIC "-I/usr/lib64/perl5/CORE"   mysql.c
mysql.c: In function 'XS_DBD__mysql__db__login':
mysql.c:302:7: warning: variable 'attribs' set but not used
[-Wunused-but-set-variable]
  SV * attribs;
       ^~~~~~~
mysql.xs: In function 'XS_DBD__mysql__GetInfo_dbd_mysql_get_info':
mysql.xs:827:6: warning: implicit declaration of function 'mysql_get_option';
did you mean 'mysql_options'? [-Wimplicit-function-declaration]
      mysql_get_option(NULL, MYSQL_OPT_NET_BUFFER_LENGTH, &buffer_len);
      ^~~~~~~~~~~~~~~~
      mysql_options
mysql.xs:827:29: error: 'MYSQL_OPT_NET_BUFFER_LENGTH' undeclared (first use in
this function); did you mean 'MYSQL_OPT_SSL_CRLPATH'?
      mysql_get_option(NULL, MYSQL_OPT_NET_BUFFER_LENGTH, &buffer_len);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                             MYSQL_OPT_SSL_CRLPATH
mysql.xs:827:29: note: each undeclared identifier is reported only once for
each function it appears in
make: *** [Makefile:353: mysql.o] Error 1

This is triggered by upgrading mariadb-devel from 3:10.2.7-4.fc27 to
3:10.2.7-5.fc27:

The new mariadb changelog:

* Fri Jul 21 2017 Adam Williamson <awilliam@xxxxxxxxxx> - 3:10.2.7-5 - Install
correct headers (server, not client) - MDEV-13370

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux