Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 130223
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Håvard Wall <haavardw@ifi.uio.no>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tvision-2.0.3-gcc4.patch tvision-2.0.3-gcc4.patch patch Håvard Wall 2006-04-17 02:01 0000 523 bytes Details | Diff
tvision-2.0.3.ebuild tvision-2.0.3.ebuild text/plain Håvard Wall 2006-04-17 02:02 0000 845 bytes Details
tvision-2.0.3-templateinstantiations.patch tvision-2.0.3-templateinstantiations.patch patch Håvard Wall 2006-04-17 10:45 0000 674 bytes Details | Diff
tvision-2.0.3.ebuild tvision-2.0.3.ebuild text/plain Håvard Wall 2006-04-17 10:47 0000 901 bytes Details
tvision-2.0.3.ebuild tvision-2.0.3.ebuild text/plain Håvard Wall 2006-04-25 11:50 0000 854 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130223 depends on: Show dependency tree
Bug 130223 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-17 01:11 0000
../classes/fpbase.cc: In member function 'CLY_int_filebuf*
CLY_int_filebuf::open(FILE*, std::_Ios_Openmode)':
../classes/fpbase.cc:111: error: '_M_set_indeterminate' was not declared in
this scope

------- Comment #1 From Jakub Moc (RETIRED) 2006-04-17 01:21:44 0000 -------
*** Bug 130224 has been marked as a duplicate of this bug. ***

------- Comment #2 From Håvard Wall 2006-04-17 02:01:28 0000 -------
Created an attachment (id=84821) [details]
tvision-2.0.3-gcc4.patch

------- Comment #3 From Håvard Wall 2006-04-17 02:02:22 0000 -------
Created an attachment (id=84822) [details]
tvision-2.0.3.ebuild

updated ebuild which applies the patch

------- Comment #4 From Håvard Wall 2006-04-17 10:45:57 0000 -------
Created an attachment (id=84844) [details]
tvision-2.0.3-templateinstantiations.patch

More testing revealed an undefined symbol in /usr/lib/librhtv.so after
compiling with gcc4: TInputLineBaseT<char, TDrawBuffer>::TInputLineBaseT(TRect
const&, int)

This patch moves the template instantitions down, until after the function is
defined, letting the symbols be resolved correctly.

------- Comment #5 From Håvard Wall 2006-04-17 10:47:21 0000 -------
Created an attachment (id=84845) [details]
tvision-2.0.3.ebuild

Updated ebuild which applies both patches.

------- Comment #6 From Jon Hood (RETIRED) 2006-04-20 17:23:48 0000 -------
*** Bug 130247 has been marked as a duplicate of this bug. ***

------- Comment #7 From SpanKY 2006-04-20 20:06:33 0000 -------
where did these patches come from ?  if upstream is still broken, you should
submit there as well:
http://sourceforge.net/projects/tvision/

------- Comment #8 From Håvard Wall 2006-04-21 03:04:39 0000 -------
The -fpermissive hack in the ebuild have to go to make other packages compile
(ldcc for instance). I'm still working on a patch to remove this. Yes, I'll
submit upstream when it's all finished, and then post it here.

------- Comment #9 From Håvard Wall 2006-04-25 11:50:35 0000 -------
Created an attachment (id=85474) [details]
tvision-2.0.3.ebuild

Updated ebuild which removes the -fpermissive hack (breaks packages compiling
against tvision using gcc4) and removes the hard-coded -no-intl configure flags
which is wrong IMHO.

The patches are in sync with tvision CVS.

------- Comment #10 From Christian Faulhammer 2006-07-26 05:14:01 0000 -------
ping

------- Comment #11 From SpanKY 2006-07-30 12:53:41 0000 -------
added to 2.0.3 in cvs

------- Comment #12 From Ryan Hill 2006-08-16 20:56:40 0000 -------
i'm getting this on two different x86 boxes w/ gcc 4.0.3, 4.1.1, and 4.1.2svn.


