Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272234 - dev-db/mysql-gui-tools-5.0_p14 version bump request
Summary: dev-db/mysql-gui-tools-5.0_p14 version bump request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sven Wegener
URL: http://dev.mysql.com/downloads/gui-to...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-06-02 08:49 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2010-02-15 03:05 UTC (History)
3 users (show)

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


Attachments
dev-db/mysql-gui-tools-5.0_p14 (mysql-gui-tools-5.0_p14.ebuild,3.57 KB, text/plain)
2009-06-02 11:53 UTC, Christoph Brill (egore) (RESIGNED)
Details
mysql-gui-tools-5.0_p14-deprecated-gtk+-api.patch (mysql-gui-tools-5.0_p14-deprecated-gtk+-api.patch,4.87 KB, patch)
2009-06-02 11:53 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
mysql-gui-tools-5.0_p14-gcc-4.3.patch (mysql-gui-tools-5.0_p14-gcc-4.3.patch,2.32 KB, patch)
2009-06-02 11:54 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
mysql-gui-tools-5.0_p14-libsigc++-2.2.patch (mysql-gui-tools-5.0_p14-libsigc++-2.2.patch,10.04 KB, patch)
2009-06-02 11:54 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
mysql-gui-tools-5.0_p14-lua-modules.patch (mysql-gui-tools-5.0_p14-lua-modules.patch,575 bytes, patch)
2009-06-02 11:54 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
mysql-gui-tools-5.0_p14-path-insanity.patch (mysql-gui-tools-5.0_p14-path-insanity.patch,1.69 KB, text/plain)
2009-06-02 11:55 UTC, Christoph Brill (egore) (RESIGNED)
Details
mysql-gui-tools-5.0_p14-query-browser-sps.patch (mysql-gui-tools-5.0_p14-query-browser-sps.patch,345 bytes, text/plain)
2009-06-02 11:55 UTC, Christoph Brill (egore) (RESIGNED)
Details
mysql-gui-tools-5.0_p14-weird-chars.patch (mysql-gui-tools-5.0_p14-weird-chars.patch,526 bytes, text/plain)
2009-06-02 11:56 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Brill (egore) (RESIGNED) 2009-06-02 08:49:33 UTC
Version 5.0_p14 is available while 5.0_p12 is in portage. I did not try to bump it because of the number of patches. Might try it later on.

Reproducible: Always
Comment 1 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:53:35 UTC
Created attachment 193274 [details]
dev-db/mysql-gui-tools-5.0_p14

It wasn't a lot of fun but here is an ebuild for p14. Upstream chose to rename all the paths an I think noone ever compiled it before releasing it, because many paths were still hardcoded. Man, their packaging needs a lot of love.

Nonetheless, here are the major changes:
* bump to p14
* add useflags for gtk, python, fastcgi and readline
* new feature use flag "canvas"
* forward porting of all necessary pathes (the i18n is no longer necessary)
* adaption of the new path layout
** mysql-gui-common -> common
** mysql-administrator -> administrator
** mysql-query-browser -> query-browser
* use of autoreconf to have a useful build system
* fixes from repoman

Possible things that could be done to improve the ebuild further:
* add and verify use flags for java and lua
Comment 2 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:53:53 UTC
Created attachment 193276 [details, diff]
mysql-gui-tools-5.0_p14-deprecated-gtk+-api.patch
Comment 3 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:54:25 UTC
Created attachment 193277 [details, diff]
mysql-gui-tools-5.0_p14-gcc-4.3.patch

This adds a necessary part for USE="canvas"
Comment 4 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:54:36 UTC
Created attachment 193278 [details, diff]
mysql-gui-tools-5.0_p14-libsigc++-2.2.patch
Comment 5 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:54:49 UTC
Created attachment 193280 [details, diff]
mysql-gui-tools-5.0_p14-lua-modules.patch
Comment 6 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:55:16 UTC
Created attachment 193281 [details]
mysql-gui-tools-5.0_p14-path-insanity.patch

