Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] Help deciphering mysql update errors
Date: Fri, 06 Jun 2008 12:16:23
Message-Id: 87lk1i7o8u.fsf@newsguy.com
1 Sorry to include so much of the last of emerge output on an update of
2 mysql but not so easy to see what the real problem is.
3
4 Maybe someone here will recognize it:
5
6 Following and emerge -vuD world... at mysql:
7
8 Tail of mysql build:
9 [...]
10 ../../././bdb/dist/../mutex/mut_pthread.c:66: error: expected declaration speci
11 iers before 'DB_ENV'
12 ../../././bdb/dist/../mutex/mut_pthread.c:67: error: expected declaration speci
13 iers before 'DB_MUTEX'
14 ../../././bdb/dist/../mutex/mut_pthread.c:82: error: 'MUTEX_MPOOL' undeclared (
15 irst use in this function)
16 ../../././bdb/dist/../mutex/mut_pthread.c:82: error: (Each undeclared identifie
17 is reported only once
18 ../../././bdb/dist/../mutex/mut_pthread.c:82: error: for each function it appea
19 s in.)
20 ../../././bdb/dist/../mutex/mut_pthread.c:83: error: invalid type argument of '
21 nary *'
22 ../../././bdb/dist/../mutex/mut_pthread.c:83: warning: passing argument 1 of 'm
23 mset' makes pointer from integer without a cast
24 ../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'MUTEX_THREAD' undeclared
25 first use in this function)
26 ../../././bdb/dist/../mutex/mut_pthread.c:94: error: 'DB_ENV_PRIVATE' undeclare
27 (first use in this function)
28 ../../././bdb/dist/../mutex/mut_pthread.c:95: error: 'DB_ENV_THREAD' undeclared
29 (first use in this function)
30 ../../././bdb/dist/../mutex/mut_pthread.c:96: error: 'MUTEX_IGNORE' undeclared
31 first use in this function)
32 ../../././bdb/dist/../mutex/mut_pthread.c:187: error: invalid type argument of
33 ->'
34 ../../././bdb/dist/../mutex/mut_pthread.c:192: error: 'MUTEX_INITED' undeclared
35 (first use in this function)
36 ../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_lock
37 :
38 ../../././bdb/dist/../mutex/mut_pthread.c:208: error: expected declaration spec
39 fiers before 'DB_ENV'
40 ../../././bdb/dist/../mutex/mut_pthread.c:209: error: expected declaration spec
41 fiers before 'DB_MUTEX'
42 ../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'DB_ENV_NOLOCKING' undecl
43 red (first use in this function)
44 ../../././bdb/dist/../mutex/mut_pthread.c:214: error: 'MUTEX_IGNORE' undeclared
45 (first use in this function)
46 ../../././bdb/dist/../mutex/mut_pthread.c:218: error: invalid type argument of
47 ->'
48 ../../././bdb/dist/../mutex/mut_pthread.c:219: error: invalid type argument of
49 ->'
50 ../../././bdb/dist/../mutex/mut_pthread.c:222: error: invalid type argument of
51 ->'
52 ../../././bdb/dist/../mutex/mut_pthread.c:225: error: 'MUTEX_SELF_BLOCK' undecl
53 red (first use in this function)
54 ../../././bdb/dist/../mutex/mut_pthread.c:226: error: invalid type argument of
55 ->'
56 ../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of
57 ->'
58 ../../././bdb/dist/../mutex/mut_pthread.c:227: error: invalid type argument of
59 ->'
60 ../../././bdb/dist/../mutex/mut_pthread.c:238: error: 'EINTR' undeclared (first
61 use in this function)
62 ../../././bdb/dist/../mutex/mut_pthread.c:242: error: 'ETIMEDOUT' undeclared (f
63 rst use in this function)
64 ../../././bdb/dist/../mutex/mut_pthread.c:243: error: invalid type argument of
65 ->'
66 ../../././bdb/dist/../mutex/mut_pthread.c:249: error: invalid type argument of
67 ->'
68 ../../././bdb/dist/../mutex/mut_pthread.c:251: error: invalid type argument of
69 ->'
70 ../../././bdb/dist/../mutex/mut_pthread.c:256: error: invalid type argument of
71 ->'
72 ../../././bdb/dist/../mutex/mut_pthread.c:269: error: invalid type argument of
73 ->'
74 ../../././bdb/dist/../mutex/mut_pthread.c:270: error: 'EFAULT' undeclared (firs
75 use in this function)
76 ../../././bdb/dist/../mutex/mut_pthread.c:274: error: invalid type argument of
77 ->'
78 ../../././bdb/dist/../mutex/mut_pthread.c:275: error: invalid type argument of
79 ->'
80 ../../././bdb/dist/../mutex/mut_pthread.c:277: error: invalid type argument of
81 ->'
82 ../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of
83 ->'
84 ../../././bdb/dist/../mutex/mut_pthread.c:278: error: invalid type argument of
85 ->'
86 ../../././bdb/dist/../mutex/mut_pthread.c:280: error: invalid type argument of
87 ->'
88 ../../././bdb/dist/../mutex/mut_pthread.c:290: error: invalid type argument of
89 ->'
90 ../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_unlo
91 k':
92 ../../././bdb/dist/../mutex/mut_pthread.c:307: error: expected declaration spec
93 fiers before 'DB_ENV'
94 ../../././bdb/dist/../mutex/mut_pthread.c:308: error: expected declaration spec
95 fiers before 'DB_MUTEX'
96 ../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'DB_ENV_NOLOCKING' undecl
97 red (first use in this function)
98 ../../././bdb/dist/../mutex/mut_pthread.c:312: error: 'MUTEX_IGNORE' undeclared
99 (first use in this function)
100 ../../././bdb/dist/../mutex/mut_pthread.c:320: error: 'MUTEX_SELF_BLOCK' undecl
101 red (first use in this function)
102 ../../././bdb/dist/../mutex/mut_pthread.c:321: error: invalid type argument of
103 ->'
104 ../../././bdb/dist/../mutex/mut_pthread.c:324: error: invalid type argument of
105 ->'
106 ../../././bdb/dist/../mutex/mut_pthread.c:326: error: invalid type argument of
107 ->'
108 ../../././bdb/dist/../mutex/mut_pthread.c:330: error: invalid type argument of
109 ->'
110 ../../././bdb/dist/../mutex/mut_pthread.c:335: error: invalid type argument of
111 ->'
112 ../../././bdb/dist/../mutex/mut_pthread.c:336: error: 'EFAULT' undeclared (firs
113 use in this function)
114 ../../././bdb/dist/../mutex/mut_pthread.c: In function '__db_pthread_mutex_dest
115 oy':
116 ../../././bdb/dist/../mutex/mut_pthread.c:351: error: expected declaration spec
117 fiers before 'DB_MUTEX'
118 ../../././bdb/dist/../mutex/mut_pthread.c:355: error: 'MUTEX_IGNORE' undeclared
119 (first use in this function)
120 ../../././bdb/dist/../mutex/mut_pthread.c:358: error: invalid type argument of
121 ->'
122 make[3]: *** [mut_pthread.o] Error 1
123 make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb
124 build_unix'
125 make[2]: *** [all] Error 2
126 make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb
127 make[1]: *** [all-recursive] Error 1
128 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql'
129 make: *** [all] Error 2
130 *
131 * ERROR: dev-db/mysql-5.0.56 failed.
132 * Call stack:
133 * ebuild.sh, line 49: Called src_compile
134 * environment, line 3568: Called mysql_src_compile
135 * environment, line 3172: Called die
136 * The specific snippet of code:
137 * emake || die "emake failed";
138 make[2]: *** [all] Error 2
139 make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql/bdb'
140 make[1]: *** [all-recursive] Error 1
141 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.56/work/mysql'
142 make: *** [all] Error 2
143 *
144 * ERROR: dev-db/mysql-5.0.56 failed.
145 * Call stack:
146 * ebuild.sh, line 49: Called src_compile
147 * environment, line 3568: Called mysql_src_compile
148 * environment, line 3172: Called die
149 * The specific snippet of code:
150 * emake || die "emake failed";
151 * The die message:
152 * emake failed
153 *
154
155 --
156 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Help deciphering mysql update errors Neil Bothwick <neil@××××××××××.uk>