[MacPorts] #64154: Mariadb port build failure for target x86_64 and MacOS SDK 10.13

MacPorts noreply at macports.org
Wed Dec 8 01:57:05 UTC 2021


#64154: Mariadb port build failure for target x86_64 and MacOS SDK 10.13
----------------------+-----------------------
  Reporter:  cgilles  |      Owner:  michaelld
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  mariadb  |
----------------------+-----------------------

Comment (by chrstphrchvz):

 The “VERSION” file from MariaDB is conflicting with the libc++ “version”
 header. I believe this ticket is a duplicate of #63471.

 {{{
 :info:build [ 18%] Building CXX object
 storage/perfschema/CMakeFiles/perfschema.dir/ha_perfschema.cc.o
 :info:build cd
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/build/storage/perfschema
 && /usr/bin/clang++ -DHAVE_CONFIG_H -DMYSQL_SERVER
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/build/include
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/include
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/sql
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/regex
 -I/opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/extra/yassl/include
 -I/opt/digikam.org.x86_64/include -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -DNDEBUG
 -DDBUG_OFF -arch x86_64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-
 min=10.13   -I/opt/digikam.org.x86_64/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -MD -MT
 storage/perfschema/CMakeFiles/perfschema.dir/ha_perfschema.cc.o -MF
 CMakeFiles/perfschema.dir/ha_perfschema.cc.o.d -o
 CMakeFiles/perfschema.dir/ha_perfschema.cc.o -c
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/storage/perfschema/ha_perfschema.cc
 …
 :info:build In file included from
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/storage/perfschema/ha_perfschema.cc:21:
 :info:build In file included from
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/include/my_global.h:325:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/math.h:309:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/type_traits:417:
 :info:build In file included from
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/cstddef:37:
 :info:build
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/version:1:1:
 error: C++ requires a type specifier for all declarations
 :info:build MYSQL_VERSION_MAJOR=5
 :info:build ^
 :info:build
 /opt/digikam.org.x86_64/var/macports/build/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.68/version:1:22:
 error: expected ';' after top level declarator
 :info:build MYSQL_VERSION_MAJOR=5
 :info:build                      ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64154#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list