Opened 9 years ago

Closed 5 years ago

#25751 closed update (wontfix)

mysql5-devel: update to latest version

Reported by: kris-macports@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jyrkiwahlstedt, thorsten@…, rcj@…, david@…, pixilla (Bradley Giesbrecht), quest@…, echosa@…, pirukire@…
Port: mysql5-devel

Description

mysql5-devel is still at version 5.5.2 but I see on http://dev.mysql.com that the new milestone-3 release 5.5.5 is now out, to which this port should be updated.

See also http://dev.mysql.com/doc/refman/5.5/en/news-5-5-5.html

Attachments (3)

mysql5-devel-5.5.5-m3.diff (6.5 KB) - added by ryandesign (Ryan Schmidt) 9 years ago.
work in progress
Portfile.2 (2.6 KB) - added by quest@… 7 years ago.
Portfile for mysql-server-devel 5.5.18
Portfile (5.7 KB) - added by quest@… 7 years ago.
Updated mysql5-devel Portfile with mariadb conflict.

Download all attachments as: .zip

Change History (38)

comment:1 Changed 9 years ago by kris-macports@…

Cc: kris-macports@… added

Cc Me!

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Cc: ryandesign@… added; kris-macports@… removed
Owner: changed from macports-tickets@… to jwa@…
Version: 1.9.1

Please remember to cc the maintainers, and note that you do not need to be in cc when you are the reporter.

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

Cc: jwa@… added; ryandesign@… removed
Owner: changed from jwa@… to ryandesign@…
Status: newassigned

Thanks for the reminder. I started working on this update a couple days ago but hit a problem with the post-destroot reinplace bits - it's reinplacing files which no longer exist in this new version. Will have to investigate.

comment:4 in reply to:  3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Replying to ryandesign@…:

a problem with the post-destroot reinplace bits

Make that the post-build reinplace bits. I think I can just remove them.

The bigger problem is that we're now using cmake, and we have to switch to using cmake syntax for specifying options. (They still have a configure script which on first glance appears to convert the old options into cmake syntax, but it misses many options we use, so it's easier to just switch to cmake fully.) I've got most of the options converted but a few I can't find cmake equivalents for. I've asked for help in the mysql forum. I'll attach my diff so far.

Changed 9 years ago by ryandesign (Ryan Schmidt)

Attachment: mysql5-devel-5.5.5-m3.diff added

work in progress

comment:5 Changed 8 years ago by thorsten@…

Any news on this? MySQL 5.5.8 is already the GA release and stable.

-Thorsten

comment:6 Changed 8 years ago by thorsten@…

Cc: thorsten@… added

Cc Me!

comment:7 Changed 8 years ago by rcj@…

Cc: rcj@… added

Cc Me!

comment:8 Changed 8 years ago by david@…

Should mysql5-devel be deleted and mysql5 updated to use 5.5?

comment:9 Changed 8 years ago by david@…

Cc: david@… added

Cc Me!

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

