Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151376 - [GCC 4.1] stabilize app-shells/scsh-0.6.7
Summary: [GCC 4.1] stabilize app-shells/scsh-0.6.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc41-stable
  Show dependency tree
 
Reported: 2006-10-14 11:54 UTC by Evil Compile Person
Modified: 2006-12-01 09:05 UTC (History)
3 users (show)

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 Evil Compile Person 2006-10-14 11:54:47 UTC
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/scheme48vm.o c/scheme48vm.c
c/scheme48vm.c: In function 'enter_string':
c/scheme48vm.c:275: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48vm.c: In function 's48_define_exported_binding':
c/scheme48vm.c:1435: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48vm.c: In function 's48_get_imported_binding':
c/scheme48vm.c:1543: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48vm.c: In function 's48_restart':
c/scheme48vm.c:9496: warning: incompatible implicit declaration of built-in function 'memcpy'
c/scheme48vm.c:10215: warning: incompatible implicit declaration of built-in function 'memcpy'
c/scheme48vm.c:10233: warning: incompatible implicit declaration of built-in function 'memcpy'
c/scheme48vm.c:10461: warning: incompatible implicit declaration of built-in function 'memcpy'
c/scheme48vm.c:10588: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48vm.c: In function 's48_call_startup_procedure':
c/scheme48vm.c:10739: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48vm.c:10824: warning: incompatible implicit declaration of built-in function 'strlen'
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/scheme48heap.o c/scheme48heap.c
c/scheme48heap.c: In function 's48_check_image_header':
c/scheme48heap.c:602: warning: incompatible implicit declaration of built-in function 'strlen'
c/scheme48heap.c: In function 's48_trace_locationsB':
c/scheme48heap.c:1715: warning: incompatible implicit declaration of built-in function 'memcpy'
c/scheme48heap.c: In function 's48_trace_value':
c/scheme48heap.c:1884: warning: incompatible implicit declaration of built-in function 'memcpy'
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/extension.o c/extension.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/external.o c/external.c
c/external.c: In function 's48_enter_char':
c/external.c:952: warning: comparison is always false due to limited range of data type
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o cig/libcig.o cig/libcig.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o cig/libcig1.o cig/libcig1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/cstuff.o scsh/cstuff.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/dirstuff1.o scsh/dirstuff1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/fdports1.o scsh/fdports1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/flock1.o scsh/flock1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/machine/time_dep1.o scsh/machine/time_dep1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/signals1.o scsh/signals1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/machine/libansi.o scsh/machine/libansi.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/network1.o scsh/network1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/putenv.o scsh/putenv.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/rx/regexp1.o scsh/rx/regexp1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/sleep1.o scsh/sleep1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/syscalls1.o scsh/syscalls1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/syslog1.o scsh/syslog1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/time1.o scsh/time1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/tty1.o scsh/tty1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/userinfo1.o scsh/userinfo1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/sighandlers1.o scsh/sighandlers1.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/libscsh.o scsh/libscsh.c
scsh/libscsh.c: In function 's48_vcommand':
scsh/libscsh.c:29: warning: incompatible implicit declaration of built-in function 'exit'
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/md5.o scsh/md5.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o scsh/proc2.o scsh/proc2.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/srfi/srfi-27.o c/srfi/srfi-27.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/unix/misc.o c/unix/misc.c
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -march=i686 -pipe -o c/unix/io.o c/unix/io.c
c/unix/io.c: In function 'ps_write_integer':
c/unix/io.c:154: error: invalid storage class for function 'write_integer'
c/unix/io.c: At top level:
c/unix/io.c:171: error: conflicting types for 'write_integer'
c/unix/io.c:160: error: previous implicit declaration of 'write_integer' was here
make: *** [c/unix/io.o] Error 1

