Bug 80315 - cdw-0.2.3 fails to compile
Bug#: 80315 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mr_bones_@gentoo.org Reported By: acid.punk@gmx.net
Component: Ebuilds
URL: 
Summary: cdw-0.2.3 fails to compile
Keywords:  
Status Whiteboard: 
Opened: 2005-02-01 03:43 0000
Description:   Opened: 2005-02-01 03:43 0000
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config      -march=pentium-m -O2 -pipe -c `test -f
'gtk_cddb.c' || echo './'`gtk_cddb.c
gtkgui.c: In function `dirsize_gtk':
gtkgui.c:1209: Fehler: zu viele Argumente f

------- Comment #1 From alex f 2005-02-01 03:43:32 0000 -------
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config      -march=pentium-m -O2 -pipe -c `test -f
'gtk_cddb.c' || echo './'`gtk_cddb.c
gtkgui.c: In function `dirsize_gtk':
gtkgui.c:1209: Fehler: zu viele Argumente für Funktion »malloc«
gtkgui.c: In function `select_window_gtk':
gtkgui.c:1274: Fehler: zu viele Argumente für Funktion »malloc«
make[2]: *** [gtkgui.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Leaving directory `/var/tmp/portage/cdw-0.2.3/work/cdw-0.2.3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/cdw-0.2.3/work/cdw-0.2.3'
make: *** [all] Fehler 2

!!! ERROR: app-cdr/cdw-0.2.3 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

$ emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 29 2004, 16:37:00)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.osuosl.org http://www.ibiblio.org/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.gentoo.org/gentoo-portage"
USE="x86 X X509 aac acpi alsa artworkextra avi berkdb bitmap-fonts cdr crypt
cups dhcp directfb divx4linux dmx dvb dvd dvdr dvdread eds encode ethereal evo
faad fam fbcon flac font-server foomaticdb gdbm gif gmail gnome gnutls gphoto2
gpm gstreamer gtk gtk2 gtkhtml guile hal howl imap imlib ipv6 java jce jpeg
libcaca libg++ libwww mad maildir matroska mbox mikmod mime mmap mmx mmx2 mng
mono motif mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses network
nls nntp noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet
nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl
nptlonly objc oggvorbis opengl pcre pdflib perl pic png pnp python quicktime
readline real rtc ruby samba sdl skey speex spell sse sse2 ssl svg svga tcpd
theora threads tiff truetype truetype-fonts trusted type1-fonts ucs2 unicode
xml2 xv xvid zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #2 From Carsten Lohrke 2005-02-01 05:13:28 0000 -------
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Infrastructure is not the correct addressee.

------- Comment #3 From Mr. Bones. 2005-02-01 07:34:03 0000 -------
use gcc-3.3

------- Comment #4 From alex f 2005-02-03 15:16:23 0000 -------
I have CFLAGS="-march=pentium-m -O2 -pipe" which isn't supported by gcc-3.3.
Maybe change DEPEND to reflect that it wont build with gcc-3.4?

------- Comment #5 From Janne Johansson 2005-03-01 06:58:52 0000 -------
Actually it seems that the GTK use-flag breaks the compile. Without it it
compiles just fine.

------- Comment #6 From alex f 2005-03-01 09:29:13 0000 -------
It seems Janne is right. It compiles with USE=-gtk

------- Comment #7 From Mr. Bones. 2005-03-25 22:36:24 0000 -------
added a patch from debian so resync and try merging it again please.

------- Comment #8 From alex f 2005-03-29 03:01:11 0000 -------
Yes it compiled with USE=gtk now.

------- Comment #9 From Mr. Bones. 2005-03-29 07:16:04 0000 -------
good.  thanks for testing.