Bug #60397 Unable to build 5.2.32 (and 5.2.33) GA on Debian Wheezy
Submitted: 8 Mar 2011 19:33 Modified: 31 May 2011 22:44
Reporter: J Chimene Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.32 GA OS:Linux (Debian Wheezy)
Assigned to: CPU Architecture:Any

[8 Mar 2011 19:33] J Chimene
Description:
Build fails during link pass
--------------
/usr/bin/ld: main_form.o: undefined reference to symbol 'scintilla_get_type'
/usr/bin/ld: note: 'scintilla_get_type' is defined in DSO /usr/lib/mysql-workbench/libwbscintilla.so.0 so try adding it to the linker command line
/usr/lib/mysql-workbench/libwbscintilla.so.0: could not read symbols: Invalid operation 

How to repeat:
DEB_BUILD_OPTIONS=debug dpkg-buildpackage -d

I'm using -d as mysqlWorkbench has had a dependency on
libmysqlclient16-dev, which is still in Debian Sid.
I've built the last two releases using the -d flag to
get around this issue. 

See more info on the forum:
http://forums.mysql.com/read.php?154,410693,410693#msg-410693
[13 Mar 2011 18:54] J Chimene
The same error appears in 5.2.33 GA
[24 May 2011 21:44] Alfredo Kojima
What version of gcc does that use?
[31 May 2011 20:05] J Chimene
gcc --version
gcc (Debian 4.5.3-1) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
[31 May 2011 20:07] J Chimene
I just tried building the 5.2.34 version.
I failed in a spectacular fashion.
I'm submitting the relevant extract of the build log as an attached file.
[31 May 2011 20:08] J Chimene
Crash of 5.2.34 GA build on Debian Wheezy

Attachment: debug.log (application/octet-stream, text), 12.28 KiB.

[31 May 2011 20:17] Alfredo Kojima
Try installing libctemplate from a Debian package before Workbench
[31 May 2011 22:17] J Chimene
Right, that seems to have addressed the issue. I'll post again with the results of the link phase
[31 May 2011 22:45] J Chimene
Closing this bug