Sorry to include so much of the last of emerge output on an update of
mysql but not so easy to see what the real problem is.

Maybe someone here will recognize it:

Following and emerge -vuD world... at mysql:

Tail of mysql build:
[...]
../../././bdb/dist/../mutex/mut_pthread.c:66: error: expected declaration speci
iers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:67: error: expected declaration speci
iers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:82: error: 'MUTEX_MPOOL' undeclared (
irst use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:82: error: (Each undeclared identifie
 is reported only once
../../././bdb/dist/../mutex/mut_pthread.c:82: error: for each function it appea
s in.)
../../././bdb/dist/../mutex/mut_pthread.c:83: error: invalid type argument of '
nary *'
../../././bdb/dist/../mutex/mut_pthread.c:83: warning: passing argument 1 of 'm
mset' makes pointer from integer without a cast
../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'MUTEX_THREAD' undeclared 
first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'DB_ENV_PRIVATE' undeclare
 (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:95: error: 'DB_ENV_THREAD' undeclared
(first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:96: error: 'MUTEX_IGNORE' undeclared 
first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:187: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:192: error: 'MUTEX_INITED' undeclared
(first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_lock
:
../../././bdb/dist/../mutex/mut_pthread.c:208: error: expected declaration spec
fiers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:209: error: expected declaration spec
fiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'DB_ENV_NOLOCKING' undecl
red (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'MUTEX_IGNORE' undeclared
(first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:218: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:219: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:222: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:225: error: 'MUTEX_SELF_BLOCK' undecl
red (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:226: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:238: error: 'EINTR' undeclared (first
use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:242: error: 'ETIMEDOUT' undeclared (f
rst use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:243: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:249: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:251: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:256: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:269: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:270: error: 'EFAULT' undeclared (firs
 use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:274: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:275: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:277: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:280: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:290: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_unlo
k':
../../././bdb/dist/../mutex/mut_pthread.c:307: error: expected declaration spec
fiers before 'DB_ENV'
../../././bdb/dist/../mutex/mut_pthread.c:308: error: expected declaration spec
fiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'DB_ENV_NOLOCKING' undecl
red (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'MUTEX_IGNORE' undeclared
(first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:320: error: 'MUTEX_SELF_BLOCK' undecl
red (first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:321: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:324: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:326: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:330: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:335: error: invalid type argument of 
->'
../../././bdb/dist/../mutex/mut_pthread.c:336: error: 'EFAULT' undeclared (firs
 use in this function)
../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_dest
oy':
../../././bdb/dist/../mutex/mut_pthread.c:351: error: expected declaration spec
fiers before 'DB_MUTEX'
../../././bdb/dist/../mutex/mut_pthread.c:355: error: 'MUTEX_IGNORE' undeclared
(first use in this function)
../../././bdb/dist/../mutex/mut_pthread.c:358: error: invalid type argument of 
->'
make[3]: *** [mut_pthread.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb
build_unix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql'
make: *** [all] Error 2
 * 
 * ERROR: dev-db/mysql-5.0.56 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3568:  Called mysql_src_compile
 *             environment, line 3172:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql'
make: *** [all] Error 2
 * 
 * ERROR: dev-db/mysql-5.0.56 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3568:  Called mysql_src_compile
 *             environment, line 3172:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 *  The die message:
 *   emake failed
 * 

-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to