bash-2.05a# emerge dev-db/mysql Calculating dependencies ...done! >>> emerge dev-db/mysql-3.23.51 to / >>> md5 ;-) mysql-3.23.51.tar.gz uid=60(mysql) gid=60(mysql) groups=60(mysql) >>> Unpacking source... >>> Unpacking mysql-3.23.51.tar.gz * patching for <gentoo-1.3 system (gcc-2.95.x).. patching file acinclude.m4 patching file include/nisam.h patching file scripts/mysql_install_db.sh patching file scripts/safe_mysqld.sh patching file mysys/default.c patching file sql/mysqld.cc aclocal: /usr/share/aclocal/gimpprint.m4: 698: duplicated macro `_AM_PATH_GIMPPRINT_CHECK_REGISTER_DEFAULTS' !!! ERROR: The ebuild did not complete successfully. !!! Function src_unpack, Line -5, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/dev-db/mysql/mysql-3.23.51.ebuild . bas
I get a slightly different error. See below. adamantium root # emerge --update world Calculating world dependencies ...done! >>> emerge dev-db/mysql-3.23.51 to / >>> md5 ;-) mysql-3.23.51.tar.gz uid=60(mysql) gid=60(mysql) groups=60(mysql) >>> Unpacking source... >>> Unpacking mysql-3.23.51.tar.gz patching file include/nisam.h patching file scripts/mysql_install_db.sh patching file scripts/safe_mysqld.sh patching file mysys/default.c patching file sql/mysqld.cc aclocal: /usr/share/aclocal/rep.m4: 7: duplicated macro `AM_PATH_REP' aclocal: /usr/share/aclocal/xine.m4: 29: duplicated macro `AM_PATH_XINE' !!! ERROR: The ebuild did not complete successfully. !!! Function src_unpack, Line -47, Exitcode 1 !!! (no error message) !!! emerge aborting on /usr/portage/dev-db/mysql/mysql-3.23.51.ebuild .
I also experience the bug (Schwartz's version).
Following Joao Sena Ribeiro's work around, I managed to build mySQL: # emerge unmerge gimp-print-cups ... # emerge -u mysql ... ......(builds successfully, now) ... # emerge gimp-print-cups
I followed Avi's lead, and unmerged xine-lib and librep, and MySQL is compiling now.
I think that this is a gimp-print-cups issue because I just had the same problem emerging xmms
Avi has the right idea :) Problem is that automake was broken up until a bit back (bug #3985). Basically the macros got installed into the version specific directories, and not in /usr/share/aclocal/. If you now have multiple versions (one before automake fix, and the other after) lying around, you will get this.
Ok, i did some research, and it seems the duplicate check is dropped in automake-1.5 and up. I patched aclocal, and tried to implement a cleanup functionality in pkg_preinst() for automake-1.6.1-r6. Please try it out.
And ?
Does anyone still have a problem with the ebuild? Since I managed to compile it following comment #3 I can no longer test if the fix works. Anyone else?
I've been fine after following comment 3.
Here are my error msg : /usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)': /usr/include/tcpd.h:162: too few arguments to function `void sock_host(request_info*)' mysqld.cc:2428: at this point in file /usr/include/tcpd.h:78: too few arguments to function `int hosts_access(request_info*)' mysqld.cc:2429: at this point in file /usr/include/tcpd.h:146: too few arguments to function `char* eval_client(request_info*)' mysqld.cc:2437: at this point in file make[3]: *** [mysqld.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.51-r3/work/mysql-3.23.51/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.51-r3/work/mysql-3.23.51/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.51-r3/work/mysql-3.23.51' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 85, Exitcode 2 !!! compile problem
Not the same as this bugreport ... please add another bug and assign to whoever is the mysql maintainer.
since the issue is switched to a different, one, handing to jon
The bug referred to in this bug report was fixed the following day (the 28th of last month, July).