!!! ERROR: app-shells/scsh-0.6.6 failed.
Comment 1 Evil Compile Person 2006-10-14 11:55:18 UTC
Portage 2.1.2_pre2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
Last Sync: Fri, 13 Oct 2006 14:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync12.de.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Marijn Schouten (RETIRED) gentoo-dev 2006-11-05 05:13:12 UTC
these look like gcc-4 errors. Supposedly they're fixed in 0.6.7. See http://bugs.gentoo.org/show_bug.cgi?id=136964 for that.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2006-11-05 05:16:59 UTC
also can the ~amd64 keyword be removed. Apparently "The garbage collector is designed for 32 bit architectures." 0.6.7 is appropriately marked -amd64
Comment 4 Evil Compile Person 2006-11-05 07:09:54 UTC
arch teams:
amd64 please test and remove keyword if it fails.
x86 please stabilize 0.6.7, it at least compiles for me
Comment 5 Markus Meier gentoo-dev 2006-11-05 07:59:47 UTC
1. emerges on x86
2. passes collision test
3. test suite fails:
test "sockets" failed.
Wanted (303 202 101), but got (exception 145 os-error "s48_connect" 113 "No route to host").
[floatnums scheme/rts/floatnum.scm
Analyzing... no in-line procedures
]
Some tests failed.
#t

4. but seems to work

app-shells/scsh-0.6.7  USE="scsh"

Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18.1 i686)
=================================================================
System uname: 2.6.18.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 04 Nov 2006 22:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/"
LINGUAS="en de en_GB de_CH"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus divx dlloader dri dts dvd dvdr dvdread eds elibc_glibc emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_de linguas_de_CH linguas_en linguas_en_GB mad mikmod mmx mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtsp samba sdl session smp spell spl sse sse2 sse3 ssl svg tcpd test tetex theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis win32codecs wxwindows x264 xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Dustin J. Mitchell 2006-11-05 09:17:04 UTC
Fails to compile for me in any permutation (Doesn't get to the tests):

x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I./c -I./cig  -O2 -pipe -o c/unix/io.o c/unix/io.c
c/unix/io.c: In function 'ps_write_integer':
c/unix/io.c:154: error: invalid storage class for function 'write_integer'
c/unix/io.c: At top level:
c/unix/io.c:171: error: conflicting types for 'write_integer'
c/unix/io.c:160: error: previous implicit declaration of 'write_integer' was here
make: *** [c/unix/io.o] Error 1

Looking at that section of code, it's an "interesting" way to prototype a
static function.  I don't know OTOMH if it really is legal, but it seems gcc doesn't
like it.

Gentoo Base System version 1.12.5
Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r72006040301 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r72006040301 x86_64 AMD Athlon(tm) 64 Processor 3700+
Last Sync: Sat, 04 Nov 2006 23:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect confcache digest distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 7 Michael Weyershäuser 2006-11-05 09:42:26 UTC
(In reply to comment #6)
> Fails to compile for me in any permutation (Doesn't get to the tests):

Well, that's the error it all started with, I guess you were trying to emerge scsh-0.6.6 with gcc-4.1. 

(In reply to comment #4)
> arch teams:
> amd64 please test and remove keyword if it fails.
> x86 please stabilize 0.6.7, it at least compiles for me

What exactly do you want us (amd64) to test? Yes, 0.6.6 fails with gcc-4.1. No, I don't have an older gcc hanging around. No, scsh-0.6.7 isn't keyworded on amd64, so we can't drop any keywords there.

Some word of advise from the maintainer would be welcome. If this package doesn't work at all on amd64 (at least that is how i understand comment #3) feel free to drop amd64 keywords from the ebuild. From a quick look around on the packages website I couldn't get any information about this.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-06 02:59:38 UTC
Doc path is /usr/share/doc/scsh-0.6.6/, this is caused by using the same patch as version 0.6.6 which has this path hardcoded.  Please regenerate the patch and commit it.  All tests succed here, so I could stable fast.
Comment 9 Joshua Jackson (RETIRED) gentoo-dev 2006-11-06 21:35:52 UTC
x86 is stable
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-06 23:16:35 UTC
(In reply to comment #8)
> Doc path is /usr/share/doc/scsh-0.6.6/, this is caused by using the same patch
> as version 0.6.6 which has this path hardcoded.  Please regenerate the patch
> and commit it.  All tests succed here, so I could stable fast.

 With permission by Matthew I committed the regenerated patch.

Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-11-26 07:26:04 UTC
Removing amd64, no idea what are they supposed to do about -amd64 ebuild here :) Drop their keyword from 0.6.6 as stated in comment #7.

Adding ppc to CC, please stabilize 0.6.7 and close this.
Comment 12 Tobias Scherbaum (RETIRED) gentoo-dev 2006-12-01 09:05:30 UTC
ppc stable