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.
Created attachment 81867 [details, diff] Patch Want to try out this patch?
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!
Want to try changing the src_install() in the ebuild from make DESTDIR=${D} to einstall? Also emerge info please. Thanks.
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
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 --------------------------------------------------------------------------------
Mind attaching the complete emerge log? Thanks.
it's reeeeally long. why do you need that? the problem is in the log i pasted, the in the install part...
Because I can't reproduce it. bzip2 it and dump it on rapidshare.de or the likes... ?
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.
Created attachment 83302 [details] the emerge log
have you found an idea for this strange problem?
Hardmasked pending removal.