Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254916 - dev-scheme/bigloo-3.2a - Clib/cports.c:1956: error: expected expression before ‘->’ token
Summary: dev-scheme/bigloo-3.2a - Clib/cports.c:1956: error: expected expression befor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 00:32 UTC by Steve L
Modified: 2009-02-02 17:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve L 2009-01-14 00:32:53 UTC
Filing this as hkBst asked me to (he's seen the full log) Relevant part of build log:
objs/class_s/bigloo/runtime/Lalr
objs/class_s/bigloo/runtime/Match
objs/class_s/bigloo/runtime/Pp
gcc  -I/var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/lib/3.2a -march=pentium4 -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/gc -c Clib/csymbol.c -o .-csymbol.o && \
        mv .-csymbol.o objs/obj_u/Clib/csymbol.o
objs/class_s/bigloo/runtime/Read
objs/class_s/bigloo/runtime/Unsafe
gcc  -I/var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/lib/3.2a -march=pentium4 -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/gc -c Clib/cvector.c -o .-cvector.o && \
        mv .-cvector.o objs/obj_u/Clib/cvector.o
objs/class_p/bigloo/runtime
objs/class_p/bigloo/runtime/Jlib
Clib/cports.c: In function ‘bgl_sendchars’:
Clib/cports.c:1956: error: expected expression before ‘->’ token
Clib/cports.c: In function ‘bgl_sendfile’:
Clib/cports.c:2037: error: expected expression before ‘->’ token
Clib/cports.c: In function ‘bgl_sendchars’:
Clib/cports.c:2059: error: invalid storage class for function ‘strwrite’
Clib/cports.c:2085: error: invalid storage class for function ‘procwrite’
Clib/cports.c:2111: error: invalid storage class for function ‘procflush’
Clib/cports.c:2173: error: expected declaration or statement at end of input
make[3]: *** [objs/obj_u/Clib/cports.o] Error 1

Reproducible: Always




Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Tue, 13 Jan 2009 07:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.cs.nctu.edu.tw/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds S3TC a52 aac acl acpi addbookmarks amr aotuv apache2 audiofile automount bash-completion beep binary-drivers bindist bittorrent bluetooth branding bzip2 cdda cddb cdparanoia cdr cgi chardet chroot clamav cli colordiff cracklib crypt css ctype cups dba dbus dedicated dga dri dv dvd dvdr dvdread eckb1 ecmark ecmark2 ecmark3 ecmg2 ecsteve ecsteve2 editor encode examples fame fat fbcon fbsplash ffmpeg flac flash foomaticdb fortran fuse gd gdbm gif gpm gs hal hfs hpn iconv ieee1394 imagemagick imap isdnlog jabber java javascript jfs jingle john jpeg jpeg2k lame libvisual libwww lm_sensors logitech-mouse logrotate lzo mad maildir mailman max-idx-128 maya-shaderlibrary mbrola midi mjpeg mmx mng mp3 mp4 mpeg mpeg2 mpm-prefork mudflap multiuser mysql mysqli ncurses network nls nokia6600 nptl nptlonly ntfs ntlm nvidia objc objc++ objc-gc odk offensive opengl openmp openssh openssl pam pcre perl php png pop pop3d python qt-static qt3 qt4 rar readline reflection rtc samba sasl screen server session sharedext slang slp sndfile sox speex spell spl sql sse sse2 ssl statistics svg svga swat sysfs syslog tagwriting tcpd tga thesaurus tiff tk tokenizer transcode truetype unicode usb vhosts vim-with-x wavpack win32codecs winbind x86 xfs xml xmlreader xmlwriter xpm xvnc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2009-01-15 17:55:52 UTC
which use flags? is the error reproduceable?
Comment 2 Steve L 2009-01-29 05:27:23 UTC
I've been on this with hkBst online, we tracked error down, needs a dep on boehm-gc 7+ (7.1 wfm)

hk: also requires -j1 in src_install which only showed up on the xeon host.
Obvious parallel error:
make[1]: Entering directory `/var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/comptime'
if [ /usr/bin != /var/tmp/portage/dev-scheme/bigloo-3.2a/work/bigloo3.2a/bin ]; then \
           if [ ! -d /var/tmp/portage/dev-scheme/bigloo-3.2a/image//usr/bin ]; then \
             mkdir -p /var/tmp/portage/dev-scheme/bigloo-3.2a/image//usr/bin; chmod a+rx /var/tmp/portage/dev-scheme/bigloo-3.2a/image//usr/bin || exit 1; \
           fi; \
...
/bin/sh: line 1: cd: /var/tmp/portage/dev-scheme/bigloo-3.2a/image//usr/bin: No such file or directory

I'll leave it you to close once the fix is in-tree. Thanks for your time, man.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2009-02-02 17:01:46 UTC
Alright, fixed. Thanks for playing :)