Hi arches, please test and mark stable when successful :-) Thanks, Wolfram
sparc done.
Marked ppc stable.
>>> md5 src_uri ;-) htop-0.5.2.tar.gz >>> Unpacking source... >>> Unpacking htop-0.5.2.tar.gz to /var/tmp/portage/htop-0.5.2/work >>> Source unpacked. /usr/portage/sys-process/htop/htop-0.5.2.ebuild: line 19: RESTRICT: readonly variable >>> Test phase [enabled]: sys-process/htop-0.5.2 >>> Test phase [none]: sys-process/htop-0.5.2 >>> Install htop-0.5.2 into /var/tmp/portage/htop-0.5.2/image/ category sys-process make: *** No rule to make target `install'. Stop. !!! ERROR: sys-process/htop-0.5.2 failed. !!! Function src_install, Line 26, Exitcode 2 !!! make install failed uhm?
the build fails for me: ; htop htop: ProcessList.c:579: ProcessList_scan: Assertion `cpuid == i - 1' failed. ; uname -a Linux medicine-bow 2.6.12-gentoo-r4ewq #1 SMP Sat Jul 9 10:56:11 CDT 2005 i686 Pentium III (Coppermine) GenuineIntel ; emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-gentoo-r4ewq i686) ================================================================= System uname: 2.6.12-gentoo-r4ewq i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 6 2005, 11:11:15)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.0.4/gentoo-portage" USE="x86 X adns alsa apm arts avi berkdb bitmap-fonts blas cdr crypt cups curl debug divx4linux doc eds emboss encode esd etherreal fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 jpeg kde lapack libg++ libwww mad mhash mikmod mime mmap mmx motif mp3 mpeg ncurses nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline rtc sdl sharedmem sockets spell sse ssl svga sysfs tdkhtml threads tiff truetype truetype-fonts type1-fonts unicode vorbis wifi xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
i was trying to see if turning off debug will fix the problem. (e.g. the assert is wrong) but i get this: # USE="-debug" emerge htop Calculating dependencies ...done! >>> emerge (1 of 1) sys-process/htop-0.5.2 to / !!! Security Violation: A file exists that is not in the manifest. !!! File: alloc.txt
second emerge didn't do this. !? (In reply to comment #5) > i was trying to see if turning off debug will fix the problem. > (e.g. the assert is wrong) but i get this: > > # USE="-debug" emerge htop > Calculating dependencies ...done! > >>> emerge (1 of 1) sys-process/htop-0.5.2 to / > !!! Security Violation: A file exists that is not in the manifest. > !!! File: alloc.txt >
USE=-debug emerge htop does work. however, this is the problem with the source code: (i am not sure if this is 2.6.12 specific or not. i am not up on these things.) # diff -c ProcessList.c ProcessList.c~ *** ProcessList.c Thu Aug 18 09:26:30 2005 --- ProcessList.c~ Thu Aug 18 09:19:33 2005 *************** *** 520,526 **** void ProcessList_scan(ProcessList* this) { long int usertime, nicetime, systemtime, idletime, totaltime; - long unused; long int swapFree; FILE* status; --- 520,525 ---- *************** *** 574,582 **** } else { long int ioWait, irq, softIrq; if (i == 0) ! fscanf(status, "cpu %ld %ld %ld %ld %ld %ld %ld %ld\n", &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq, &unused); else { ! fscanf(status, "cpu%d %ld %ld %ld %ld %ld %ld %ld %ld\n", &cpuid, &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq, &unused); assert(cpuid == i - 1); } systemtime += ioWait + irq + softIrq; --- 573,581 ---- } else { long int ioWait, irq, softIrq; if (i == 0) ! fscanf(status, "cpu %ld %ld %ld %ld %ld %ld %ld\n", &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq); else { ! fscanf(status, "cpu%d %ld %ld %ld %ld %ld %ld %ld\n", &cpuid, &usertime, &nicetime, &systemtime, &idletime, &ioWait, &irq, &softIrq); assert(cpuid == i - 1); } systemtime += ioWait + irq + softIrq; (In reply to comment #4) > the build fails for me: > ; htop [...]
Should mention this works absolutely fine for me Jim Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr crypt cups curl directfb dvd dvdr dvdread eds encode esd fam foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit kde kdeenablefinal libwww lzw lzw-tiff mad mikmod mp3 mpeg mplayer msn ncurses nls nocd nvidia ogg oggvorbis opengl pam pdflib perl pic png python qt quicktime readline real ruby samba sdl spell ssl symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd vorbis xine xml2 xpm xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Also emerges fine and works here Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib alsa avi berkdb bitmap-fonts cdr crypt cups curl eds encode esd fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jpeg junit libwww lzw lzw-tiff motif mp3 mpeg ncurses nls nptl ogg opengl pam pdflib perl png postgres python qt quicktime readline sdl spell sqlite ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
sorry, this horribly breaks down here: (gdb) bt #0 (address) in *__GI_raise (sig=6) at raise.c:64 #1 (address) in *__GI_abort () at abort.c:88 #2 (address) in *__GI___assert_fail (assertion=0x410e04 "cpuid == i - 1", file=0x410c38 "ProcessList.c", line=579, function=0x514d00 "ProcessList_scan") at assert.c:83 Segmentation fault additionally, it breaks my terminal so that i can't copy/paste anymore. when i click into the window, it prints Q+#, scrolling writes similiar stuff... Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-4.0.1, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.12 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.1-r1 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-ggdb3 -pipe -march=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /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/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-ggdb3 -pipe -march=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg cache cvs debug distlocks keeptemp keepwork nostrip sandbox sfperms" GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl debug dvd eds emboss encode esd fam fat flac font-server foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hfs imagemagick imlib immqt-bc ipv6 jack java jfs jp2 jpeg kde ldap libwww lirc lzw lzw-tiff mad motif mozilla mp3 mpeg mysql ncurses network nls nptl nptlonly ntfs odbc ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline reiserfs ruby sdl slang spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xfs xml xml2 xmms xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Notified the htop developer.
Committed =sys-process/htop-0.5.3 as ~arch. According to the developer, that problem should be fixed. Please test and verify, thanks!
0.5.3 working fine just as 0.5.2 did :)
Just a thought, whoever you're asking to "test and verify" this, might be an idea to put them back in the CC :-) Jim
Sh*t! Wrong button. Re-assigning Jim
we're currently testing a new alias system, sorry for the bugspam
still fails here, but probably related to my setup :/ 0.5.2 has been stablized some time ago anyway