sci-libs/root-4.02.00 will not build if USE=mysql and if dev-db/mysql-4.1.14 is installed, because this test in root/mysql/src/TMySQLServer.cxx at line 240 is wrong is wrong: #if 0 MYSQL_VERSION_ID < 50001 It ends up calling mysql_shutdown(fMySQL); However, with 4.1.14, mysql_shutdown requires two arguments, and the other branch of the #if should be used: mysql_shutdown(fMySQL,SHUTDOWN_DEFAULT); And, indeed, if you force that branch for the #if, then root/mysql/src/TMySQLServer.cxx compiles without error.
The test is: #if MYSQL_VERSION_ID < 50001 (The 0 ws left over from my crude verification of the problem: #if 0 /* MYSQL_VERSION_ID < 50001 */ ) Sorry for my typing and editing skills.
I succeeded building root-5.10.00 with mysql-4.14 on the Gentoo scientific overlay http://gentooscience.org. It also looks like they modified the test upstream.
could you test root-5 now in the main tree and report if it still does not build?
(In reply to comment #3) > could you test root-5 now in the main tree and report if it still does not > build? > Can't detect sparc architecture.--- Attempts at guessing your architecture failed. Please specify the architecture as the first argument. Do './configure --help' for a list of avaliable architectures.
Ah, I see we have two bugs in play: this one and 87305. As I recall, this one is architecture-neutral. I'll try to check it on non-sparc tomorrow.
(In reply to comment #5) > Ah, I see we have two bugs in play: this one and 87305. As I recall, this one > is architecture-neutral. I'll try to check it on non-sparc tomorrow. > Actually, this at least I can check on sparc, and now everything seems fine.
(In reply to comment #3) > could you test root-5 now in the main tree and report if it still does not > build? > This problem no longer exists for me with root-5.
Thus can be closed (or sparc removed since we don't have root-4 keyworded).