g++  -I../include -I/usr/X11R6/include       -fPIC -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident  -c ../compat/iffilelen.cc -o
../makes/obj/iffilelen.lo
gcc  -I../include -I/usr/X11R6/include        -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/nl_langinfo.c -o
../makes/obj/nl_langinfo.o
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:
In member function 'typename std::messages<_CharT>::catalog
std::messages<_CharT>::open(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, const std::locale&, const
char*) const':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62:
error: there are no arguments to 'bindtextdomain' that depend on a template
parameter, so a declaration of 'bindtextdomain' must be available
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62:
error: (if you use '-fpermissive', G++ will accept your code, but allowing the
use of an undeclared name is deprecated)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:
In member function 'virtual typename std::messages<_CharT>::catalog
std::messages<_CharT>::do_open(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, const std::locale&) const':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:82:
error: there are no arguments to 'textdomain' that depend on a template
parameter, so a declaration of 'textdomain' must be available
gcc  -I../include -I/usr/X11R6/include        -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/ntdirent.c -o
../makes/obj/ntdirent.o
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/isdir.c -o
../makes/obj/isdir.lo
make[1]: *** [../makes/obj/iffilelen.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/tvision-2.0.3/work/tvision/makes'
make: *** [static-lib] Error 2
make: *** Waiting for unfinished jobs....
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/isrelpath.c -o
../makes/obj/isrelpath.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/iswild.c -o
../makes/obj/iswild.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/itoa.c -o
../makes/obj/itoa.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/mkstemp.c -o
../makes/obj/mkstemp.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/nl_langinfo.c -o
../makes/obj/nl_langinfo.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/ntdirent.c -o
../makes/obj/ntdirent.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/pathvalid.c -o
../makes/obj/pathvalid.lo
gcc  -I../include -I/usr/X11R6/include      -fPIC  -O2 -march=prescott
-fomit-frame-pointer -pipe -fno-ident -c ../compat/regex.c -o
../makes/obj/regex.lo
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:
In member function 'typename std::messages<_CharT>::catalog
std::messages<_CharT>::open(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, const std::locale&, const
char*) const':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62:
error: there are no arguments to 'bindtextdomain' that depend on a template
parameter, so a declaration of 'bindtextdomain' must be available
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:62:
error: (if you use '-fpermissive', G++ will accept your code, but allowing the
use of an undeclared name is deprecated)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:
In member function 'virtual typename std::messages<_CharT>::catalog
std::messages<_CharT>::do_open(const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&, const std::locale&) const':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:82:
error: there are no arguments to 'textdomain' that depend on a template
parameter, so a declaration of 'textdomain' must be available
make[1]: *** [../makes/obj/iffilelen.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/tvision-2.0.3/work/tvision/makes'
make: *** [dynamic-lib] Error 2

!!! ERROR: dev-libs/tvision-2.0.3 failed.


Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4,
2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
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"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect digest distlocks fixpackages
metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/
ftp://cs.ubishops.ca/pub/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_GB"
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="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa bash-completion berkdb bluetooth bzip2 crypt dbus
dri dts encode expat fortran gdbm gif glut gmp gtk hal imlib java jpeg
kdeenablefinal kdehiddenvisibility mad mmx mp3 mpeg mpi ncurses nptl ogg opengl
pam perl pic png python qt3 qt4 quicktime readline sdl spell sqlite sse sse2
ssl svg tcpd theora threads truetype usb vorbis xml xv xvid zlib elibc_glibc
input_devices_mouse input_devices_keyboard kernel_linux linguas_en
linguas_en_US linguas_en_GB userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #13 From Ryan Hill 2006-08-16 22:08:38 0000 -------
*** Bug 132569 has been marked as a duplicate of this bug. ***

------- Comment #14 From Harald van Dijk 2006-08-28 07:15:25 0000 -------
> i'm getting this on two different x86 boxes w/ gcc 4.0.3, 4.1.1, and 4.1.2svn.

2.1.0_pre1 plus a fix for this added now.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug