Gentoo Archives: gentoo-science

From: "Matías Graña" <matiasg@××××××.ar>
To: gentoo science Mailing List <gentoo-science@l.g.o>
Subject: [gentoo-science] scilab compile error
Date: Tue, 05 Feb 2008 16:57:28
Message-Id: 20080205165718.GA23793@dm.uba.ar
1 hi!
2 Though scilab does not belong to science overlay, I thought someone here
3 could help me with this issue. I couldn't emerge scilab. Tried both 4.0
4 and 4.1.2.
5
6 As asked by the emerge failing:
7 GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
8 JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
9
10 result of emerge --info at the end
11
12 Here is the end of the log:
13
14 [....]
15 lpvmgen.c:(.text+0x9c1d): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
16 lpvmgen.c:(.text+0x9c14): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
17 cp pvmgroups ../../bin/LINUX
18 cp libgpvm3.a ../../lib/LINUX
19 case xt in xt ) echo ranlib; ranlib ../../lib/LINUX/libgpvm3.a ;; esac
20 ranlib
21 cp pvmgs ../../lib/LINUX
22 make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3/pvmgs/LINUX'
23 done building group server and library
24 make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3'
25 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3'
26 making all in routines/Javasci...
27 make[1]: Entering directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci'
28 make[2]: Entering directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci/classes'
29 make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci/classes'
30 gcc -march=i686 -O2 -pipe -mmmx -msse -m3dnow `pkg-config gtk+-2.0 --cflags` -fPIC -I/usr/include -I/usr/include/linux -c -o javasci_SciStringArray.o javasci_SciStringArray.c
31 In file included from /usr/include/_G_config.h:44,
32 from /usr/include/libio.h:32,
33 from /usr/include/stdio.h:75,
34 from javasci_globals.h:8,
35 from javasci_SciStringArray.h:7,
36 from javasci_SciStringArray.c:1:
37 /usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
38 /usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
39 /usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
40 /usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
41 In file included from /usr/include/stdio.h:75,
42 from javasci_globals.h:8,
43 from javasci_SciStringArray.h:7,
44 from javasci_SciStringArray.c:1:
45 /usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
46 /usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
47 /usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
48 /usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
49 In file included from javasci_globals.h:8,
50 from javasci_SciStringArray.h:7,
51 from javasci_SciStringArray.c:1:
52 /usr/include/stdio.h:312: error: expected declaration specifiers or '...' before 'size_t'
53 /usr/include/stdio.h:319: error: expected declaration specifiers or '...' before 'size_t'
54 /usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
55 /usr/include/stdio.h:363: error: format string argument not a string type
56 /usr/include/stdio.h:365: error: expected declaration specifiers or '...' before 'size_t'
57 /usr/include/stdio.h:614: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
58 /usr/include/stdio.h:620: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
59 /usr/include/stdio.h:642: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
60 /usr/include/stdio.h:644: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
61 In file included from javasci_globals.h:9,
62 from javasci_SciStringArray.h:7,
63 from javasci_SciStringArray.c:1:
64 /usr/include/string.h:39: error: expected declaration specifiers or '...' before 'size_t'
65 /usr/include/string.h:43: error: expected declaration specifiers or '...' before 'size_t'
66 /usr/include/string.h:52: error: expected declaration specifiers or '...' before 'size_t'
67 /usr/include/string.h:59: error: expected declaration specifiers or '...' before 'size_t'
68 /usr/include/string.h:62: error: expected declaration specifiers or '...' before 'size_t'
69 /usr/include/string.h:66: error: expected declaration specifiers or '...' before 'size_t'
70 /usr/include/string.h:88: error: expected declaration specifiers or '...' before 'size_t'
71 /usr/include/string.h:96: error: expected declaration specifiers or '...' before 'size_t'
72 /usr/include/string.h:102: error: expected declaration specifiers or '...' before 'size_t'
73 /usr/include/string.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm'
74 /usr/include/string.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
75 /usr/include/string.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
76 /usr/include/string.h:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
77 /usr/include/string.h:270: error: expected declaration specifiers or '...' before 'size_t'
78 /usr/include/string.h:294: error: expected declaration specifiers or '...' before 'size_t'
79 /usr/include/string.h:298: error: expected declaration specifiers or '...' before 'size_t'
80 /usr/include/string.h:302: error: expected declaration specifiers or '...' before 'size_t'
81 /usr/include/string.h:305: error: expected declaration specifiers or '...' before 'size_t'
82 /usr/include/string.h:335: error: expected declaration specifiers or '...' before 'size_t'
83 In file included from /usr/include/string.h:423,
84 from javasci_globals.h:9,
85 from javasci_SciStringArray.h:7,
86 from javasci_SciStringArray.c:1:
87 /usr/include/bits/string2.h:969: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'
88 /usr/include/bits/string2.h:971: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'
89 /usr/include/bits/string2.h:979: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'
90 /usr/include/bits/string2.h:982: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'
91 /usr/include/bits/string2.h:991: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'
92 /usr/include/bits/string2.h:994: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'
93 /usr/include/bits/string2.h:1045: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'
94 /usr/include/bits/string2.h:1047: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'
95 /usr/include/bits/string2.h:1056: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'
96 /usr/include/bits/string2.h:1059: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'
97 /usr/include/bits/string2.h:1068: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'
98 /usr/include/bits/string2.h:1071: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'
99 /usr/include/bits/string2.h: In function '__strpbrk_c2':
100 /usr/include/bits/string2.h:1129: error: 'size_t' undeclared (first use in this function)
101 /usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once
102 /usr/include/bits/string2.h:1129: error: for each function it appears in.)
103 /usr/include/bits/string2.h:1129: error: expected ';' before '__s'
104 /usr/include/bits/string2.h: In function '__strpbrk_c3':
105 /usr/include/bits/string2.h:1142: error: 'size_t' undeclared (first use in this function)
106 /usr/include/bits/string2.h:1142: error: expected ';' before '__s'
107 In file included from /usr/include/bits/string2.h:1299,
108 from /usr/include/string.h:423,
109 from javasci_globals.h:9,
110 from javasci_SciStringArray.h:7,
111 from javasci_SciStringArray.c:1:
112 /usr/include/stdlib.h: At top level:
113 /usr/include/stdlib.h:589: error: expected ')' before '__size'
114 /usr/include/stdlib.h:591: error: expected ')' before '__nmemb'
115 In file included from /usr/include/string.h:423,
116 from javasci_globals.h:9,
117 from javasci_SciStringArray.h:7,
118 from javasci_SciStringArray.c:1:
119 /usr/include/bits/string2.h:1323: error: expected declaration specifiers or '...' before 'size_t'
120 In file included from ../graphics/Math.h:15,
121 from ../stack-c.h:8,
122 from javasci_globals.h:16,
123 from javasci_SciStringArray.h:7,
124 from javasci_SciStringArray.c:1:
125 /usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
126 In file included from /usr/include/linux/time.h:2,
127 from /usr/include/linux/time.h:2,
128 from /usr/include/linux/time.h:2,
129 [this line repeated several times]
130 from /usr/include/sys/types.h:133,
131 from /usr/include/stdlib.h:438,
132 from ../graphics/Math.h:15,
133 from ../stack-c.h:8,
134 from javasci_globals.h:16,
135 from javasci_SciStringArray.h:7,
136 from javasci_SciStringArray.c:1:
137 /usr/include/linux/time.h:2:19: error: #include nested too deeply
138 /usr/include/linux/time.h:3:23: error: #include nested too deeply
139 In file included from /usr/include/linux/time.h:3,
140 from /usr/include/linux/time.h:2,
141 from /usr/include/linux/time.h:2,
142 [this line repeated several times]
143 from /usr/include/sys/types.h:133,
144 from /usr/include/stdlib.h:438,
145 from ../graphics/Math.h:15,
146 from ../stack-c.h:8,
147 from javasci_globals.h:16,
148 from javasci_SciStringArray.h:7,
149 from javasci_SciStringArray.c:1:
150 /usr/include/sys/time.h:23:22: error: #include nested too deeply
151 /usr/include/sys/time.h:25:24: error: #include nested too deeply
152 /usr/include/sys/time.h:27:18: error: #include nested too deeply
153 /usr/include/sys/time.h:29:23: error: #include nested too deeply
154 /usr/include/sys/time.h:31:24: error: #include nested too deeply
155 In file included from /usr/include/linux/time.h:3,
156 from /usr/include/linux/time.h:2,
157 from /usr/include/linux/time.h:2,
158 [once more, this line repeated several times]
159 from /usr/include/sys/types.h:133,
160 from /usr/include/stdlib.h:438,
161 from ../graphics/Math.h:15,
162 from ../stack-c.h:8,
163 from javasci_globals.h:16,
164 from javasci_SciStringArray.h:7,
165 from javasci_SciStringArray.c:1:
166 /usr/include/sys/time.h:112: error: field 'it_interval' has incomplete type
167 /usr/include/sys/time.h:114: error: field 'it_value' has incomplete type
168 /usr/include/sys/time.h:140: error: array type has incomplete element type
169 /usr/include/sys/time.h:145: error: array type has incomplete element type
170 /usr/include/sys/time.h:149: error: array type has incomplete element type
171 In file included from ../graphics/Math.h:15,
172 from ../stack-c.h:8,
173 from javasci_globals.h:16,
174 from javasci_SciStringArray.h:7,
175 from javasci_SciStringArray.c:1:
176 /usr/include/stdlib.h:455: error: expected declaration specifiers or '...' before 'size_t'
177 /usr/include/stdlib.h:485: error: expected declaration specifiers or '...' before 'size_t'
178 /usr/include/stdlib.h:487: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
179 /usr/include/stdlib.h:600: error: expected declaration specifiers or '...' before 'size_t'
180 In file included from /usr/include/stdlib.h:612,
181 from ../graphics/Math.h:15,
182 from ../stack-c.h:8,
183 from javasci_globals.h:16,
184 from javasci_SciStringArray.h:7,
185 from javasci_SciStringArray.c:1:
186 /usr/include/alloca.h:33: error: expected ')' before '__size'
187 In file included from ../graphics/Math.h:15,
188 from ../stack-c.h:8,
189 from javasci_globals.h:16,
190 from javasci_SciStringArray.h:7,
191 from javasci_SciStringArray.c:1:
192 /usr/include/stdlib.h:617: error: expected ')' before '__size'
193 /usr/include/stdlib.h:622: error: expected declaration specifiers or '...' before 'size_t'
194 /usr/include/stdlib.h:622: error: expected declaration specifiers or '...' before 'size_t'
195 /usr/include/stdlib.h:774: error: expected declaration specifiers or '...' before 'size_t'
196 /usr/include/stdlib.h:774: error: expected declaration specifiers or '...' before 'size_t'
197 /usr/include/stdlib.h:775: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
198 /usr/include/stdlib.h:779: error: expected declaration specifiers or '...' before 'size_t'
199 /usr/include/stdlib.h:779: error: expected declaration specifiers or '...' before 'size_t'
200 /usr/include/stdlib.h:780: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
201 /usr/include/stdlib.h:852: error: expected declaration specifiers or '...' before 'size_t'
202 /usr/include/stdlib.h:855: error: expected declaration specifiers or '...' before 'size_t'
203 /usr/include/stdlib.h:859: error: expected declaration specifiers or '...' before 'size_t'
204 /usr/include/stdlib.h:863: error: expected declaration specifiers or '...' before 'size_t'
205 /usr/include/stdlib.h:872: error: expected declaration specifiers or '...' before 'size_t'
206 /usr/include/stdlib.h:875: error: expected ')' before '*' token
207 /usr/include/stdlib.h:879: error: expected declaration specifiers or '...' before 'wchar_t'
208 /usr/include/stdlib.h:883: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
209 /usr/include/stdlib.h:886: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
210 javasci_SciStringArray.c: In function 'Java_javasci_SciStringArray_GetElement':
211 javasci_SciStringArray.c:69: warning: incompatible implicit declaration of built-in function 'strlen'
212 javasci_SciStringArray.c: In function 'Java_javasci_SciStringArray_SendString':
213 javasci_SciStringArray.c:104: warning: incompatible implicit declaration of built-in function 'strlen'
214 make[1]: *** [javasci_SciStringArray.o] Error 1
215 make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci'
216 make: *** [scilex-lib] Error 2
217 *
218 * ERROR: sci-mathematics/scilab-4.1.2 failed.
219 * Call stack:
220 * ebuild.sh, line 1701: Called dyn_compile
221 * ebuild.sh, line 1039: Called qa_call 'src_compile'
222 * ebuild.sh, line 44: Called src_compile
223 * scilab-4.1.2.ebuild, line 95: Called die
224 * The specific snippet of code:
225 * env HOME="${S}" emake -j1 all || die "emake failed"
226 * The die message:
227 * emake failed
228 *
229 * If you need support, post the topmost build error, and the call stack if relevant.
230 * A complete build log is located at '/var/log/portage/sci-mathematics:scilab-4.1.2:20080205-152516.log'.
231 *
232 !!! When you file a bug report, please include the following information:
233 GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
234 JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
235 and of course, the output of emerge --info
236
237
238 -------------------------------------------------------------------
239
240 % emerge --info
241
242 Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
243 =================================================================
244 System uname: 2.6.22-gentoo-r8 i686 AMD Sempron(tm) 2800+
245 Timestamp of tree: Tue, 05 Feb 2008 07:00:01 +0000
246 app-shells/bash: 3.2_p17-r1
247 dev-java/java-config: 1.3.7, 2.1.4
248 dev-lang/python: 2.4.4-r6
249 dev-python/pycrypto: 2.0.1-r6
250 sys-apps/baselayout: 1.12.10-r5
251 sys-apps/sandbox: 1.2.18.1-r2
252 sys-devel/autoconf: 2.13, 2.61-r1
253 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
254 sys-devel/binutils: 2.18-r1
255 sys-devel/gcc-config: 1.4.0-r4
256 sys-devel/libtool: 1.5.24
257 virtual/os-headers: 2.6.23-r3
258 ACCEPT_KEYWORDS="x86"
259 CBUILD="i686-pc-linux-gnu"
260 CFLAGS="-march=i686 -O2 -pipe -mmmx -msse -m3dnow"
261 CHOST="i686-pc-linux-gnu"
262 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
263 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
264 CXXFLAGS="-march=i686 -O2 -pipe -mmmx -msse -m3dnow"
265 DISTDIR="/usr/portage/distfiles"
266 FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
267 GENTOO_MIRRORS="http://mirror.exp.dc.uba.ar/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
268 LANG="en_US.utf8"
269 LC_ALL="en_US.iso-8859-1"
270 LINGUAS="en es es_AR"
271 MAKEOPTS="-j2"
272 PKGDIR="/usr/portage/packages"
273 PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
274 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
275 PORTAGE_TMPDIR="/var/tmp"
276 PORTDIR="/usr/portage"
277 PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/science /usr/local/portage"
278 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
279 USE="3dnow 3dnowext X aac acl acpi alsa apache2 apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cairo cdb cdparanoia cdr cli cracklib crypt cscope cups curl dbus doc dri dvd dvdread emboss encode exif f77 fam ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gpm graphviz gstreamer gtk gtk2 gtkhtml iconv idn imagemagick imlib ipv6 isdnlog java jpeg kde lapack lcms ldap libg++ libwww lua mad mbox midi mikmod mmx mmxext mng motif mozilla mp3 mpeg mpi mudflap mysql ncurses nls nptl nptlonly nsplugin ntpl nvidia ogg oggvorbis opengl openmp oss pam pcre pdflib perl php png pppd python qt quicktime readline recode reflection samba sdl session slang spell spl sqlite ssl svga szip tcltk tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb vim-with-x vorbis win32codecs x86 xml xorg xv xvid zlib" ALSA_CARDS="hda-intel intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_AR" USERLAND="GNU" VIDEO_CARDS="nv fbdev"
280 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
281 --
282 gentoo-science@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-science] scilab compile error Denis Dupeyron <calchan@g.o>