Opened 4 years ago
Closed 4 years ago
#60805 closed defect (fixed)
mariadb-10.2, mariadb-10.3, mariadb-10.4: 'mutable' and 'const' cannot be mixed
Reported by: | mav2287 (James) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez) | |
Port: | mariadb-10.2 mariadb-10.3 mariadb-10.4 |
Description
Unable to build MariaDB on 10.11 El Capitan. In order to update current working install of mariadb-10.2 @10.2.30_1 additionally 10.3 and 10.4 seem to exhibit the same behavior.
ouput is as follows:
---> Computing dependencies for mariadb-10.2 ---> Fetching archive for mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.32_1.darwin_15.x86_64.tbz2 from https://packages.macports.org/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.32_1.darwin_15.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/mariadb-10.2 ---> Attempting to fetch mariadb-10.2-10.2.32_1.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/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_macports_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.
Relevant contents of main.log are as follows
:info:build [ 73%] Built target ma_test_loghandler_nologs-t :info:build [ 73%] Built target ma_pagecache_consist_64k-t :info:build [ 73%] Built target ma_test_loghandler-t :info:build [ 73%] Built target ma_control_file-t :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/build' :info:build make[1]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/all] Error 2 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/build' :info:build make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/work/build" && /usr/bin/make -j16 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build mariadb-10.2: command execution failed :debug:build Error code: CHILDSTATUS 23253 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.2/mariadb-10.2/main.log for details.
Attachments (1)
Change History (9)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
Changed 4 years ago by mav2287 (James)
comment:2 Changed 4 years ago by mav2287 (James)
Please see uploaded main.log
I also tried installing 10.3 and 10.4 ( Not previously installed on this system ) which resulted in what appears to be the same error. My best guess is that what is causing the build to fail with 10.2 is most likely what is wrong with those as well. So if a fix it found it will most likely need to be applied to 10.3 and 10.4 as well.
comment:3 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
The 10.11 builder encountered similar errors for mariadb 10.2, and errored for 10.3 and 10.4 as well.
comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | mariadb-10.3 mariadb-10.4 added |
---|---|
Summary: | Failed to build mariadb-10.2 → mariadb-10.2, mariadb-10.3, mariadb-10.4: 'mutable' and 'const' cannot be mixed |
comment:7 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
I notice that at least some of these ports build successfully on 10.7 where MacPorts' clang 9.0 is used instead of Xcode clang. I have opened a PR to avoid compiling with known-non-working versions of Xcode clang (8.2.1 edit: 8.3.3 and earlier; the earliest known working version I'm currently aware of is 9.2).
comment:8 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Please add the full log as an attachment. If it's excessively large, you can compress it with bzip2 first.