Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4157 - mysql-3.23.51 fails building with an aclocal error
Summary: mysql-3.23.51 fails building with an aclocal error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Jon Nelson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-25 16:26 UTC by Avi Schwartz
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avi Schwartz 2002-06-25 16:26:44 UTC
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
Comment 1 Matthew Walker 2002-06-26 00:04:49 UTC
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 .
Comment 2 Matteo Sasso 2002-06-26 06:48:33 UTC
I also experience the bug (Schwartz's version). 
Comment 3 Avi Schwartz 2002-06-26 10:35:33 UTC
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
Comment 4 Matthew Walker 2002-06-26 10:45:24 UTC
I followed Avi's lead, and unmerged xine-lib and librep, and MySQL is compiling now.
Comment 5 Jacob Perkins 2002-06-28 00:44:39 UTC
I think that this is a gimp-print-cups issue because I just had the same problem
emerging xmms
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-28 15:15:50 UTC
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.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-28 17:52:25 UTC
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.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-24 12:59:31 UTC
And ?
Comment 9 Avi Schwartz 2002-07-24 13:03:50 UTC
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?
Comment 10 Jacob Perkins 2002-07-24 17:02:28 UTC
I've been fine after following comment 3.
Comment 11 patg68 2002-07-27 11:40:35 UTC
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
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-27 11:51:14 UTC
Not the same as this bugreport ... please add another bug and assign to whoever
is the mysql maintainer.
Comment 13 Seemant Kulleen (RETIRED) gentoo-dev 2002-08-16 22:23:06 UTC
since the issue is switched to a different, one, handing to jon
Comment 14 Jon Nelson (RETIRED) 2002-08-16 22:38:47 UTC
The bug referred to in this bug report was fixed the following day (the 28th of
last month, July).