* [gentoo-science] scilab compile error
@ 2008-02-05 16:57 Matías Graña
2008-02-06 13:15 ` Denis Dupeyron
0 siblings, 1 reply; 2+ messages in thread
From: Matías Graña @ 2008-02-05 16:57 UTC (permalink / raw
To: gentoo science Mailing List
hi!
Though scilab does not belong to science overlay, I thought someone here
could help me with this issue. I couldn't emerge scilab. Tried both 4.0
and 4.1.2.
As asked by the emerge failing:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
result of emerge --info at the end
Here is the end of the log:
[....]
lpvmgen.c:(.text+0x9c1d): warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
lpvmgen.c:(.text+0x9c14): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
cp pvmgroups ../../bin/LINUX
cp libgpvm3.a ../../lib/LINUX
case xt in xt ) echo ranlib; ranlib ../../lib/LINUX/libgpvm3.a ;; esac
ranlib
cp pvmgs ../../lib/LINUX
make[3]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3/pvmgs/LINUX'
done building group server and library
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3'
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/pvm3'
making all in routines/Javasci...
make[1]: Entering directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci'
make[2]: Entering directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci/classes'
make[2]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci/classes'
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
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:75,
from javasci_globals.h:8,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/gconv.h:72: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:97: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before 'size_t'
In file included from /usr/include/stdio.h:75,
from javasci_globals.h:8,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/libio.h:329: error: expected specifier-qualifier-list before 'size_t'
/usr/include/libio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:370: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/libio.h:486: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
In file included from javasci_globals.h:8,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/stdio.h:312: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:319: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:361: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:363: error: format string argument not a string type
/usr/include/stdio.h:365: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdio.h:614: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
/usr/include/stdio.h:620: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
/usr/include/stdio.h:642: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
/usr/include/stdio.h:644: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
In file included from javasci_globals.h:9,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/string.h:39: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:43: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:52: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:59: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:62: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:66: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:88: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:96: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:102: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm'
/usr/include/string.h:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn'
/usr/include/string.h:188: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn'
/usr/include/string.h:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen'
/usr/include/string.h:270: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:294: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:298: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:302: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:305: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/string.h:335: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/string.h:423,
from javasci_globals.h:9,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/bits/string2.h:969: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'
/usr/include/bits/string2.h:971: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c1'
/usr/include/bits/string2.h:979: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'
/usr/include/bits/string2.h:982: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c2'
/usr/include/bits/string2.h:991: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'
/usr/include/bits/string2.h:994: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strcspn_c3'
/usr/include/bits/string2.h:1045: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'
/usr/include/bits/string2.h:1047: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c1'
/usr/include/bits/string2.h:1056: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'
/usr/include/bits/string2.h:1059: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c2'
/usr/include/bits/string2.h:1068: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'
/usr/include/bits/string2.h:1071: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__strspn_c3'
/usr/include/bits/string2.h: In function '__strpbrk_c2':
/usr/include/bits/string2.h:1129: error: 'size_t' undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:1129: error: for each function it appears in.)
/usr/include/bits/string2.h:1129: error: expected ';' before '__s'
/usr/include/bits/string2.h: In function '__strpbrk_c3':
/usr/include/bits/string2.h:1142: error: 'size_t' undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ';' before '__s'
In file included from /usr/include/bits/string2.h:1299,
from /usr/include/string.h:423,
from javasci_globals.h:9,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:589: error: expected ')' before '__size'
/usr/include/stdlib.h:591: error: expected ')' before '__nmemb'
In file included from /usr/include/string.h:423,
from javasci_globals.h:9,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/bits/string2.h:1323: error: expected declaration specifiers or '...' before 'size_t'
In file included from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
In file included from /usr/include/linux/time.h:2,
from /usr/include/linux/time.h:2,
from /usr/include/linux/time.h:2,
[this line repeated several times]
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:438,
from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/linux/time.h:2:19: error: #include nested too deeply
/usr/include/linux/time.h:3:23: error: #include nested too deeply
In file included from /usr/include/linux/time.h:3,
from /usr/include/linux/time.h:2,
from /usr/include/linux/time.h:2,
[this line repeated several times]
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:438,
from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/sys/time.h:23:22: error: #include nested too deeply
/usr/include/sys/time.h:25:24: error: #include nested too deeply
/usr/include/sys/time.h:27:18: error: #include nested too deeply
/usr/include/sys/time.h:29:23: error: #include nested too deeply
/usr/include/sys/time.h:31:24: error: #include nested too deeply
In file included from /usr/include/linux/time.h:3,
from /usr/include/linux/time.h:2,
from /usr/include/linux/time.h:2,
[once more, this line repeated several times]
from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:438,
from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/sys/time.h:112: error: field 'it_interval' has incomplete type
/usr/include/sys/time.h:114: error: field 'it_value' has incomplete type
/usr/include/sys/time.h:140: error: array type has incomplete element type
/usr/include/sys/time.h:145: error: array type has incomplete element type
/usr/include/sys/time.h:149: error: array type has incomplete element type
In file included from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/stdlib.h:455: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:485: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:487: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:600: error: expected declaration specifiers or '...' before 'size_t'
In file included from /usr/include/stdlib.h:612,
from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/alloca.h:33: error: expected ')' before '__size'
In file included from ../graphics/Math.h:15,
from ../stack-c.h:8,
from javasci_globals.h:16,
from javasci_SciStringArray.h:7,
from javasci_SciStringArray.c:1:
/usr/include/stdlib.h:617: error: expected ')' before '__size'
/usr/include/stdlib.h:622: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:622: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:774: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:774: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:775: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
/usr/include/stdlib.h:779: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:779: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:780: error: nonnull argument with out-of-range operand number (argument 1, operand 4)
/usr/include/stdlib.h:852: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:855: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:859: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:863: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:872: error: expected declaration specifiers or '...' before 'size_t'
/usr/include/stdlib.h:875: error: expected ')' before '*' token
/usr/include/stdlib.h:879: error: expected declaration specifiers or '...' before 'wchar_t'
/usr/include/stdlib.h:883: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
/usr/include/stdlib.h:886: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
javasci_SciStringArray.c: In function 'Java_javasci_SciStringArray_GetElement':
javasci_SciStringArray.c:69: warning: incompatible implicit declaration of built-in function 'strlen'
javasci_SciStringArray.c: In function 'Java_javasci_SciStringArray_SendString':
javasci_SciStringArray.c:104: warning: incompatible implicit declaration of built-in function 'strlen'
make[1]: *** [javasci_SciStringArray.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-4.1.2/work/scilab-4.1.2/routines/Javasci'
make: *** [scilex-lib] Error 2
*
* ERROR: sci-mathematics/scilab-4.1.2 failed.
* Call stack:
* ebuild.sh, line 1701: Called dyn_compile
* ebuild.sh, line 1039: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* scilab-4.1.2.ebuild, line 95: Called die
* The specific snippet of code:
* env HOME="${S}" emake -j1 all || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/sci-mathematics:scilab-4.1.2:20080205-152516.log'.
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
-------------------------------------------------------------------
% emerge --info
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)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 AMD Sempron(tm) 2800+
Timestamp of tree: Tue, 05 Feb 2008 07:00:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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"
CXXFLAGS="-march=i686 -O2 -pipe -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.exp.dc.uba.ar/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.iso-8859-1"
LINGUAS="en es es_AR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
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-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
--
gentoo-science@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-science] scilab compile error
2008-02-05 16:57 [gentoo-science] scilab compile error Matías Graña
@ 2008-02-06 13:15 ` Denis Dupeyron
0 siblings, 0 replies; 2+ messages in thread
From: Denis Dupeyron @ 2008-02-06 13:15 UTC (permalink / raw
To: gentoo-science
On Feb 5, 2008 5:57 PM, Matías Graña <matiasg@dm.uba.ar> wrote:
> Though scilab does not belong to science overlay, I thought someone here
> could help me with this issue. I couldn't emerge scilab. Tried both 4.0
> and 4.1.2.
It would be better if you filed a bug in our bugzilla at
http://bugs.gentoo.org. You would probably get more attention there
and it would help us track it in a better way.
Denis.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-06 13:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 16:57 [gentoo-science] scilab compile error Matías Graña
2008-02-06 13:15 ` Denis Dupeyron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox