Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125192 - sci-electronics/tclspice-0.2.17 fails (gcc4)
Summary: sci-electronics/tclspice-0.2.17 fails (gcc4)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 00:56 UTC by Patrizio Bassi
Modified: 2006-07-22 12:13 UTC (History)
0 users

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


Attachments
Patch (tclspice-0.2.17-gcc-4.10.patch,993 bytes, patch)
2006-03-10 12:45 UTC, Tim Yamin (RETIRED)
Details | Diff
the emerge log (log.tar.bz2,14.70 KB, application/x-tbz)
2006-03-28 08:34 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-06 00:56:42 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include    -I/usr/include  -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -Wall  -I/usr/include -c spiceif.c
spiceif.c: In function ‘if_run’:
spiceif.c:276: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c: In function ‘spif_getparam’:
spiceif.c:538: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c:538: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c:568: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c:568: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c: In function ‘if_setparam’:
spiceif.c:601: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c:601: warning: dereferencing type-punned pointer will break strict-aliasing rules
spiceif.c: In function ‘com_loadsnap’:
spiceif.c:1170: error: invalid lvalue in assignment
spiceif.c:1170: warning: value computed is not used
spiceif.c:1170: error: invalid lvalue in assignment
spiceif.c:1178: error: invalid lvalue in assignment
spiceif.c:1178: warning: value computed is not used
spiceif.c:1178: error: invalid lvalue in assignment
make[3]: *** [spiceif.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/frontend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/frontend'
make[1]: *** [tcl-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src'
make: *** [tcl] Error 2

!!! ERROR: sci-electronics/tclspice-0.2.17 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-03-10 12:45:25 UTC
Created attachment 81867 [details, diff]
Patch

Want to try out this patch?
Comment 2 Patrizio Bassi 2006-03-11 01:59:58 UTC
compilation works....but!!!

make[4]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
make[3]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
make[2]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
/bin/sh ../mkinstalldirs /var/tmp/portage/tclspice-0.2.17/image//usr/lib /usr/share
/bin/install -c -m 644 libspice.so /var/tmp/portage/tclspice-0.2.17/image//usr/lib /usr/share
ACCESS DENIED  open_wr:   /usr/share/libspice.so
/bin/install: impossibile creare il file normale `/usr/share/libspice.so': Permission denied
/bin/install: directory `/var/tmp/portage/tclspice-0.2.17/image//usr/lib' omessa
make[1]: *** [install-tclspice] Error 1
make[1]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src'
make: *** [install-tcl] Error 2

!!! ERROR: sci-electronics/tclspice-0.2.17 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_install
  ebuild.sh, line 1067:   Called src_install

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sci-electronics_-_tclspice-0.2.17-12593.log"

open_wr:   /usr/share/libspice.so
--------------------------------------------------------------------------------


bad bad bad!
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-03-16 13:23:27 UTC
Want to try changing the src_install() in the ebuild from make DESTDIR=${D} to einstall? Also emerge info please. Thanks.
Comment 4 Patrizio Bassi 2006-03-17 02:42:16 UTC
Portage 2.1_pre6-r3 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r0, 2.6.16-rc6-git8 i686)
=================================================================
System uname: 2.6.16-rc6-git8 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css ctype cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foomaticdb force-cgi-redirect foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb memlimit mhash mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear perl php png pnp posix postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil simplexml slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales vidix vorbis win32codecs wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS
Comment 5 Patrizio Bassi 2006-03-17 03:25:37 UTC
same problem with


src_install() {
        einstall install-tcl || die
#       make DESTDIR=${D} install-tcl || die
        cd ${S}
.....

}



make[4]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
make[3]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
make[2]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice'
/bin/sh ../mkinstalldirs /usr/lib /usr/share
/bin/install -c -m 644 libspice.so /usr/lib /usr/share
ACCESS DENIED  open_wr:   /usr/share/libspice.so
/bin/install: impossibile creare il file normale `/usr/share/libspice.so': Permission denied
/bin/install: directory `/usr/lib' omessa
make[1]: *** [install-tclspice] Error 1
make[1]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src'
make: *** [install-tcl] Error 2

!!! ERROR: sci-electronics/tclspice-0.2.17 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_install
  ebuild.sh, line 1039:   Called src_install
  tclspice-0.2.17.ebuild, line 44:   Called einstall 'install-tcl'

!!! einstall failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sci-electronics_-_tclspice-0.2.17-1923.log"

open_wr:   /usr/share/libspice.so
--------------------------------------------------------------------------------


Comment 6 Tim Yamin (RETIRED) gentoo-dev 2006-03-24 10:50:55 UTC
Mind attaching the complete emerge log? Thanks.
Comment 7 Patrizio Bassi 2006-03-24 11:16:58 UTC
it's reeeeally long.

why do you need that? the problem is in the log i pasted, the in the install part...
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2006-03-24 11:23:15 UTC
Because I can't reproduce it. bzip2 it and dump it on rapidshare.de or the likes... ?
Comment 9 Patrizio Bassi 2006-03-28 08:31:37 UTC
i did:
emerge tclspice 1>&2 > log

so i could log that, but i still got something in console, like warnings and the error.

i attach the 3 log files: full log, sandbox error and the last console printed messages (others were only gcc warnings...useless)

hope you can fix that, consider that i have an older version installed.
Comment 10 Patrizio Bassi 2006-03-28 08:34:09 UTC
Created attachment 83302 [details]
the emerge log
Comment 11 Patrizio Bassi 2006-04-12 02:04:56 UTC
have you found an idea for this strange problem?
Comment 12 Mark Loeser (RETIRED) gentoo-dev 2006-04-17 07:15:48 UTC
Hardmasked pending removal.