Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Help deciphering mysql update errors (http://www.linux-archive.org/gentoo-user/101864-help-deciphering-mysql-update-errors.html)

06-06-2008 12:16 PM

Help deciphering mysql update errors
 
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

Neil Bothwick 06-06-2008 12:20 PM

Help deciphering mysql update errors
 
On Fri, 06 Jun 2008 07:16:01 -0500, reader@newsguy.com wrote:

> 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.

emerge with USE="-berkdb". There's a bugzilla report on this.


--
Neil Bothwick

"What is about L'waxana Troi that makes me melt." * Odo


All times are GMT. The time now is 04:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.