Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128831

Summary: media-video/subtitler-yuv-0.6.4.2: frame_list.c:36: error: conflicting types for 'malloc'
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: media-video
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Mokrejš 2006-04-04 15:19:03 UTC
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/subtitler-yuv-0.6.4.2/work/subtitler-yuv-0.6.4.2 ...
gcc -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -c subtitler-yuv.c
gcc -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -c color_processor.c
gcc -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -c frame_list.c
frame_list.c: In function `strsave':
frame_list.c:36: error: conflicting types for 'malloc'
make: *** [frame_list.o] Error 1

!!! ERROR: media-video/subtitler-yuv-0.6.4.2 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  subtitler-yuv-0.6.4.2.ebuild, line 23:   Called die


Portage 2.1_pre7-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc5 i686)
=================================================================
System uname: 2.6.16-rc5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.4-r1, 2.4.2-r1
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-r2
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 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer 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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm arts ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cpudetection crypt cscope ctype cups dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb ipv6 isdnlog ithreads java jpeg lcms leim libcaca libg++ libwww lirc live lzo mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qtx quicktime readline rtc samba scanner scp sdl server session slp spell sse sse2 ssl stroke tcltk tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32 win32codecs winvidix wmf x264 xanim xml xml2 xmms xosd xv xvid xvmc zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Thomas Raschbacher gentoo-dev 2006-05-04 13:19:47 UTC
will have a look (i get the same error. seems to be some gcc or glibc update issue..)
Comment 2 Thomas Raschbacher gentoo-dev 2006-05-04 13:49:06 UTC
ok i found a patch and changed the ebuild. cannot commit it though as cvs/svn is down. will try to commit it later/tomorrow.
please email me if i shoudl forget.
thanks
Comment 3 Thomas Raschbacher gentoo-dev 2006-05-04 13:50:36 UTC
prolly also will update to 0.6.5
Comment 4 Thomas Raschbacher gentoo-dev 2006-05-05 01:23:14 UTC
Added the patched ebuild.
also added 0.6.5 to portage cvs.
please let me know if it works for you as I don't have anything to test it here. thanks
Comment 5 Martin Mokrejš 2006-10-09 13:41:01 UTC
I see I have it already installed so the 0.6.5 ebuild definitely can be compiled. ;-) Thanks.