Fix the broken buildsystem that still has the old paths hardwired.
Comment 7 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:55:26 UTC
Created attachment 193282 [details]
mysql-gui-tools-5.0_p14-query-browser-sps.patch
Comment 8 Christoph Brill (egore) (RESIGNED) 2009-06-02 11:56:08 UTC
Created attachment 193283 [details]
mysql-gui-tools-5.0_p14-weird-chars.patch

Removes some non-printable characters from the source that caused gcc to fail
Comment 9 Kfir Ozer 2009-11-12 11:59:46 UTC
fails to compile:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -I../ftgl/include -I../include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -DUSE_FONTCONFIG -D_GNU_SOURCE -O2 -pipe -march=athlon64 -fexceptions -Wall -Wall -Wno-switch-enum -Wno-switch -MT myx_gc_variant.lo -MD -MP -MF .deps/myx_gc_variant.Tpo -c myx_gc_variant.cpp  -fPIC -DPIC -o .libs/myx_gc_variant.o
myx_gc_variant.cpp: In member function 'tagGCVariant::operator std::string()':
myx_gc_variant.cpp:254: error: 'sprintf' was not declared in this scope
myx_gc_variant.cpp:266: error: 'snprintf' was not declared in this scope
make[4]: *** [myx_gc_variant.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/work/mysql-gui-tools-5.0r14/common/library/generic-canvas/source'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/work/mysql-gui-tools-5.0r14/common/library/generic-canvas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/work/mysql-gui-tools-5.0r14/common/library'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/work/mysql-gui-tools-5.0r14/common'
make: *** [all] Error 2
 * ERROR: dev-db/mysql-gui-tools-5.0_p14 failed:
 *   compile failure
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 3557:  Called gnome2_src_compile '--enable-i18n' '--enable-gtk' '--disable-php-modules' '--enable-python-modules' '--disable-fastcgi' '--enable-readline' '--enable-canvas' '--disable-java-modules' '--disable-grt'
 *   environment, line 2664:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 * 
 * If you need support, post the output of 'emerge --info =dev-db/mysql-gui-tools-5.0_p14',
 * the complete build log and the output of 'emerge -pqv =dev-db/mysql-gui-tools-5.0_p14'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/temp/environment'.
 * S: '/var/tmp/portage/dev-db/mysql-gui-tools-5.0_p14/work/mysql-gui-tools-5.0r14'

>>> Failed to emerge dev-db/mysql-gui-tools-5.0_p14, Log file:



*********** emerge --info ******************
Portage 2.1.7.4 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Thu, 12 Nov 2009 08:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 avahi bash-completion berkdb bzip2 cairo cli consolekit cracklib crypt cups dbus directfb dri ffmpeg fortran gdbm gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv ipv6 jpeg kerberos logrotate mmx modules mudflap multilib mysql ncurses netbeans nls nptl nptlonly nsplugin opengl openmp pam pcre perl php png pppd python python3 readline reflection samba sasl sdl session spl sqlite sse sse2 ssl subversion svg sysfs syslog tcpd threads tiff unicode xcb xinerama xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd dlight enterprise ergonomics groovy identity mobility php profiler" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 10 biohazrd 2009-11-26 03:23:25 UTC
I don't think the weird-chars.patch is needed any longer.  The ebuild fails to epatch it with hunk errors, after commenting out that patch in the ebuild and unpacking the package I visually inspected  myx_database_model.c and it already has the lines the patch is trying to add in the original source.

I still cannot build this package however.  Below looks like where it begins to fail:


x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/cairomm-1.0   -I/usr/include/mysql -DHAVE_ERRNO_AS_DEFINE=1 -I../../library/base-library/include -I../../library/utilities/include -I../../library/utilities/shared_include -I../../library/generic-runtime/include -I../../library/sql-parser/include -I../../library/grt-modules/include -I../../library/grt-wb-controller/include -I../../library/generic-canvas/include -I../../library/generic-canvas/ftgl/include -I.. -DDATADIRNAME=\""share"\" -DCOMMONDIRNAME=\"""\"  -D_GNU_SOURCE -D_GNU_SOURCE -D_GNU_SOURCE  -march=core2 -msse4 -O2 -pipe -fexceptions -Wall -MT MGBlobEditor.o -MD -MP -MF .deps/MGBlobEditor.Tpo -c -o MGBlobEditor.o MGBlobEditor.cc                                                                                                
MGExecSU.cc: In member function 'bool MGExecSU::run_as_current()':                                                                                     
MGExecSU.cc:265: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result                                        
MGExecSU.cc:266: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result                                        
MGExecSU.cc: In member function 'bool MGExecSU::run_as_root()':                                                                                        
MGExecSU.cc:328: warning: ignoring return value of 'int pipe(int*)', declared with attribute warn_unused_result                                        
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGConnectDialog.cc:56: warning: deprecated conversion from string constant to 'char*'                                                                  
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGPreferencesEditor.cc:68: warning: deprecated conversion from string constant to 'char*'                                                              
MGConnectDialog.cc: In member function 'void MGConnectDialog::open_connection_editor()':                                                               
MGConnectDialog.cc:662: error: 'SigC' has not been declared                                                                                            
MGConnectDialog.cc:662: error: expected ';' before 'c1'                                                                                                
MGConnectDialog.cc:664: error: 'SigC' has not been declared                                                                                            
MGConnectDialog.cc:664: error: expected ';' before 'c2'                                                                                                
MGConnectDialog.cc:670: error: 'c1' was not declared in this scope                                                                                     
MGConnectDialog.cc:671: error: 'c2' was not declared in this scope                                                                                     
MGConnectDialog.cc: In member function 'void MGConnectDialog::show_connection_failed()':                                                               
MGConnectDialog.cc:679: error: 'SigC' has not been declared                                                                                            
MGConnectDialog.cc:679: error: expected ';' before 'input_handler'                                                                                     
MGConnectDialog.cc:689: warning: deprecated conversion from string constant to 'char*'                                                                 
MGConnectDialog.cc:717: error: 'input_handler' was not declared in this scope                                                                          
MGConnectDialog.cc:752: error: 'input_handler' was not declared in this scope                                                                          
MGTableEditor.cc: In constructor 'MGTableEditor::MGTableEditor(bool)':                                                                                 
MGTableEditor.cc:206: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:207: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:208: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:209: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:210: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:211: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:212: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:213: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:214: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:215: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:229: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:230: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:231: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:241: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:242: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:243: warning: deprecated conversion from string constant to 'char*'                                                                   
MGTableEditor.cc:244: warning: deprecated conversion from string constant to 'char*'                                                                   
mv -f .deps/MGAboutPanel.Tpo .deps/MGAboutPanel.Po                                                                                                     
make[3]: *** [MGConnectDialog.o] Error 1                                                                                                               
make[3]: *** Waiting for unfinished jobs....                                                                                                           
mv -f .deps/MGGladeXML.Tpo .deps/MGGladeXML.Po                                                                                                         
mv -f .deps/MGGraphPlotter.Tpo .deps/MGGraphPlotter.Po                                                                                                 
mv -f .deps/MGFileBrowserList.Tpo .deps/MGFileBrowserList.Po                                                                                           
mv -f .deps/MGHMeterGraphPlotter.Tpo .deps/MGHMeterGraphPlotter.Po                                                                                     
mv -f .deps/MGExecSU.Tpo .deps/MGExecSU.Po 
Comment 11 Sven Wegener gentoo-dev 2010-02-14 21:36:07 UTC
dev-db/mysql-gui-tools has been package.mask'ed, because it has been discontinued by upstream. please consider using its successor dev-db/mysql-workbench.