app-office/texmacs-1.0.6-r1 failed to build when Guile/Scheme/evaluate.cpp includes guile.hpp where symbols "scm_is_symbol" and "scm_is_null" are redefined Reproducible: Always Steps to Reproduce: 1. emerge texmacs 2. 3. Actual Results: i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Typeset/Graphics/equations.cpp -o Objects/equations.o i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Guile/Scheme/evaluate.cpp -o Objects/evaluate.o In file included from ./Guile/Scheme/evaluate.cpp:13: Guile/guile.hpp:57:1: warning: "scm_is_symbol" redefined In file included from /usr/include/libguile.h:122, from /usr/include/guile/gh.h:24, from Guile/guile.hpp:17, from ./Guile/Scheme/evaluate.cpp:13: /usr/include/libguile/symbols.h:28:1: warning: this is the location of the previous definition In file included from ./Guile/Scheme/evaluate.cpp:13: Guile/guile.hpp:58:1: warning: "scm_is_null" redefined In file included from /usr/include/libguile.h:95, from /usr/include/guile/gh.h:24, from Guile/guile.hpp:17, from ./Guile/Scheme/evaluate.cpp:13: /usr/include/libguile/pairs.h:36:1: warning: this is the location of the previous definition Guile/Glue/glue.hpp:35: error: new declaration 'bool scm_to_bool(scm_unused_struct*)' /usr/include/libguile/boolean.h:39: error: ambiguates old declaration 'int scm_to_bool(scm_unused_struct*)' make[1]: *** [Objects/evaluate.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src' make: *** [TEXMACS] Error 2 * * ERROR: app-office/texmacs-1.0.6-r1 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * texmacs-1.0.6-r1.ebuild, line 58: Called die * * (no error message) * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-office/texmacs-1.0.6-r1/temp/build.log'. * Expected Results: texmacs emerged successfully emerge --info Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Timestamp of tree: Mon, 15 Oct 2007 03: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-shells/bash: 3.2_p17 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 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-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.gentoo.no/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://gentoo.mirror.solnet.ch/ http://ds.thn.htu.se/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo" LINGUAS="es es_AR en" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://168.96.76.51/gentoo-portage" USE="X X509 acl afs alsa arts bash-completion berkdb bitmap-fonts cairo cdr chroot cli cracklib crypt css cups dbus djvu dri dv dvd dvdr dvdread dvi eds emboss encode esd fam ffmpeg fftw firefox flac fortran gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal hpn iconv imagemagick imlib ipv6 isdnlog ithreads jpeg jpeg2k kde kerberos lame ldap libedit mad midi mikmod mjpeg mmap mmx mp3 mpeg mudflap multiuser ncurses nis nls nptl nptlonly nsplugin ogg opengl openmp oss pam pam_chroot pam_console pam_timestamp pcre pdf perl plotutils png ppds pppd pwdb python qt3 qt4 quicktime readline reflection sasl sdl session skey slang smartcard socks5 spell spl sse sse2 ssl svga symlink tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs x86 xine xml xorg xv xvid 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_AR en" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 163907 ***