No. The plan is for the port mysql5 to be renamed to mysql51, the port mysql5-devel to be renamed to mysql55, the port mysql50 to be created (#22251), for all three ports to be made non-conflicting (installing to separate locations), and for all ports using mysql5* to be updated to support this new layout. The thought of this is a little exhausting, though.

For the purpose of this ticket, it suffices to update the mysql5-devel port to the latest 5.5.x version. I posted my work in progress above; if anyone has further comments on that, please let me know.

comment:11 Changed 8 years ago by quest@…

Just a heads up. There is portfiles for 5.5.12 at http://github.com/zquestz/ports

comment:12 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:13 Changed 8 years ago by kris-macports@…

Please note that 5.5 should by now be the mysql5 package, as it is RC for quite some time now. The mysql5-devel package should contain the 5.6 version of MySQL.

comment:14 in reply to:  11 Changed 8 years ago by ryandesign (Ryan Schmidt)

Keywords: haspatch added

Replying to quest@…:

There is portfiles for 5.5.12 at http://github.com/zquestz/ports

Thanks very much! I'll have a look.

comment:15 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: quest@… added

zquestz: thanks!

comment:16 Changed 8 years ago by ryandesign (Ryan Schmidt)

Summary: mysql5-devel: update to 5.5.5-m3mysql5-devel: update to latest version

comment:17 Changed 8 years ago by quest@…

Seems those portfiles were satisfactory? Any ETA on when this will be updated in the main repo?

comment:18 Changed 8 years ago by ryandesign (Ryan Schmidt)

I have not had a chance to look at them yet, but intend to very soon.

comment:19 in reply to:  18 Changed 8 years ago by quest@…

Sounds good, will keep my eyes open for updates.

comment:20 Changed 8 years ago by quest@…

Just a heads up, I also added percona ports to that repo. Last time I tried to submit a port it took months, can we get these added as well? If you don't want to maintain them, I can do that =)

comment:21 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Quest, I'm building your percona ports.

comment:22 Changed 8 years ago by ryandesign (Ryan Schmidt)

Please create a new ticket for the percona ports. This ticket is about updating mysql5-devel.

Your mysql5-devel does build for me; I'm now checking if all the questions I had left in my previous patch above have been answered.

comment:23 Changed 8 years ago by quest@…

Very odd, I have had several users have no problems. What exact error you seeing ryandesign? I have built it successfully on multiple machines, and seen it installed successfully on several coworker laptops...

Also pixilla you have success with those percona ports?

comment:24 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Lets use ticket #29499 to converse about percona.

comment:25 in reply to:  23 Changed 8 years ago by ryandesign (Ryan Schmidt)

Replying to quest@…:

What exact error you seeing ryandesign?

I am not seeing any error. It builds fine. I have not yet tried to use it. In the old mysql5 autoconf build system, used in the mysql5 5.1.x port and the mysql5-devel port currently in the tree for version 5.5.2-m2, there are several configure arguments, patches and other port mechanics which are not present in your new port. In my patch above, I had commented these out, until I could definitively determine whether they were still needed, and if so, how to translate them to the new cmake build system now used in the current mysql5 5.5.x. If you have already made that determination for all or some of them, let me know.

comment:26 Changed 8 years ago by quest@…

ryandesign, I looked at the older patches and they are no longer necessary with the new build system.

comment:27 Changed 8 years ago by quest@…

Been a while now... any word on this being updated?

comment:28 Changed 8 years ago by echosa@…

Cc: echosa@… added

Cc Me!

comment:29 in reply to:  28 Changed 8 years ago by echosa@…

I'm curious about this as well. I ended up installing the DMG for 5.5.16 from mysql because of http://bugs.mysql.com/bug.php?id=55222 but I'll probably revert back to using the macports install once the version has been updated to at least 5.5.9.

comment:30 Changed 7 years ago by quest@…

Attaching portfiles that work to build 5.5.18 client and server. Hopefully they accept them. I have also submitted Percona ports of 5.5.x however it's been over 6 months and they still haven't accepted them. If you search, you can find portfiles for those as well.

comment:31 Changed 7 years ago by quest@…

Actually here they are:

Changed 7 years ago by quest@…

Attachment: Portfile.2 added

Portfile for mysql-server-devel 5.5.18

Changed 7 years ago by quest@…

Attachment: Portfile added

Updated mysql5-devel Portfile with mariadb conflict.

comment:32 Changed 7 years ago by austinmills@…

Can we get this included? We've recently moved to percona 5.5 up at work and it would be nice to have all of our developers move to 5.5 via ports. It looks like it's been pending for quite a while...

comment:33 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: pirukire@… added

Has duplicate #32653.

Bradley sent me a patch by email to update mysql5-devel, which I intend to evaluate and apply.

comment:34 Changed 7 years ago by ryandesign (Ryan Schmidt)

Bradley has committed his work as the mysql55 and mysql55-server ports in his tree in his users directory in r88414; thanks Bradley (although it would have been good if you had used "svn cp" to copy the existing mysql5-devel port, so that the history would have been preserved). The final mysql55 port will be the ultimate resolution of this ticket.

comment:35 Changed 5 years ago by mojca (Mojca Miklavec)

Resolution: wontfix
Status: assignedclosed

I'm closing this ticket given that mysql5-devel is declared obsolete. (I guess that nobody noticed this ticket when obsoleting the port.)

Note: See TracTickets for help on using tickets.