The latest version of HSC segfaults upon macro redefinition. A new version with fixes has been available upstream for quite a while (including an ebuild) but hasn't made it into the official portage tree yet. Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 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.59-r7 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-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /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/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://ibiblio.org/pub/Linux/MIRRORS.html ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://clue42.linguistik.uni-erlangen.de/gentoo-portage" USE="x86 X a52 aac accessibility acl acpi alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bindist bitmap-fonts bonobo bzip2 bzlib caps cdb cdparanoia cdr cli cpdflib crypt cscope ctype cups curl curlwrappers dba dbm dbx dga dio directfb divx4linux dlloader doc dri dv dvd dvdr dvdread eds emboss encode ethereal examples exif expat fam fbcon ffmpeg flac flatfile foomaticdb ftp gdbm gif gimpprint glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hyperwave-api iconv idea idn imagemagick imap imlib innodb iodbc ipv6 isdnlog jack java javascript jikes jpeg jpeg2k junit lcms ldap libg++ libgda libwww lm_sensors mad maildir matroska mbox mcal memlimit mikmod mime mmap mmx mng mono motif moznocompose moznoirc moznomail mp3 mpeg mpi mysql ncurses nis nls nodrm nptl nsplugin odbc offensive ogg oggvorbis openal opengl pam pcntl pcre pdf pdflib perl pic pie plotutils png posix postgres ppds pppd prelude python qt qt3 qt4 quicktime readline recode reflection ruby samba sasl sdl seamonkey session sharedmem slang slp smp sndfile snmp soap sockets speex spell spl sqlite sse ssl svg sysvipc szip tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vim-with-x vorbis win32codecs wmf wxwindows xine xinerama xml xml2 xmms xorg xosd xpm xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 92958 [details] hsc-1.0.ebuild I'm just attaching the ebuild for reference. Took it from the 1.0 tarball that I found on your website.
Some remarks on your ebuild: - DEPEND="virtual/libc" isn't needed at all. One can reasonably expect that a working gentoo system provides a libc before it needs to emerge hsc. It's like requesting gcc, it's a dependency but you don't really need to specify it in DEPEND. - don't use directly configure and make but econf and emake. - ${D} should be quoted in the call to configure, but the whole --prefix="${D}" is already in econf so should go as well. - no need to dodir all those paths in src_install, they are also taken as granted. - I don't get the comment above make install. If it does indeed use INSTDIR, why isn't is passed to make? - the pkg_postinst is useless as well. Almost all packages install some kind of doc in /usr/share/doc/${P} and it would be a big mess if they were all having this kind of pkg_postinst. Please provide an updated ebuild and I'll add it to the tree.
Created attachment 119618 [details] A working ebuild for 1.0. I just renamed the 0.999 ebuild and it worked for me. I am using it now and will report on stability later tonight.
bumped to 1.0b, thanks