Bug 135625 - media-gfx/graphviz-2.8 failed: `SCM_STRING_LENGTH' was not declared in this scope
Bug#: 135625 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: spamlover@dahlen.org
Component: Applications
URL: 
Summary: media-gfx/graphviz-2.8 failed: `SCM_STRING_LENGTH' was not declared in this scope
Keywords:  
Status Whiteboard: 
Opened: 2006-06-05 06:19 0000
Description:   Opened: 2006-06-05 06:19 0000
king ~ # emerge --info
Portage 2.1_rc4-r2 (default-linux/x86/2006.0, gcc-3.4.6,
glibc-2.2.5-r2,glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Sempron(tm)   2800+
Gentoo Base System version 1.12.0
dev-lang/python:     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.18.1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer
sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from /etc/portage/rsync_excludes"
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://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi acpi4linux activefilter aim alsa apache2
async audiofile avi bash-completion beagle berkdb bitmap-fonts bluetooth bzip2
bzlib cairo caps cddb cdinstall cdparanoia cdr chroot cli crypt cups curl dbus
dga divx4linux dlloader doc dri dvb dvd dvdr eds emboss encode esd evo exif fam
fbcon firefox foomaticdb fortran gdbm gif gimp gimpprint gnome gnomedb gphoto2
gpm gstreamer gtk gtk2 gtkhtml hal howl iconv imap imlib imlib2 ipv6 irmc
isdnlog jack java jpeg libg++ libnotify libwww live lzw-tiff mad mbox mime mmx
mmx2 mmxext mono moznocompose moznoirc moznomail mozp3p mozplaintext mozsvg mp3
mpeg mpeg4 msn ncurses nls nocd nptl nptlonly nvidia ogg openal opengl pam pcre
pda pdf pdflib perl php png ppds pppd python quicktime readline reflection sdl
session smime sox spell spl sse ssl svg tcpd tga truetype truetype-fonts
type1-fonts udev unicode usb vcd videos vidix vorbis webdav win32codecs wmf xfs
xinerama xml xorg xosd xpm xv xvid xvmc zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS

------- Comment #1 From Dead Schorsch 2006-06-05 06:20:05 0000 -------
/bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONF IG_H -I. -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/gra ph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE - I/usr/lib/ocaml -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/Ze nd -I/usr/include/php/TSRM
-I/usr/include/python2.4      -march=athlon-xp -O3 -p ipe -c -o gv.lo gv.cpp
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc
- I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/ lib/perl5/5.8.8/i686-linux/CORE -I/usr/lib/ocaml -I/usr/include/php
-I/usr/inclu de/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-I/usr/include/pytho n2.4 -march=athlon-xp -O3 -pipe -c gv.cpp  -fPIC -DPIC -o
.libs/gv.o
/bin/sh ../../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++
-DHAVE_CONF IG_H -I. -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common
-I../../lib/gra ph -I../../lib/cdt -I../../lib/pathplan
-I/usr/lib/perl5/5.8.8/i686-linux/CORE - I/usr/lib/ocaml -I/usr/include/php
-I/usr/include/php/main -I/usr/include/php/Ze nd -I/usr/include/php/TSRM
-I/usr/include/python2.4      -march=athlon-xp -O3 -p ipe -c -o gv_guile.lo
gv_guile.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc
- I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan
-I/usr/ lib/perl5/5.8.8/i686-linux/CORE -I/usr/lib/ocaml -I/usr/include/php
-I/usr/inclu de/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
-I/usr/include/pytho n2.4 -march=athlon-xp -O3 -pipe -c gv_guile.cpp  -fPIC
-DPIC -o .libs/gv_guile.o
gv_guile.cpp: In function `char* SWIG_Guile_scm2newstr(SCM, size_t*)':
gv_guile.cpp:591: error: `SCM_STRING_LENGTH' was not declared in this scope
gv_guile.cpp:595: error: `SCM_STRING_CHARS' was not declared in this scope
gv_guile.cpp: At global scope:
gv_guile.cpp:603: error: `scm_t_bits' does not name a type
gv_guile.cpp:604: error: `scm_t_bits' does not name a type
gv_guile.cpp:605: error: `scm_t_bits' does not name a type
gv_guile.cpp: In function `SCM SWIG_Guile_NewPointerObj(void*, swig_type_info*,
int)':
gv_guile.cpp:623: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp:625: error: `swig_tag' was not declared in this scope
gv_guile.cpp:637: error: `scm_list_3' was not declared in this scope
gv_guile.cpp: In function `long unsigned int SWIG_Guile_PointerAddress(SCM)':
gv_guile.cpp:646: error: `SCM_INSTANCEP' was not declared in this scope
gv_guile.cpp:646: error: `scm_slot_exists_p' was not declared in this scope
gv_guile.cpp:646: error: `scm_slot_ref' was not declared in this scope
gv_guile.cpp:648: error: `swig_tag' was not declared in this scope
gv_guile.cpp:649: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp:650: error: `swig_destroyed_tag' was not declared in this scope
gv_guile.cpp: In function `swig_type_info* SWIG_Guile_PointerType(SCM)':
gv_guile.cpp:659: error: `SCM_INSTANCEP' was not declared in this scope
gv_guile.cpp:659: error: `scm_slot_exists_p' was not declared in this scope
gv_guile.cpp:659: error: `scm_slot_ref' was not declared in this scope
gv_guile.cpp:661: error: `swig_tag' was not declared in this scope
gv_guile.cpp:662: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp:663: error: `swig_destroyed_tag' was not declared in this scope
gv_guile.cpp: In function `int SWIG_Guile_ConvertPtr(SCM, void**,
swig_type_info *, int)':
gv_guile.cpp:675: error: `SCM_INSTANCEP' was not declared in this scope
gv_guile.cpp:675: error: `scm_slot_exists_p' was not declared in this scope
gv_guile.cpp:675: error: `scm_slot_ref' was not declared in this scope
gv_guile.cpp:680: error: `swig_tag' was not declared in this scope
gv_guile.cpp:680: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp: In function `void SWIG_Guile_MarkPointerNoncollectable(SCM)':
gv_guile.cpp:733: error: `SCM_INSTANCEP' was not declared in this scope
gv_guile.cpp:733: error: `scm_slot_exists_p' was not declared in this scope
gv_guile.cpp:733: error: `scm_slot_ref' was not declared in this scope
gv_guile.cpp:735: error: `swig_tag' was not declared in this scope
gv_guile.cpp:735: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp: In function `void SWIG_Guile_MarkPointerDestroyed(SCM)':
gv_guile.cpp:746: error: `SCM_INSTANCEP' was not declared in this scope
gv_guile.cpp:746: error: `scm_slot_exists_p' was not declared in this scope
gv_guile.cpp:746: error: `scm_slot_ref' was not declared in this scope
gv_guile.cpp:748: error: `swig_tag' was not declared in this scope
gv_guile.cpp:748: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp:749: error: `swig_destroyed_tag' was not declared in this scope
gv_guile.cpp: At global scope:
gv_guile.cpp:819: error: `scm_t_bits' has not been declared
gv_guile.cpp:822: error: ISO C++ forbids declaration of `tag_variable' with no
t ype
gv_guile.cpp: In function `int ensure_smob_tag(SCM, int*, const char*, const
cha r*)':
gv_guile.cpp:823: error: `scm_str2symbol' was not declared in this scope
gv_guile.cpp:825: error: `scm_sym2var' was not declared in this scope
gv_guile.cpp:826: error: `SCM_VARIABLE_REF' was not declared in this scope
gv_guile.cpp:829: error: `SCM_VARIABLE_SET' was not declared in this scope
gv_guile.cpp: In function `SCM SWIG_Guile_Init()':
gv_guile.cpp:847: error: `scm_c_resolve_module' was not declared in this scope
gv_guile.cpp:848: error: `swig_tag' was not declared in this scope
gv_guile.cpp:853: error: `swig_collectable_tag' was not declared in this scope
gv_guile.cpp:859: error: `swig_destroyed_tag' was not declared in this scope
gv_guile.cpp:865: error: `scm_c_module_lookup' was not declared in this scope
gv_guile.cpp:867: error: `scm_str2symbol' was not declared in this scope
gv_guile.cpp: In function `swig_module_info* SWIG_Guile_GetModule()':
gv_guile.cpp:883: error: `scm_str2symbol' was not declared in this scope
gv_guile.cpp:885: error: `scm_sym2var' was not declared in this scope
gv_guile.cpp:886: error: `SCM_VARIABLE_REF' was not declared in this scope
gv_guile.cpp: In function `void SWIG_Guile_SetModule(swig_module_info*)':
gv_guile.cpp:901: error: `scm_str2symbol' was not declared in this scope
gv_guile.cpp:903: error: `scm_sym2var' was not declared in this scope
gv_guile.cpp:905: error: `SCM_VARIABLE_SET' was not declared in this scope
gv_guile.cpp: In function `void SWIG_init()':
gv_guile.cpp:4835: error: `scm_c_define_gsubr' was not declared in this scope
make[3]: *** [gv_guile.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclp kg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclp kg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-2.8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  graphviz-2.8.ebuild, line 53:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if
rel evant.

------- Comment #2 From Jakub Moc (RETIRED) 2006-09-23 13:42:14 0000 -------
*** Bug 148305 has been marked as a duplicate of this bug. ***

------- Comment #3 From Pacho Ramos 2007-02-15 00:50:20 0000 -------
Is this bug still valid for media-gfx/graphviz-2.12 ?

------- Comment #4 From Marijn Schouten 2007-02-15 14:51:15 0000 -------
*** Bug 167045 has been marked as a duplicate of this bug. ***

------- Comment #5 From Artemii 2007-02-15 20:43:31 0000 -------
you need to install dev-scheme/guile with USE="deprecated"

------- Comment #6 From Chris Bainbridge (RETIRED) 2007-02-16 16:26:32 0000 -------
Added check for USE flag.

------- Comment #7 From Martin Mokrejš 2007-02-16 20:37:19 0000 -------
Interesting, I had guile-1.6.7 installed all the time and had graphviz-2.8 and
now 2.12 as well, but I never had any USE="deprecated". In overall, I don't
care anymore, I have 2.12 installed.

$ emerge --info
Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20
i686)
=================================================================
System uname: 2.6.20 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 10:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
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: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/spool/PBS
/var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en cs cz"
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 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm asf ati avi berkdb
bitmap-fonts bonobo caca cairo cdparanoia cdr cli cpudetection cracklib crypt
cscope ctype cups curl dba dga directfb divx divx5 divx5linux dlloader dri dts
dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emf encode ethereal evo f77
faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb
gcj gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml highvolume i8x0 icc
iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads
java jpeg kerberos lcms leim libcaca libedit libg++ libwww live lzo mad
matroska mcal mesa mhash midi mikmod ming mmx mmx2 mmxext mng modplug motif
mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg
oggvorbis opengl oss pam pcre pda pdf pdflib perl plotutils plugin png poppler
ppds pppd pthread pthreads python qt qt3 qt4 qtx quicktime readline reflection
rtc samba scanner scp server session slp spell spl sse sse2 ssl stroke svg tcl
tcltk tcpd tetex theora thread threads tiff tk truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis win32codecs winvidix
wmf x264 x86 xanim xml xml2 xorg xosd xprint xv xvid xvmc zeo zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

$