| Summary: | media-graphviz-2.12 fails due to ruby related errors | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Josh Nichols (RETIRED) <nichoj> |
| Component: | New packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kentnl, ruby |
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Josh Nichols (RETIRED)
2007-06-19 00:20:44 UTC
Looks like its a deal with a more recent ruby( or a more recent kernel/linux-headers ) . I had this version compile fine before now, but was recompiling it in order to migrate to python2.5 (which I don't think is the issue). ( Please Report your ruby versions here, ill try downgrade ruby to a last-known-worked and see if it fixes something, if that fails, ill blame linux-headers. If its of any potential use, the last successful graphviz install of that version happened 2007-04-25. Graphviz USE flags: X doc examples -gnome gtk nls pango perl python ruby -tcl -tk Ruby USE flags: -debug doc examples ipv6 -rubytests socks5 threads -tk #ruby -v ruby 1.8.6 (2007-06-07 patchlevel 36) [i686-linux] Indicative Common Factors In emerge --info Common Factors: Portage Version GCC GLIBC BASE SYSTEM HAS java-config - 1.3.7 HAS python - 2.4.4-r4 PYCRPYTO SANDBOX AUTOCONF AUTOMAKE BINUTILS LIBTOOL OS-HEADERS Both have compiled with debug & O2 ::: Emerge --info follows ::: Portage 2.1.3_rc3 (default-linux/x86/2007.0, gcc-4.1.X/default, glibc-2.5-r3, 2.6.21-gentookz i686) ================================================================= System uname: 2.6.21-gentookz i686 AMD Athlon(TM) XP 2000+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 16 Jun 2007 18:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.6-r2, 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3" DISTDIR="/mnt/fission/distfiles/distfiles" FEATURES="autoaddcvs cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_AU.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1,-z,combreloc,--sort-common,--enable-new-dtags" LINGUAS="en_NZ en_GB en en_US" MAKEOPTS="-j1" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/mysql-testing /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/enlightenment /usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/toolchain /usr/local/portage /usr/src/musicbrainz-overlay_svn /usr/src/xgl/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Demon Found! Graphvis compiles fine with ruby-1.8.6-r1. Notable changes in intern.h since previous stable-x86 diff 1.8.6-r1/usr/lib/ruby/1.8/i686-linux/intern.h 1.8.6_p36/usr/lib/ruby/1.8/i686-linux/intern.h 5,6c5,6 < $Author: knu $ < $Date: 2007-03-11 17:31:53 +0900 (Sun, 11 Mar 2007) $ --- > $Author: shyouhei $ > $Date: 2007-06-07 21:40:01 +0900 (Thu, 07 Jun 2007) $ 206a207 > enum rb_thread_status rb_thread_status _((VALUE)); 208a210 > VALUE rb_thread_wakeup_alive _((VALUE)); 210a213 > VALUE rb_thread_alive_p _((VALUE)); Hmmmm. Looks like this bug is a result of this update: http://bugs.gentoo.org/show_bug.cgi?id=181379 Relevant lines from the changelog at http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_36/ChangeLog Sat Mar 24 23:40:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * node.h (struct rb_thread.locals): explicit as struct. [ruby-core:10585] * eval.c, node.h (enum rb_thread_status, struct rb_thread, rb_curr_thread, rb_main_thread): prefixed. [ruby-core:10586] * file.c (chompdirsep): made an unprefixed name static. * io.c (io_fread): ditto. Hope this is of use to whoevers fixing the bug. This got fixed in dev-lang/ruby-1.8.6_p36-r1. The only broken version was ruby-1.8.6-p36, which is no longer in the tree. |