Opened 10 years ago

Closed 10 years ago

#40865 closed defect (fixed)

mysql56 will not build on Mavericks

Reported by: stuchalk (Stuart Chalk) Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: joelburton (Joel Burton), miken32 (Michael Newton), eero.otsus@…, kirmorozov (Kirill Morozov), simonblanchard@…, bananastalktome@…, jchauvel@…, an0nym@…, kasperligaard+macports@…, joey.cai@…, marcin+macports@…, Schamschula (Marius Schamschula), kickingvegas (Charles Choi), chris.kief@…, tomoyuki.kakuda@…, mirrorballu2@…, c9s (Yo-An Lin), misleem@…, kyle@…
Port: mysql56

Description

Upgraded to Mavericks, uninstalled all my ports, built macports for mavericks, installed Apache2 and PHP55. Went to install mysql56 and it wont build (log below). Mysql55 builds no problem.

Any thoughts?

Stuart

Attachments (2)

main.log (511.6 KB) - added by stuchalk (Stuart Chalk) 10 years ago.
Install log for mysql56@5.6.13 on 10.9 Mavericks with XCode 5.0.1
Portfile-mysql56.diff (1.3 KB) - added by Schamschula (Marius Schamschula) 10 years ago.

Download all attachments as: .zip

Change History (34)

Changed 10 years ago by stuchalk (Stuart Chalk)

Attachment: main.log added

Install log for mysql56@5.6.13 on 10.9 Mavericks with XCode 5.0.1

comment:1 Changed 10 years ago by joelburton (Joel Burton)

Cc: joel@… added

Cc Me!

comment:2 Changed 10 years ago by pixilla (Bradley Giesbrecht)

I don't have Mavericks yet so patches welcome.

comment:3 Changed 10 years ago by miken32 (Michael Newton)

Cc: miken32@… added

Cc Me!

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mavericks added
Owner: changed from macports-tickets@… to pixilla@…
Port: mysql56 added; mysql56@5.6.13 removed
Summary: Mysql 5.6 will not build on Mavericksmysql56 will not build on Mavericks

comment:5 Changed 10 years ago by eero.otsus@…

Cc: eero.otsus@… added

Cc Me!

comment:6 Changed 10 years ago by kirmorozov (Kirill Morozov)

Cc: kir.morozov@… added

Cc Me!

comment:7 Changed 10 years ago by simonblanchard@…

Cc: simonblanchard@… added

Cc Me!

comment:8 Changed 10 years ago by bananastalktome@…

Cc: bananastalktome@… added

Cc Me!

comment:9 Changed 10 years ago by jchauvel@…

Cc: jchauvel@… added

Cc Me!

comment:10 Changed 10 years ago by an0nym@…

Cc: an0nym@… added

Cc Me!

comment:11 Changed 10 years ago by kasperligaard+macports@…

Cc: kasperligaard+macports@… added

Cc Me!

comment:12 Changed 10 years ago by joey.cai@…

Cc: joey.cai@… added

Cc Me!

comment:13 Changed 10 years ago by marcin+macports@…

Last edited 10 years ago by marcin+macports@… (previous) (diff)

comment:14 Changed 10 years ago by marcin+macports@…

Cc: marcin+macports@… added

Cc Me!

comment:15 in reply to:  description Changed 10 years ago by kir.morozov+macports@…

Here is similar thread from FreeBSD. http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045498.html Sounds like they know solution.

Here is link to the Mysql Ticket with patch: http://bugs.mysql.com/bug.php?id=70542

Replying to schalk@…:

Upgraded to Mavericks, uninstalled all my ports, built macports for mavericks, installed Apache2 and PHP55. Went to install mysql56 and it wont build (log below). Mysql55 builds no problem.

Any thoughts?

Stuart

Last edited 10 years ago by kir.morozov+macports@… (previous) (diff)

comment:16 Changed 10 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

comment:17 Changed 10 years ago by kickingvegas (Charles Choi)

CC Me.

comment:18 in reply to:  17 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: charles.choi@… added

You need to click the “CcMe!” button next to the Cc list to actually be Cc’d. I’ve added you to the list manually.

comment:19 Changed 10 years ago by chris.kief@…

Cc: chris.kief@… added

Cc Me!

comment:20 Changed 10 years ago by marcin+macports@…

Any progress on this ?

comment:21 in reply to:  20 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Replying to marcin+macports@…:

Any progress on this ?

I still have no Mavericks machine to work with. Patches welcome.

comment:22 Changed 10 years ago by tomoyuki.kakuda@…

Cc: tomoyuki.kakuda@… added

Cc Me!

comment:23 Changed 10 years ago by mirrorballu2@…

Cc: mirrorballu2@… added

Cc Me!

comment:24 Changed 10 years ago by c9s (Yo-An Lin)

Cc Me!

comment:25 Changed 10 years ago by c9s (Yo-An Lin)

comment:26 in reply to:  24 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: cornelius.howl@… added

Replying to cornelius.howl@…:

Cc Me!

You need to actually click the “CcMe!” button above.

comment:27 in reply to:  description ; Changed 10 years ago by alexey.naidyonov@…

Any thoughts?

This does the trick:

--- Portfile~	2013-09-24 20:30:28.000000000 +0400
+++ Portfile	2013-11-22 15:46:36.000000000 +0400
@@ -80,6 +80,7 @@
     configure.args-delete \
                         -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
     configure.args-append \
+			-DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \
                         -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/${name_mysql}/mysql \
                         -DINSTALL_LAYOUT:STRING=MACPORTS \
                         -DSYSCONFDIR:PATH=${prefix}/etc/${name_mysql} \

comment:28 Changed 10 years ago by misleem@…

Cc: misleem@… added

Cc Me!

comment:29 Changed 10 years ago by kyle@…

Cc: kyle@… added

Cc Me!

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-mysql56.diff added

comment:30 in reply to:  27 ; Changed 10 years ago by Schamschula (Marius Schamschula)

Works for me. However, only tested on Mavericks. I've attached a diff file bumping mysql56 to 5.6.14.

Replying to alexey.naidyonov@…:

Any thoughts?

This does the trick:

--- Portfile~	2013-09-24 20:30:28.000000000 +0400
+++ Portfile	2013-11-22 15:46:36.000000000 +0400
@@ -80,6 +80,7 @@
     configure.args-delete \
                         -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
     configure.args-append \
+			-DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \
                         -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/${name_mysql}/mysql \
                         -DINSTALL_LAYOUT:STRING=MACPORTS \
                         -DSYSCONFDIR:PATH=${prefix}/etc/${name_mysql} \

comment:31 in reply to:  30 Changed 10 years ago by aaron@…

This worked for me as well. Could it get merged soon?

+			-DCMAKE_CXX_FLAGS="-stdlib=libstdc++" \

comment:32 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r114637

Thanks for the help!

Note: See TracTickets for help on using tickets.