First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117357
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Fairles <chris.fairles@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wxGTK-2.4.2-gcc4-wxfileproto.patch wxGTK-2.4.2-gcc4-wxfileproto.patch patch Chris Fairles 2006-01-01 09:51 0000 445 bytes Details | Diff
wxGTK-2.4.2-gcc4.patch wxGTK-2.4.2-gcc4.patch patch Chris Fairles 2006-01-01 11:00 0000 9.54 KB Details | Diff
wxGTK-2.4.2-r5.ebuild wxGTK-2.4.2-r5.ebuild text/plain Chris Fairles 2006-01-01 12:25 0000 4.81 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117357 depends on: Show dependency tree
Bug 117357 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-01-01 08:38 0000
I have compiled wxGTK-2.4 with wxgtk1 use flag on
x11-libs/wxGTK-2.4.2-r4  USE="gtk2 opengl wxgtk1 -debug -odbc -unicode" 0 kB

also tried it with gtk2 OFF and get same result.

/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/../../../libwx_gtk-2.4.so: undefined
reference to `vtable for wxFileProto'

Above was done with wxGTK-2.6.2-r1 still installed. Same happens if I remove
it.


emerge --info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-nitro2 i686)
=================================================================
System uname: 2.6.14-nitro2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrored.ca/
http://adelie.polymtl.ca/ http://mirrors.acm.cs.rpi.edu/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 cdr crypt cscope cups curl divx4linux dvd dvdr
emacs emboss encode exif expat fam ffmpeg fftw firefox flac foomaticdb fortran
ftp gd gdbm gif ginac glut glx gmp gpm gstreamer gtk gtk2 guile hal idn
imagemagick imlib java javascript jpeg jpeg2k kerberos lcms ldap libg++ libwww
mad mhash mikmod mjpeg mmx mng mp3 mpeg msn mysql ncurses netboot nis nntp nptl
nptlonly nsplugin ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl
png posix ppds pthreads python qt quicktime readline real ruby samba sdl
sharedmem smp snmp spell sqlite sse ssl svga tcltk tcpd tetex threads tiff
transcode truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd verbose
vorbis wifi win32codecs wxwindows xine xml2 xmms xv xvid zlib elibc_glibc
kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Chris Fairles 2006-01-01 09:51:48 0000 -------
Created an attachment (id=75921) [details]
wxGTK-2.4.2-gcc4-wxfileproto.patch

Patch for wxGTK-2.4.2 that fixes vtable issue.

------- Comment #2 From Carsten Lohrke 2006-01-01 10:26:13 0000 -------
*** Bug 117355 has been marked as a duplicate of this bug. ***

------- Comment #3 From Chris Fairles 2006-01-01 11:00:30 0000 -------
Created an attachment (id=75930) [details]
wxGTK-2.4.2-gcc4.patch

Consolidated gcc4 patch (includes many fixes for warnings etc.)

Many thanks to the Fedora Extra team for these. 
https://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=154958

------- Comment #4 From Chris Fairles 2006-01-01 12:25:20 0000 -------
Created an attachment (id=75939) [details]
wxGTK-2.4.2-r5.ebuild

Might as well post this too... ebuild I used. 

------- Comment #5 From Bernard Cafarelli 2006-01-09 10:01:10 0000 -------
The problem is not limited to audacity: I had to patch wxGTK to emerge
mkvtoolnix (same problem with broken vtable).

Also, shouldn't this bug report be marked as a blocker of bug #117482 ?

------- Comment #6 From Mark Loeser 2006-01-28 12:31:49 0000 -------
I don't think we need this patch.  wxGTK stuff works fine for me.  Can you
please try re-emerging gcc-4.0.2-r3 and let me know if this is still an issue? 
(You need to re-emerge if you haven't lately because I excluded a patch and
didn't bump the ebuild, it is still -* :) )

------- Comment #7 From Bernard Cafarelli 2006-01-29 06:19:27 0000 -------
Hum I've juste done:
# mv /usr/local/portage/x11-libs/wxGTK /outoftheway
# emerge sync
# emerge -av gcc '=x11-libs/wxGTK-2.4.2-r4' mkvtoolnix

And mkvtoolnix failed with:
    LINK  src/mkvmerge
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
collect2: ld a retourn

------- Comment #8 From Bernard Cafarelli 2006-01-29 06:19:27 0000 -------
Hum I've juste done:
# mv /usr/local/portage/x11-libs/wxGTK /outoftheway
# emerge sync
# emerge -av gcc '=x11-libs/wxGTK-2.4.2-r4' mkvtoolnix

And mkvtoolnix failed with:
    LINK  src/mkvmerge
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxMenuItemListNode::~wxwxMenuItemListNode()'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to `vtable for wxFileProto'
/usr/lib64/libwx_gtk2u-2.4.so: undefined reference to
`wxwxListStringNode::~wxwxListStringNode()'
collect2: ld a retourné 1 code d'état d'exécution

Emerging went fine again after pulling out the patched wxGTK-2.4

So the patch is at least needed for mkvtoolnix... if it worked for you without
patch, did you have USE="bzip2 flac wxwindows -lzo" for it?

------- Comment #9 From Josh Nichols (RETIRED) 2006-01-29 13:47:58 0000 -------
The attach patch fixed audacity and mkvtoolnix for me.

------- Comment #10 From Mark Loeser 2006-01-29 13:59:12 0000 -------
Okay, the other bug I was thinking about was with wxGTK-2.6.  This patch does
fix things that link against 2.4, so please apply the patch.

------- Comment #11 From Mark Loeser 2006-02-12 22:52:15 0000 -------
Thanks for the patch.  Fixed.

First Last Prev Next    No search results available      Search page      Enter new bug