Bug 240484 - databases/mysql-connector-odbc build failure for mysql56
Summary: databases/mysql-connector-odbc build failure for mysql56
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-11 00:26 UTC by tech-lists
Modified: 2019-09-11 03:21 UTC (History)
1 user (show)

See Also:


Attachments
svn-diff-mysql-connector-odbc (2.26 KB, patch)
2019-09-11 03:21 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tech-lists 2019-09-11 00:26:56 UTC
Hello,

context: freebsd-12-stable / amd64

poudriere-devel testport fails for databases/mysql-connector-odbc when built for mysql56

error:

[00:01:27] FAILED: driver/CMakeFiles/myodbc5a.dir/dll.cc.o 
[00:01:27] /ccache/libexec/ccache/c++  -DDBUG_OFF -DDISABLE_ALL_PSI -DHAVE_LIBDL -DHAVE_LPCWSTR -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -Dmyodbc5a_EXPORTS -I/usr/local/include/mysql -I/usr/local/include -I/wrkdirs/usr/ports/databases/mysql-connector-odbc/work/mysql-connector-odbc-5.3.13-src -I/wrkdirs/usr/ports/databases/mysql-connector-odbc/work/mysql-connector-odbc-5.3.13-src/driver/../util -O2 -pipe -march=haswell -fstack-protector-strong -fno-strict-aliasing -std=c++0x -O2 -pipe -march=haswell -fstack-protector-strong -fno-strict-aliasing -fPIC    -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -g -fno-omit-frame-pointer -fno-strict-aliasing -w -MD -MT driver/CMakeFiles/myodbc5a.dir/dll.cc.o -MF driver/CMakeFiles/myodbc5a.dir/dll.cc.o.d -o driver/CMakeFiles/myodbc5a.dir/dll.cc.o -c /wrkdirs/usr/ports/databases/mysql-connector-odbc/work/mysql-connector-odbc-5.3.13-src/driver/dll.cc
[00:01:27] /wrkdirs/usr/ports/databases/mysql-connector-odbc/work/mysql-connector-odbc-5.3.13-src/driver/dll.cc:128:5: error: use of undeclared identifier 'my_thread_end_wait_time'
[00:01:27]     my_thread_end_wait_time= 0;
[00:01:27]     ^
[00:01:27] 1 error generated.
[00:01:27] ninja: build stopped: subcommand failed.
[00:01:27] *** Error code 1
[00:01:27] 
[00:01:27] Stop.
[00:01:27] make: stopped in /usr/ports/databases/mysql-connector-odbc
[00:01:31] Saved databases/mysql-connector-odbc | mysql-connector-odbc-unixodbc-mysql56-5.3.13_1 wrkdir to: /wd/poudriere/data/wrkdirs/12S-localhost-default/default/mysql-connector-odbc-unixodbc-mysql56-5.3.13_1.txz
[00:01:31] build of databases/mysql-connector-odbc | mysql-connector-odbc-unixodbc-mysql56-5.3.13_1 ended at Wed Sep 11 01:20:09 BST 2019
[00:01:31] build time: 00:00:19
[00:01:31] !!! build failure encountered !!!
[00:01:31] Error: Build failed in phase: build
[00:01:31] Cleaning up
[00:01:32] Unmounting file systems
Comment 1 tech-lists 2019-09-11 00:29:02 UTC
the jail version info is: 12.0-STABLE 1200515 r351362  amd64
Comment 2 Walter Schwarzenfeld freebsd_triage 2019-09-11 03:21:59 UTC
Created attachment 207367 [details]
svn-diff-mysql-connector-odbc

Try this.