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
I had the same problem, but it emerged fine by adding -tcpd to USE. Of course, I'd like to have it emerge with tcpd.
mysql-3.23.51-r3.ebuild works with the following fix on line 48: # patch -p1 < ${FILESDIR}/mysql-3.23.51-tcpd.patch || die has to be changed to: patch -p1 < ${FILESDIR}/mysql-3.23.51-tcpd.patch || die Seems this problem wasn't fixed by upstream. Compiling with gcc3.1.
I already have tcpd in use, but it doesn't emerge anyway...
Please give -r4 a try -- just did a CVS commit.
r4 works with tcpd for me now
Now it works for me too...
Alright. I wrote that patch myself. It was easy enough, but still, it's a little disheartening to see what's gone on with it. I've had this happen to me before; developers dropping other developers patches. I clearly named it with "3.23.51" in the filename. I had a clear ChangeLog entry for this patch. Let me say I've written most of this ebuild, and taken pains to make sure its an easy-to-maintain one, for myself, but also for *any* developer interested in helping. But all kidding aside now, the flailing around with it of late has been a little cheesy, dont we think? I wrote this patch on June 22. Then on 25 Jul 2002: 25 Jul 2002; Ryan Phillips <rphillips@gentoo.org> mysql-3.23.51-r2.ebuild : The -tcpd- patch appears to have been fixed upstream. It has been removed from the ebuild the patch was removed from the same version, mysql-3.23.51. WHY? how exactly is "mysql-3.23.51-r2.ebuild" 'upstream' from my commit of 3.23.51? then on july 28, we get: 28 Jul 2002; Jon Nelson <jnelson@gentoo.org> mysql-3.23.51-r4.ebuild: Add back in the tcpd patch -- seems to cause compile failure --- My patch has been flip-flopped in the stable ebuild release. Then we had a glitch with an initscript. Now, I figure I could post to the public mailing lists, and bitch and complain, and trash the people making mistakes, but that sounds pretty lame to me. Instead, a little gripe here will satisfy my urges ;) I hope we can step a little less on each other's toes, and co-operate a little better in the future? Donny
This bug should be closed, because apparently its no longer a problem.