Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122393 - media-sound/rat-4.2.25 fails to compile
Summary: media-sound/rat-4.2.25 fails to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 09:30 UTC by Calum
Modified: 2007-08-01 13:57 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 Calum 2006-02-10 09:30:26 UTC
I have an AMD64 box. I'm trying to install rat - it's masked, so I'm using the ~x86 keyword (I've tried "x86" with the same results), and it bombs out pretty quickly with this:

gcc -O2 -pipe -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -DHAVE_CONFIG_H -c net_udp.c
In file included from net_udp.c:47:
inet_ntop.h:6: error: conflicting types for 'inet_ntop'
/usr/include/gentoo-multilib/amd64/arpa/inet.h:67: error: previous declaration of 'inet_ntop' was here
inet_ntop.h:6: error: conflicting types for 'inet_ntop'
/usr/include/gentoo-multilib/amd64/arpa/inet.h:67: error: previous declaration of 'inet_ntop' was here
make[1]: *** [net_udp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/rat-4.2.25/work/rat-4.2.25/common/src'
make: *** [all-recursive] Error 1


Now, if I delete line 47 from common/src/net_udp.c, and fiddle with the md5sums/digests to make it install, it goes all the way through.
Running rat-4.2.25 224.2.4.5/2342 seems to work - tcpdump reports an IGMP group message, but the GUI never comes up.
(I have ensured that udp/47000 is opened, which seems to be one problem that can affect the GUI).

I'm not sure if this is a problem with RAT, tcl, or tk.

I've tried to join the rat-users mailing list, but it doesn't seem to be running.

I'd love to get this working. Let me know if you need straces, or whatever.
I've tried building RAT, tcl and tk with the vanilla GCC, but no good.

# emerge --info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-vs2.1.0-pre5-gentoo x86_64)
=================================================================
System uname: 2.6.13-vs2.1.0-pre5-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acl aim alsa apache2 aper avi berkdb browserplugin bzlib cdparanoia crypt dga directfb divx4linux dlloader dv dvd dvdr dvdread encode faac faad ffmpeg fla flash gd-external gdbm gif gmp gphoto2 gtk2 hardened ieee1394 imlib ipv6 jabber jack java jpeg kde live lzo mad maildir matroska memlimit mozilla mozsvg mp3 mpeg mpeg4 mplayer msn network nls nodrm ntlm ogg oggvorbis opengl oscar pcre perl php pic pie png postgres quotas readline real rrdtool rtc samba sdl session sftplogging ssl svg tga theora tiff truetype truetype-fonts underscores v4l v4l2 voodoo3 vorbis xanim xfs xml2 xmms xv xvid xvmc yahoo yv12 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Calum 2006-02-11 12:29:40 UTC
Just got an auto mail from them:

"Funding for the support and development of the MBone conferencing applications
has now concluded and therefore a response to your email cannot be guaranteed.

If you are having problems operating one of the applications there are
various FAQs, online guides and documentation available for most of the
applications.

The following FAQs may be of particular interest:

RAT FAQ: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/faq.html
VIC FAQ: http://www-mice.cs.ucl.ac.uk/multimedia/software/vic/faq.html
IPv6 FAQ: http://www-mice.cs.ucl.ac.uk/multimedia/software/documentation/ipv6.html

Development of the applications will continue on a limited basis, where
funding permits and we will still consider any bug fixes or patches sent
to the list.

Regards.
The Networking and Multimedia Research Group."


I think that it's "only just" broken on AMD64 - is there anyone here that can help us work it out? Debian have an AMD64 package working. I tried to run their binaries, but I got the same problem.
Comment 2 Calum 2006-02-12 07:17:30 UTC
Oh, I'm away until Tuesday/Wednesday now, so I won't be able to try anything.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-08-01 13:57:35 UTC
I've just added rat-4.3.00 to Portage, please try.