Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50895 - version bump xmule 1.8.2b, but fails with compile error
Summary: version bump xmule 1.8.2b, but fails with compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 18:12 UTC by Peter W.
Modified: 2004-12-12 09:35 UTC (History)
2 users (show)

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


Attachments
xmule-1.8.2-r1.diff patch for xmule-1.8.2-r1.ebuild (xmule-1.8.2-r1.diff,460 bytes, patch)
2004-05-16 16:29 UTC, Peter W.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter W. 2004-05-12 18:12:19 UTC
When I try to emerge xmule 1.8.2 it fails with a compile error.

Reproducible: Always
Steps to Reproduce:
1.emerge xmule
2.
3.

Actual Results:  
Fails with the following error:
...
Compiling wx/xrc/xmlrsall.cpp...
Linking wx/xrc/libxrc.a...
make[2]: Leaving directory
`/var/tmp/portage/xmule-1.8.2/work/xmule-1.8.2b/src/wx/xrc'
Compiling AddFriend.cpp...
Compiling AddFileThread.cpp...
Compiling animate.cpp...
Compiling BarShader.cpp...
Compiling BaseClient.cpp...
Compiling CatDialog.cpp...
Compiling CFile.cpp...
Compiling ChatWnd.cpp...
Compiling ClientCredits.cpp...
Compiling ClientDetailDialog.cpp...
Compiling ClientList.cpp...
Compiling ClientUDPSocket.cpp...
Compiling CMuleNotebookBase.cpp...
Compiling ColorFrameCtrl.cpp...
Compiling CommentDialog.cpp...
Compiling CommentDialogLst.cpp...
Compiling DirectoryTreeCtrl.cpp...
Compiling DownloadClient.cpp...
Compiling DownloadListCtrl.cpp...
Compiling DownloadQueue.cpp...
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
                 from /usr/include/gtk-1.2/gtk/gtk.h:31,
                 from SysTray.h:25,
                 from DownloadQueue.cpp:29:
/usr/include/gtk-1.2/gdk/gdktypes.h:52: error: conflicting types for `typedef
   gulong GdkAtom'
/usr/include/wx/defs.h:2058: error: previous declaration as `typedef struct
   _GdkAtom*GdkAtom'
/usr/include/gtk-1.2/gdk/gdktypes.h:57: error: conflicting types for `typedef
   struct _GdkWindow GdkWindow'
/usr/include/wx/defs.h:2059: error: previous declaration as `typedef struct
   _GdkDrawable GdkWindow'
/usr/include/gtk-1.2/gdk/gdktypes.h:58: error: conflicting types for `typedef
   struct _GdkWindow GdkPixmap'
/usr/include/wx/defs.h:2061: error: previous declaration as `typedef struct
   _GdkDrawable GdkPixmap'
/usr/include/gtk-1.2/gdk/gdktypes.h:59: error: conflicting types for `typedef
   struct _GdkWindow GdkBitmap'
/usr/include/wx/defs.h:2060: error: previous declaration as `typedef struct
   _GdkDrawable GdkBitmap'
make[1]: *** [DownloadQueue.o] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xmule-1.8.2/work/xmule-1.8.2b/src'
make: *** [all] Fehler 2

!!! ERROR: net-p2p/xmule-1.8.2 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message)


Expected Results:  
Normal emerge xmule 1.8.2

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.12
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
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="-march=athlon-xp -O3 -pipe -mmmx -msse -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa apache2 apm arts avi berkdb bidi cdr crypt cups
encode ethereal fastcgi fbcon flac foomaticdb freetds gd gdbm gif gnome gphoto2
gpm gtk gtk2 icq imagemagic imap imlib innodb ipv6 jabber java joystick jpeg kde
ldap libg++ libwww lirc mad mikmod mmx motif mpeg msn mysql nas ncurses nls
nvidia oci8 oggvorbis opengl openssh oscar oss pam pcmcia pdflib perl php png
pnp python qt quicktime readline samba scanner sdl slang snmp socks5 spell sse
ssl svga tcltk tcpd tetex theora tiff truetype usb vhosts videos wmf x86 xml
xml2 xmms xv yahoo zeo zlib"
Comment 1 Evert 2004-05-13 03:49:45 UTC
same here...
Comment 2 Todd Norris 2004-05-13 09:08:32 UTC
I am getting the same problem.  Todd
Comment 3 Lee Trager 2004-05-14 21:49:14 UTC
Ya same exact problem its annoying when updating.
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-05-14 23:31:01 UTC
For the time being, this is KEYWORD masked. If anyone finds a fix, let me know. I'll try to figure out exactly what's causing this problem as soon as I have some free time.
Comment 5 Peter W. 2004-05-16 16:29:18 UTC
Created attachment 31551 [details, diff]
xmule-1.8.2-r1.diff patch for xmule-1.8.2-r1.ebuild

The problem is, automake, autoconf etc. is not supported from xmule releases.
(see german xmule-forum:
http://www.forum-provider.de/cgi-bin/fserver/foren/F_2418/cutecast.pl?forum=7&thread=18)


My solution (works for me):
remove the following lines from xmule-1.8.2-r1.ebuild (src_compile):

	export WANT_AUTOCONF=2.5
	WANT_AUTOMAKE=1.7
	aclocal
	autoconf
	autoheader
	automake

For example see the attached patch.

Regards
Peter
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-05-17 13:43:41 UTC
just fixed in cvs
sorry for delay

thx