Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56303 - app-office/texmacs-1.0.3.10 fails, gcc3.4.1
Summary: app-office/texmacs-1.0.3.10 fails, gcc3.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 21:19 UTC by Priit Laes (IRC: plaes)
Modified: 2005-03-25 18:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2004-07-06 21:19:49 UTC
decoder root # emerge texmacs
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/texmacs-1.0.3.10 to /
>>> md5 src_uri ;-) TeXmacs-1.0.3.10-src.tar.gz
>>> md5 src_uri ;-) TeXmacs-600dpi-fonts.tar.gz
>>> Unpacking source...
>>> Unpacking TeXmacs-1.0.3.10-src.tar.gz to /home/root/tmp/portage/texmacs-1.0.3.10/work
>>> Unpacking TeXmacs-600dpi-fonts.tar.gz to /home/root/tmp/portage/texmacs-1.0.3.10/work
>>> Source unpacked.
~x86
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i686-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether GNU C++ compiler is default... yes
checking version of gcc... 3.4.1
checking version of g++... 3.4.1
checking for C++-compatible X header files... yes
checking for Guile... yes
checking version of guile... 1.6.4
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dlopen... (cached) no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking for freetype... yes
checking for gettimeofday... yes
checking whether ... arguments behave correctly... no
checking the size_t of guile strings... size_t
checking if compiler supports -fno-rtti -fno-exceptions... yes
checking if statically linking with guile works... "no"
checking if it works with -lltdl... "no"
checking if it works with -lltdl -ldl... "yes"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
final setup for an Intel/GNU-linux host
disabling debugging
enabling optimizations, -O3 -fexpensive-optimizations
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/common.makefile
config.status: creating src/System/tm_configure.hpp
config.status: creating misc/admin/admin.makefile
config.status: creating misc/doxygen/Doxyfile
config.status: creating misc/man/texmacs.1
config.status: creating misc/rpm/TeXmacs.spec
config.status: creating misc/scripts/fig2ps
config.status: creating misc/scripts/texmacs
config.status: creating TeXmacs/examples/plugins/dynlink/Makefile
mkdir -p src/Deps
mkdir -p src/Objects
mkdir -p TeXmacs/bin
mkdir -p TeXmacs/lib
cd src; make -f makefile link=shared
make[1]: Entering directory `/home/root/tmp/portage/texmacs-1.0.3.10/work/TeXmacs-1.0.3.10-src/src'
g++ -I./System -I./System/Boot -I./System/Classes -I./System/Files -I./System/Link -I./System/Misc -I./Classes/Abstract -I./Classes/Atomic -I./Classes/Compound -I./Data/Drd -I./Data/String -I./Data/Tree -I./Data/Convert -I./Guile -I./Resource -I/home/root/tmp/portage/texmacs-1.0.3.10/work/TeXmacs-1.0.3.10-src/TeXmacs/include -I/usr/include/freetype2 -Wall -Wno-return-type -march=pentium3 -pipe -O2 -fno-default-inline -fno-inline -c ./Data/String/analyze.cpp -o Objects/analyze.o
g++ -I./System -I./System/Boot -I./System/Classes -I./System/Files -I./System/Link -I./System/Misc -I./Classes/Abstract -I./Classes/Atomic -I./Classes/Compound -I./Data/Drd -I./Data/String -I./Data/Tree -I./Data/Convert -I./Guile -I/usr/include/freetype2 -Wall -Wno-return-type -march=pentium3 -pipe -O2 -fno-default-inline -fno-inline -c ./Classes/Compound/array.cpp -o Objects/array.o
In file included from ./Classes/Compound/array.cpp:15:
./Classes/Compound/array.hpp:31: error: `N' is neither function nor member function; cannot be declared friend
./Classes/Compound/array.hpp:31: error: expected `;' before '<' token
./Classes/Compound/array.hpp:32: error: `copy' is neither function nor member function; cannot be declared friend
./Classes/Compound/array.hpp:32: error: expected `;' before '<' token
./Classes/Compound/array.cpp: In member function `array<T>::operator tree()':
./Classes/Compound/array.cpp:72: error: `TUPLE' undeclared (first use this function)
./Classes/Compound/array.cpp:72: error: (Each undeclared identifier is reported only once for each function it appears in.)
./Classes/Compound/array.cpp:74: error: no match for 'operator[]' in 't[i]'
make[1]: *** [Objects/array.o] Error 1
make[1]: Leaving directory `/home/root/tmp/portage/texmacs-1.0.3.10/work/TeXmacs-1.0.3.10-src/src'
make: *** [TEXMACS] Error 2

!!! ERROR: app-office/texmacs-1.0.3.10 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:





decoder root # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.3.20040420-r0, 2.6.
5)
=================================================================
System uname: 2.6.5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.5.1
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer 
-ffast-math -fforce-addr -falign-functions"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/lib/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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe -fomit-frame-pointer 
-ffast-math -fforce-addr -falign-functions"
DISTDIR="/home/root/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.
tut.fi/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http:
//mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/root/tmp"
PORTDIR="/home/root/portage"
PORTDIR_OVERLAY="/home/root/breakmygentoo"
SYNC="rsync://ftp.linux.ee/gentoo-portage"
USE="X aalib accessibility acl acpi alsa apache2 avi bcmath berkdb bindist 
bonobo bzlib calendar canna cdr cjk composite crypt cscope cups curl dba dga 
directfb divx divx4linux dri dvd dvdr encode ethereal evo exif expat f77 faac 
faad fastcgi fbcon flac flash foomaticdb freetype freewnn fs ftp gatos gcj gd 
gdbm gif gimpprint ginac gnome gnomedb gphoto2 gpm gps gstreamer gtk gtk2 
gtkhtml guile hdf5 iconv imap imlib innodb ipv6 jack java jbig jikes jpeg ladcca 
lcms ldap libgda libwww live mad mbox mcal mhash mikmod mmx mng motif 
mozcalendar mozilla mozp3p mozsvg mozxmlterm mpeg mpi mysql nas ncurses nhc98 
nls nntp nptl objc offensive oggvorbis opengl oss pam pcmcia pcntl pcre pda 
pdflib perl plotutils png pnp ppds prelude python qhull qt quicktime readline 
ruby samba sdk sdl session shared simplexml slang slp smartcard snmp sox spell 
sqlite sse ssl tcltk tcpd tetex theora tiff truetype trusted type1 unicode usb 
v4l v4l2 video_cards_ati128 wmf wxwindows x86 xfig xinerama xml xml2 xmlrpc xosd 
xsl xv xvid zlib"
Comment 1 Felix Riemann 2004-07-22 09:00:47 UTC
texmacs-1.0.3.11 is out which fixes this issue

I simply renamed the 1.0.3.10 ebuild to 1.0.3.11 and it compiled nicely
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-03-25 18:17:08 UTC
texmacs-1.0.4.5 is in portage, which compiles with gcc 3.4.3 for me.