Opened 5 years ago

Closed 4 years ago

#58021 closed defect (fixed)

Build error on mariadb-10.2 @10.2.19

Reported by: mmcclenn (Michael McClennen) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: mariadb-10.2

Description (last modified by mf2k (Frank Schima))

sudo port build -D PLUGIN_TOKUDB=NO mariadb-10.2
Password:
--->  Computing dependencies for mariadb-10.2
--->  Building mariadb-10.2
Error: Failed to build mariadb-10.2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mariadb-10.2 failed

Attachments (1)

main.log (1.3 MB) - added by mmcclenn (Michael McClennen) 5 years ago.
Build log

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by mmcclenn (Michael McClennen)

Attachment: main.log added

Build log

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to pixilla
Port: mariadb-10.2 added
Status: newassigned

In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers mariadb-10.2 ), if any.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 5 years ago by mf2k (Frank Schima)

Owner: pixilla deleted

See #57827

comment:5 Changed 5 years ago by Schamschula (Marius Schamschula)

The error seems to be

:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/mariadb-10.2.19/storage/rocksdb/rocksdb/db/version_edit.h:18:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/mariadb-10.2.19/storage/rocksdb/rocksdb/util/arena.h:85:70: error: unknown type name 'max_align_t'; did you mean 'std::max_align_t'?
:info:build   char inline_block_[kInlineSize] __attribute__((__aligned__(alignof(max_align_t))));
:info:build                                                                      ^~~~~~~~~~~
:info:build                                                                      std::max_align_t
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstddef:55:21: note: 'std::max_align_t' declared here
:info:build typedef long double max_align_t;
:info:build                     ^

comment:6 in reply to:  description Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mmcclenn:

sudo port build -D PLUGIN_TOKUDB=NO mariadb-10.2

That -D PLUGIN_TOKUDB=NO isn't going to do anything. MacPorts doesn't recognize such flags. If you want to enable or disable features, look at the output of port variants mariadb-10.2 to see what possibilities the maintainer of the port offers you.

comment:7 Changed 5 years ago by michaelld (Michael Dickens)

Owner: set to michaelld

comment:8 Changed 4 years ago by michaelld (Michael Dickens)

Is this still an issue with the update of MariaDB 10.2 to 10.2.28 on Nov 5? https://trac.macports.org/changeset/32c03448aa4061acc3ad5676fa84a834098b0615/macports-ports

Last edited 4 years ago by michaelld (Michael Dickens) (previous) (diff)

comment:9 Changed 4 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

So TOKUDB was disabled a while ago. I'm guessing this issue was fixed by that change. So, I'm closing the issue.

If anyone still has this specific issue, please reopen and provide a build log that clearly shows the issue ... and, I'll then revisit & see if I can get it fixed.

Note: See TracTickets for help on using tickets.