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

Bug 126572

Summary: www-client/downman-0.0.5 fails to compile
Product: Gentoo Linux Reporter: Ivan Novick <inovick>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: inovick, whmesser
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: A patch to resolve issues in downman on amd64
downman-0.0.5-gcc4.patch
implicit declaration patch

Description Ivan Novick 2006-03-17 11:21:22 UTC
Here is the emerge --info.  The compile fails.


Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-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="-O2 -pipe -march=k8"
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 X alsa audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups dri dvd dvdr dvdread eds emboss encode esd exif expat fam foomaticdb fortran ftp gd gif glut gnome gpm gstreamer gtk gtk2 guile imap imlib ipv6 java jpeg kde lcms lzw lzw-tiff maildir mime mng motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin opengl pam pdflib perl png python qt quicktime readline sdl sockets spell ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userlocales xml xml2 xpm xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Ivan Novick 2006-03-17 11:22:47 UTC
In file included from project.c:8:
gtkcellrendererprogressbar.h:28:1: warning: "GTK_TYPE_CELL_RENDERER_PROGRESS" redefined
In file included from /usr/include/gtk-2.0/gtk/gtk.h:53,
                 from /usr/include/libgnomeui-2.0/gnome.h:4,
                 from project.c:1:
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:34:1: warning: this is the location of the previous definition
In file included from project.c:8:
gtkcellrendererprogressbar.h:31: error: redefinition of typedef 'GtkCellRendererProgress'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: error: previous declaration of 'GtkCellRendererProgress' was here
gtkcellrendererprogressbar.h:32: error: redefinition of typedef 'GtkCellRendererProgressClass'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: error: previous declaration of 'GtkCellRendererProgressClass' was here
gtkcellrendererprogressbar.h:35: error: redefinition of `struct _GtkCellRendererProgress'
gtkcellrendererprogressbar.h:40: error: redefinition of `struct _GtkCellRendererProgressClass'
make[5]: *** [project.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/downman-0.0.5/work/downman-0.0.5/clients/gnome/gdownman'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/downman-0.0.5/work/downman-0.0.5/clients/gnome/gdownman'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/downman-0.0.5/work/downman-0.0.5/clients/gnome'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/downman-0.0.5/work/downman-0.0.5/clients'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/downman-0.0.5/work/downman-0.0.5'
make: *** [all] Error 2

!!! ERROR: www-client/downman-0.0.5 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-19 04:13:32 UTC
Working on this...
Comment 3 Winston Messer 2007-05-05 22:42:03 UTC
Created attachment 118302 [details, diff]
A patch to resolve issues in downman on amd64

I cobbled this together on bugday 07 to try to resolve this issue.  On my system, downman compiles, executes, and functions correctly and without issue after the application of this patch.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-09-04 04:47:45 UTC
Created attachment 129969 [details, diff]
downman-0.0.5-gcc4.patch

Same patch, just cleaned up a bit.

If someone from amd64 can confirm it I'll add it to the tree.  My amd64 box is currently infested with Vista. :P
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-04 11:48:42 UTC
amd64 - please check and commit this or it's gonna get removed. Thanks!
Comment 6 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-11-04 12:37:50 UTC
I applied the patch on amd64 and everything compiled and ran fine. I also made up another patch to fix implicit declarations of function "strlen" in two files. I'll attach it.
Comment 7 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-11-04 12:38:30 UTC
Created attachment 135145 [details, diff]
implicit declaration patch
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-11-04 13:45:13 UTC
Thank guys,

  04 Nov 2007; Samuli Suominen <drac@gentoo.org>
  +files/downman-0.0.5-gcc-4.patch, +files/downman-0.0.5-strlen.patch,
  +downman-0.0.5-r1.ebuild:
  Revision bump, saving it from treecleaners wrt #126572. Since old versions
  failed to build with modern GCC, commit this straight to stable.