if /bin/sh ../../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../pics -I../../../include -I/usr/include/mysql -I/usr/ qt/3/include -march=k8 -pipe -O2 -DUSE_OLD_FUNCTIONS=1 -MT mainwindowslotshutdown.lo -MD -MP -MF ".deps/mainwindowslotshutdown.Tpo" \ -c -o mainwindowslotshutdown.lo `test -f 'mainwindowslotshutdown.cxx' || echo './'`mainwindowslotshutdown.cxx; \ then mv -f ".deps/mainwindowslotshutdown.Tpo" ".deps/mainwindowslotshutdown.Plo"; \ else rm -f ".deps/mainwindowslotshutdown.Tpo"; exit 1; \ fi x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../pics -I../../../include -I/usr/include/mysql -I/usr/qt/3/include -march=k8 -pipe -O2 -DUSE_OLD _FUNCTIONS=1 -MT mainwindowslotshutdown.lo -MD -MP -MF .deps/mainwindowslotshutdown.Tpo -c mainwindowslotshutdown.cxx -fPIC -DPIC -o .libs/mainwindowslotshutdown.o In file included from mainwindow.h:22, from mainwindowslotshutdown.cxx:1: ../../../include/loglistview.h:20:7: warning: no newline at end of file mainwindowslotshutdown.cxx: In member function `void MainWindow::slot_shutdown()': /usr/include/mysql/mysql.h:469: error: too few arguments to function `int mysql_shutdown(MYSQL*, mysql_enum_shutdown_level)' mainwindowslotshutdown.cxx:12: error: at this point in file make[3]: *** [mainwindowslotshutdown.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/mysqlnavigator-1.4.2/work/mysqlnavigator-1.4.2/src/mysql/mainwindow' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysqlnavigator-1.4.2/work/mysqlnavigator-1.4.2/src/mysql' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysqlnavigator-1.4.2/work/mysqlnavigator-1.4.2/src' make: *** [install-recursive] Error 1 !!! ERROR: dev-db/mysqlnavigator-1.4.2 failed. !!! Function einstall, Line 524, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge mysqlnavigator 2. 3. Expected Results: ...for it to build correctly.... Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt curl dvd esd fam font-server fortran gif gpm gtk imlib ipv6 java jp2 jpeg kde lzw lzw-tiff mp3 mysql ncurses nls opengl oss pam perl png python qt readline ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Created attachment 63272 [details, diff] mysqlnavigator-mysql-4.1.patch patch to compile against mysql-4.1
please test the patch at comment #1 the reader may be interested in Bug #40217 too