Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64154 closed defect (duplicate)

Mariadb port build failure for target x86_64 and MacOS SDK 10.13

Reported by: cgilles (HumanDynamo) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: mariadb

Description

--->  Computing dependencies for qt5-mysql-plugin
--->  Dependencies to be installed: mariadb
--->  Building mariadb
Error: Failed to build mariadb: command execution failed
Error: See /opt/digikam.org.x86_64/var/macports/logs/_opt_digikam.org.x86_64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb/mariadb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port qt5-mysql-plugin failed
FAILED COMMAND: port install cctools +xcode cmake ccache libpng jpeg tiff boost eigen3 gettext libusb libgphoto2 jasper lcms2 expat libxml2 libxslt libical lensfun bison x265 ffmpeg qt5-qtbase qt5-qtdeclarative qt5-qtmacextras qt5-qtquickcontrols qt5-qtxmlpatterns qt5-qtsvg qt5-qttools qt5-qttranslations qt5-qtimageformats qt5-sqlite-plugin qt5-mysql-plugin wget +ssl ImageMagick

Attachments (1)

main.log (2.2 MB) - added by cgilles (HumanDynamo) 3 years ago.
build log of mariadb under BigSur with 10.13 x86_64 target

Change History (8)

Changed 3 years ago by cgilles (HumanDynamo)

Attachment: main.log added

build log of mariadb under BigSur with 10.13 x86_64 target

comment:1 Changed 3 years ago by cgilles (HumanDynamo)

Macos host version : Big Sur 11.6.1 Xcode version : 13.1 (13A1030d)

comment:2 Changed 3 years ago by cgilles (HumanDynamo)

This build come from digiKam PKG release for MacOS X86_64. Plenty of ports are already compiled and installed previously (around 12h of build done).

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to michaelld
Status: newassigned

comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

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                      ^

comment:5 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:6 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

comment:7 Changed 3 years ago by cgilles (HumanDynamo)

Solution for this bug : see my comment 11 here https://trac.macports.org/ticket/63471#comment:11

Note: See TracTickets for help on using tickets.