Summary: | www-client/downman-0.0.5 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan Novick <inovick> |
Component: | Current packages | Assignee: | 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
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. Working on this... 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.
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
amd64 - please check and commit this or it's gonna get removed. Thanks! 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. Created attachment 135145 [details, diff]
implicit declaration patch
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. |