Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431756 - dev-db/mysql-workbench-5.2.42 version bump
Summary: dev-db/mysql-workbench-5.2.42 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on: 428214
Blocks:
  Show dependency tree
 
Reported: 2012-08-17 16:13 UTC by Vasilis Lourdas
Modified: 2012-09-16 17:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to force using system libtool (mysql-workbench-5.2.43-force-system-libtool.patch,390 bytes, patch)
2012-09-16 11:12 UTC, Jakub Caban
Details | Diff
My ebuild using attached patch (mysql-workbench-5.2.43.ebuild,2.23 KB, text/plain)
2012-09-16 11:14 UTC, Jakub Caban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2012-08-17 16:13:31 UTC
It was released a few days back (this bug report was initially for 5.2.41).
Comment 1 Jakub Caban 2012-09-10 14:47:50 UTC
Can we do anything to help with this one? I've tried to simply rename ebuild in local overlay, but compilation failed and I was unable to find the cause of that.

Anyway the .40 version keeps crashing, so I am looking forward to next versions...
Comment 2 Hans de Graaff gentoo-dev Security 2012-09-10 17:35:44 UTC
Preferable we should use Gentoo's antlr-c runtime, see bug 428214.

As a second option we could use the version bundled with mysql-workbench, at least temporarily, but that does not compile. I have not had time to look at this in detail, but at least this could be reported upstream (and perhaps it already has).

Bonus points for patches that fix things :-)  My Gentoo time is limited right now so I don't know when I'll get to this. Feel free to beat me to it.
Comment 3 Hans de Graaff gentoo-dev Security 2012-09-10 17:37:32 UTC
(In reply to comment #1)

> Anyway the .40 version keeps crashing, so I am looking forward to next
> versions...

No bug?
Comment 4 Vasilis Lourdas 2012-09-10 18:07:04 UTC
(In reply to comment #3)
> (In reply to comment #1)
> 
> > Anyway the .40 version keeps crashing, so I am looking forward to next
> > versions...
> 
> No bug?

Well, it seems me to me that MySQL Workbench has had a lot of bugs lately, other minor, other major (like crashes). I wouldn't called it a (relatively) bug-free software. Version .42 had another crash issue, which I reported upstream (platform specific, Windows only) and it is fixed in the upcoming .43. Maybe we can wait for this version to bump in the tree.
Comment 5 Jakub Caban 2012-09-10 19:53:54 UTC
(In reply to comment #3)
> (In reply to comment #1)
> 
> > Anyway the .40 version keeps crashing, so I am looking forward to next
> > versions...
> 
> No bug?

Hard to track down, as those are random crashes when working on some databases (I have one on which it crashes every few queries, but couldn't ever provide test-case showing behavior).

I'll try to narrow down the building problems again, but I'm not an expert so I may fail one more time.
Comment 6 Jakub Caban 2012-09-10 20:44:24 UTC
antlr-c-3.4 seems easy to have.

Although mysql-workbench seems to be mislead by it's own configure script in this matter:

int main() { return strcmp(PACKAGE_VERSION, "3.4") >= 0; }

as far as I understand returns non-zero value when 3.4 is found, making the case exactly opposite to expected.

Unfortunately I didn't make it to fix the configure script into working one in that matter. Seems I lack expertise there :(
Comment 7 Jakub Caban 2012-09-13 17:21:02 UTC
mysql-workbench-5.2.43 - exactly the same behavior.
Comment 8 Jakub Caban 2012-09-14 11:49:17 UTC
Got it!

Upon replacing ext/antlr-runtime/libtool with system one (simply remove and copy from /usr/bin/libtool) everything compiles, installs and runs fine.

Looks like the problem is in bundled / created by configure libtool file (I have no idea how libtool works ;) ).

Now there is a question how can we fix this in ebuild? Probably moving files between system and work directory after compile phase is not possible?
Comment 9 Jakub Caban 2012-09-16 11:12:53 UTC
Created attachment 323988 [details, diff]
Patch to force using system libtool

Maybe a little dirty, but I have no expert knowledge in autoreconf etc.

Changing this one path in ext/antlr-runtime/configure makes make use system libtool instead of broken bundled one. That makes workbench build.
Comment 10 Jakub Caban 2012-09-16 11:14:03 UTC
Created attachment 323990 [details]
My ebuild using attached patch

It builds and I run it for a few days now in production situations and must say it's much more stable than 5.240 currently in tree.

I hope to get this version in the tree so everyone can benefit from it.
Comment 11 Hans de Graaff gentoo-dev Security 2012-09-16 17:23:57 UTC
(In reply to comment #8)

> Looks like the problem is in bundled / created by configure libtool file (I
> have no idea how libtool works ;) ).

I think it is partly created by configure. Thanks for digging in here. I've fixed this instead by including an eautoreconf call in the ebuild to recreate all the autotools stuff into a consistent state.

So, 5.2.43 now in CVS.
Comment 12 Jakub Caban 2012-09-16 17:40:58 UTC
You are very welcome :) It's a pleasure to help.