Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115293 - media-sound/litestream-1.2 fails to compile
Summary: media-sound/litestream-1.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 05:07 UTC by Luu Danh Hieu
Modified: 2005-12-17 22:34 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 Luu Danh Hieu 2005-12-12 05:07:48 UTC
Here is what I get when I emerge the package litestream (marked stable)

imsg3box ~ # emerge -av litestream

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] media-sound/litestream-1.2  40 kB

Total size of downloads: 40 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) media-sound/litestream-1.2 to /
>>> Downloading ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/distfiles/litestream-1.2.tar.gz
--20:00:35--  ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO/distfiles/litestream-1.2.tar.gz
           => `/usr/portage/distfiles/litestream-1.2.tar.gz'
Resolving ftp.ecc.u-tokyo.ac.jp... 133.11.205.121
Connecting to ftp.ecc.u-tokyo.ac.jp|133.11.205.121|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /GENTOO/distfiles ... done.
==> PASV ... done.    ==> RETR litestream-1.2.tar.gz ... done.
Length: 41,075 (40K) (unauthoritative)

100%[==================================================================================================================>]
41,075        76.92K/s

20:00:44 (76.60 KB/s) - `/usr/portage/distfiles/litestream-1.2.tar.gz' saved [41075]

>>> md5 files   ;-) litestream-1.2.ebuild
>>> md5 files   ;-) files/digest-litestream-1.2
>>> md5 files   ;-) files/litestream-1.2-Makefile.patch
>>> md5 files   ;-) files/vargs.h
>>> md5 src_uri ;-) litestream-1.2.tar.gz
>>> Unpacking source...
>>> Unpacking litestream-1.2.tar.gz to /var/tmp/portage/litestream-1.2/work
 * Applying litestream-1.2-Makefile.patch ...                                  
                                                                        [ ok
]>>> Source unpacked.
Makefile:43: .depend: No such file or directory
cc -MM -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF -DDEPEND *.c > .depend
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o stream_serv.o stream_serv.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o stream_sched.o stream_sched.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o stream.o stream.c
In file included from stream_serv.c:41:
stream_config.h:49:2: warning: #warning FD_SETSIZE not reset
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o hexdump.o hexdump.c
In file included from stream_sched.c:42:
stream_config.h:49:2: warning: #warning FD_SETSIZE not reset
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o icy.o icy.c
In file included from stream.c:41:
stream_config.h:49:2: warning: #warning FD_SETSIZE not reset
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o yp.o yp.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o stream_cli.o stream_cli.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o http.o http.c
In file included from yp.c:42:
stream_config.h:49:2: warning: #warning FD_SETSIZE not reset
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o textutils.o textutils.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF   -c -o stream_log.o stream_log.c
cc -O1 -march=pentium4 -pipe -DNO_VARARGS -Iinclude -Wall -g
-DVERSION="\"Litestream 1.2\"" -DDBUG_OFF -o dbug.o -c dbug.c  -Iinclude
In file included from stream_cli.c:42:
stream_config.h:49:2: warning: #warning FD_SETSIZE not reset
dbug.c:191: error: conflicting types for 'fprintf'
dbug.c:191: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
dbug.c:191: error: conflicting types for 'fprintf'
dbug.c:191: note: a parameter list with an ellipsis can't match an empty
parameter name list declaration
dbug.c:194: warning: conflicting types for built-in function 'malloc'
dbug.c:197: warning: conflicting types for built-in function 'strlen'
make: *** [dbug.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-sound/litestream-1.2 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

---

stream_config.h

<snip>
#ifndef STREAM_CONFIG_H

#define STREAM_CONFIG_H

#ifdef __FreeBSD__
#define FD_SETSIZE 2048
#else
#warning FD_SETSIZE not reset
#endif

#endif

Reproducible: Always
Steps to Reproduce:
1.emerge litestream
Actual Results:  
Compiling fails

Expected Results:  
Compile successfully

imsg3box ~ # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2-undine i686)
=================================================================
System uname: 2.6.14-gentoo-r2-undine i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=pentium4 -pipe"
CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O1 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.gg3.net
http://gentoo.channelx.biz http://ftp.gentoo.or.kr http://mirror.gentoo.gr.jp"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
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 aac alsa apache2 apm audiofile avi bash-completion berkdb
bitmap-fonts bmp bonobo browserplugin bzip2 cdr cjk crypt cups curl directfb eds
emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif
glut gmp gpm gstreamer gtk gtk2 gtkhtml howl iconv idn ieee1394 imagemagick
imlib ipv6 java javascript jikes jpeg junit lcms ldap libg++ libwww lua mad
matroska mhash migemo mikmod mime mmx mmxext mng motif mozilla mp3 mpeg mysql
ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl php
png python quicktime readline real recode samba sdl speex spell sse ssl svg szip
tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode verbose vorbis
win32codecs wmf xine xml xml2 xosd xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-17 03:27:40 UTC
The code seems foobar'd. I'm trying to get a hold of a newer version (1.3rc3), but if it hasn't changed the structure of the code radically, it will be a lot of pain to let it work on recent compilers (it "imports") the libc functions it uses, and they are imported with no params and with foolish return values.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-17 03:33:43 UTC
Okay seems like 1.3_rc3 is structured in a better way, that compiles with GCC4, too.
Added to the tree.
Comment 3 Luu Danh Hieu 2005-12-17 22:34:50 UTC
Thanks for the update :)