Opened 7 years ago
Closed 7 years ago
#54729 closed defect (fixed)
mariadb-10.0, mariadb-10.1: error: cannot use 'try' with exceptions disabled
Reported by: | hbsimon (Horst Simon) | Owned by: | pixilla (Bradley Giesbrecht) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | jonasjonas (Frank Hellenkamp), ruipacheco (Rui Pacheco), todofixthis (Phoenix), H3ik0 | |
Port: | mariadb-10.0, mariadb-10.1 |
Description
Hi,
When building mariadb-10.1 it fails with command error, the same goes for mariadb-10.0.
OS: macOS Sierra Version 10.12.6 with XCode Version 8.3.2 (BE2002)
Log file is attached
Regards, Horst Simon
Attachments (1)
Change History (11)
Changed 7 years ago by hbsimon (Horst Simon)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to pixilla |
---|---|
Port: | mariadb-10.0 mariadb-10.1 added |
Status: | new → assigned |
Summary: | mariadb-10.1 build fails with command error → mariadb-10.0, mariadb-10.1: error: cannot use 'try' with exceptions disabled |
comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Here are the commits that changed mariadb's dependencies after it was last updated; perhaps one of them is relevant:
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
A more complete list of changes, including changes to dependencies of dependencies:
- curl: update to 7.54.1
- ncurses: Update to 6.0-20170610
- automake: update to version 1.15.1
- libtool 2.4.6: revision bump for automake 1.15.1
- expat: security update to version 2.2.1
- expat 2.2.1: use upstream patch.
- libuv: update release to 1.13.0 and devel to d3a958d4 (20170705).
- gperf: Update to version 3.1
- libuv: update to 1.13.1
- ncurses: update to 6.0-20170708
- libarchive: update to 3.3.2.
- expat: Update to 2.2.2
- cmake: update release to 3.9.0 and devel to b5a28eb9 (20170718).
- perl5: update to 5.24.2, patch to fix test
- curl-ca-bundle: update to be884de5820a / NSS 3.32
- expat: Update to 2.2.3
- curl: update to 7.55.0
- cmake: update to 3.9.1.
- curl: update to 7.55.1
- libuv: update to 1.14.0
- expat: Update to 2.2.4
- lz4: update to version 1.8.0
I still get the error when building with trace mode, so it shouldn't be a problem of interference from a port that is not listed as a dependency.
comment:4 follow-up: 6 Changed 7 years ago by ruipacheco (Rui Pacheco)
Hi,
I get this error on High Sierra.
comment:5 Changed 7 years ago by jonasjonas (Frank Hellenkamp)
Cc: | jonasjonas added |
---|
comment:6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ruipacheco added |
---|
Replying to ruipacheco:
I get this error on High Sierra.
Yes, I expect all users building from source, on any system, will get this error. If you or anyone can figure out why, please let us know!
comment:7 follow-up: 8 Changed 7 years ago by mkoula (Miroslav Koula)
I have the same issue with both version mariadb-10.0 and also mariadb-10.1... Because I need it urgently I finally compiled 10.2 from the source code. It was a bit challenging, but it's working :-) but still there is so many configs around/startup scripts etc and upgrading, so I would really appreciate to have it in MacPorts working ;-)
comment:8 Changed 7 years ago by vnyx
Replying to mkoula:
I have the same issue with both version mariadb-10.0 and also mariadb-10.1... Because I need it urgently I finally compiled 10.2 from the source code. It was a bit challenging, but it's working :-) but still there is so many configs around/startup scripts etc and upgrading, so I would really appreciate to have it in MacPorts working ;-)
I was also able to build from source. Here is my script after downloading the source. I was testing Mariasb 10.2. It will install in /usr/local/mysql.
#!/bin/sh sudo port install cmake jemalloc judy openssl boost cd ${HOME}/Downloads if [ -e mariadb-10.2.10.tar.gz ]; then gunzip mariadb-10.2.10.tar.gz tar -xf mariadb-10.2.10.tar fi if [ -d build-mariadb ]; then rm -r build-mariadb/* else mkdir build-mariadb fi cd build-mariadb cmake ../mariadb-10.2.10 make sudo make install
comment:9 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | todofixthis H3ik0 added |
---|
comment:10 Changed 7 years ago by Bradley Giesbrecht <brad@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I see this error on my Sierra system too. But binary archives exist on our server for these ports from June. Perhaps something changed in one of mariadb's dependencies since then to cause this?