Bug 232698 - databases/mariadb103-server chokes on compile
Summary: databases/mariadb103-server chokes on compile
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-26 06:01 UTC by doctor
Modified: 2020-06-25 11:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doctor 2018-10-26 06:01:13 UTC

    
Comment 1 doctor 2018-10-26 06:05:13 UTC
upon compile, mariadb103-server most recent update  to Mariadb 10.3.10 chokes as follows:

[ 94%] Building CXX object storage/connect/CMakeFiles/connect.dir/cmgoconn.cpp.o
cd /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect && /usr/local/bin/clang++70  -DCMGO_SUPPORT -DFORCE_INIT_OF_VARS -DGZ_SUPPORT -DHAVE_CONFIG_H -DHUGE_SUPPORT -DLIBXML2_SUPPORT -DLINUX -DMARIADB -DMYSQL_DYNAMIC_PLUGIN -DNOCRYPT -DODBC_SUPPORT -DUBUNTU -DUNIX -DVCT_SUPPORT -DXMAP -DZIP_SUPPORT -Dconnect_EXPORTS -I/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/include -I/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/sql -I/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/pcre -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/libmongoc-1.0 -I/usr/local/include/libbson-1.0 -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-rtti -Wall -Wmissing-declarations -Wno-unused-function -Wno-unused-variable -Wno-unused-value -Wno-parentheses -Wno-strict-aliasing -Wno-implicit-fallthrough -fpermissive -fexceptions -fPIC  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -D_FORTIFY_SOURCE=2 -DDBUG_OFF -fPIC -o CMakeFiles/connect.dir/cmgoconn.cpp.o -c /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/cmgoconn.cpp
clang-7: warning: -Wl,-z,relro,-z,now: 'linker' input unused [-Wunused-command-line-argument]
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/cmgoconn.cpp:768:11: error: call to member function 'SetValue' is ambiguous
                        value->SetValue(bson_iter_int64(&Desc));
                        ~~~~~~~^~~~~~~~
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:108:18: note: candidate function
  virtual void   SetValue(char) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:109:18: note: candidate function
  virtual void   SetValue(uchar) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:110:18: note: candidate function
  virtual void   SetValue(short) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:111:18: note: candidate function
  virtual void   SetValue(ushort) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:112:18: note: candidate function
  virtual void   SetValue(int) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:113:18: note: candidate function
  virtual void   SetValue(uint) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:114:18: note: candidate function
  virtual void   SetValue(longlong) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:115:18: note: candidate function
  virtual void   SetValue(ulonglong) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:116:18: note: candidate function
  virtual void   SetValue(double) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/cmgoconn.cpp:772:11: error: call to member function 'SetValue' is ambiguous
                        value->SetValue(bson_iter_date_time(&Desc) / 1000);
                        ~~~~~~~^~~~~~~~
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:108:18: note: candidate function
  virtual void   SetValue(char) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:109:18: note: candidate function
  virtual void   SetValue(uchar) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:110:18: note: candidate function
  virtual void   SetValue(short) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:111:18: note: candidate function
  virtual void   SetValue(ushort) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:112:18: note: candidate function
  virtual void   SetValue(int) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:113:18: note: candidate function
  virtual void   SetValue(uint) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:114:18: note: candidate function
  virtual void   SetValue(longlong) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:115:18: note: candidate function
  virtual void   SetValue(ulonglong) {assert(false);}
                 ^
/usr/ports/databases/mariadb103-server/work/mariadb-10.3.10/storage/connect/value.h:116:18: note: candidate function
  virtual void   SetValue(double) {assert(false);}
                 ^
2 errors generated.
*** [storage/connect/CMakeFiles/connect.dir/cmgoconn.cpp.o] Error code 1

make[4]: stopped in /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10
1 error

make[4]: stopped in /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10
*** [storage/connect/CMakeFiles/connect.dir/all] Error code 2

make[3]: stopped in /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10
1 error

make[3]: stopped in /usr/ports/databases/mariadb103-server/work/mariadb-10.3.10
Comment 3 VVD 2020-06-25 11:42:55 UTC
IMHO, it's time to close all old and abandoned PRs…