Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97034 - build error when emerge d4x
Summary: build error when emerge d4x
Status: RESOLVED DUPLICATE of bug 79204
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
: 97032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-25 06:16 UTC by Igor Vagulin
Modified: 2005-06-26 01:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch in plain-text (d4x_2.5.0rel-4.diff,30.11 KB, patch)
2005-06-25 06:55 UTC, Igor Vagulin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Vagulin 2005-06-25 06:16:39 UTC
When emerge net-misc/d4x-2.5.0_rc4 there are build errors and application don't
install

Reproducible: Always
Steps to Reproduce:
1.emerge net-misc/d4x
Actual Results:  
<command line>:4:1: warning: this is the location of the previous definition
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk       
-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -include ../../config.h
 -O3 -march=athlon-xp -fomit-frame-pointer -pipe       
 -mmmx -msse -m3dnow -ffast-math -funroll-loops -mfpmath=sse   -MT saveload.o
-MD -MP -MF ".deps/saveload.Tpo" -c -o saveload.o saveload.cc; \
then mv -f ".deps/saveload.Tpo" ".deps/saveload.Po"; else rm -f
".deps/saveload.Tpo"; exit 1; fi
In file included from <command line>:6:
./../../config.h:461:1: warning: "_REENTRANT" redefined
<command line>:4:1: warning: this is the location of the previous definition
lod.cc:130: error: conflicting declaration 'struct GtkCellRendererProgress'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: error:
'GtkCellRendererProgress' has a previous declaration as `typedef struct
_GtkCellRendererProgress GtkCellRendererProgress'
lod.cc:136: error: conflicting declaration 'struct GtkCellRendererProgressClass'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: error:
'GtkCellRendererProgressClass' has a previous declaration as `typedef struct
_GtkCellRendererProgressClass GtkCellRendererProgre       
ssClass'
lod.cc: In function `void gtk_cell_renderer_progress_set_property(GObject*,
guint, const GValue*, GParamSpec*)':
lod.cc:178: error: 'struct _GtkCellRendererProgress' has no member named 'percent'
lod.cc:181: error: 'struct _GtkCellRendererProgress' has no member named 'dwn'
lod.cc: In function `void gtk_cell_renderer_progress_render(GtkCellRenderer*,
GdkWindow*, GtkWidget*, GdkRectangle*, GdkRectangle*, GdkRectangle*,
GtkCellRendererState)':
lod.cc:198: error: 'struct _GtkCellRendererProgress' has no member named 'percent'
lod.cc:226: error: 'struct _GtkCellRendererProgress' has no member named 'dwn'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk       
-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config -include ../../config.h
 -O3 -march=athlon-xp -fomit-frame-pointer -pipe       
 -mmmx -msse -m3dnow -ffast-math -funroll-loops -mfpmath=sse   -MT edit.o -MD
-MP -MF ".deps/edit.Tpo" -c -o edit.o edit.cc; \
then mv -f ".deps/edit.Tpo" ".deps/edit.Po"; else rm -f ".deps/edit.Tpo"; exit 1; fi
make[3]: *** [lod.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[3]: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
In file included from <command line>:6:
./../../config.h:461:1: warning: "_REENTRANT" redefined
<command line>:4:1: warning: this is the location of the previous definition
make[3]: Leaving directory
`/var/tmp/portage/d4x-2.5.0_rc4/work/d4x-2.5.0rc4/main/face'
make[2]: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[2]: Leaving directory `/var/tmp/portage/d4x-2.5.0_rc4/work/d4x-2.5.0rc4/main'
make[1]: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make[1]: Leaving directory `/var/tmp/portage/d4x-2.5.0_rc4/work/d4x-2.5.0rc4'
make: *** [all] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 2



Portage 2.0.51.19 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.12.1 i686)
=================================================================
System uname: 2.6.12.1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  9 2005, 04:18:49)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -m3dnow
-ffast-math -funroll-loops -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -m3dnow
-ffast-math -funroll-loops -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/"
LANG="ru_RU.KOI8-R"
MAKEOPTS="-j2"
PKGDIR="/mnt/cdrom"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.aiya.ru/gentoo-portage/"
USE="x86 3dnow 3dnowex X acpi avi cdr cups curl emboss foomaticdb fortran gdbm
gif gpm gtk gtk2 imlib ithreads jpeg leim libg++ libwww mmx mmx2 motif mp3 mpeg
ncurses nls nosendmail nptl nptlonly ogg oggvorbis opengl oss pam pdflib png
python qt quicktime readline rtc samba sdl slang spell sse tiff truetype
truetype-fonts vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Igor Vagulin 2005-06-25 06:51:59 UTC
*** Bug 97032 has been marked as a duplicate of this bug. ***
Comment 2 Igor Vagulin 2005-06-25 06:55:53 UTC
Created attachment 61911 [details, diff]
patch in plain-text

fix this bug by debian.org
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-06-25 17:19:43 UTC
Do you have the same problem with net-misc/d4x-2.5.0?
Comment 4 Jonathan Smith (RETIRED) gentoo-dev 2005-06-25 17:27:47 UTC
(In reply to comment #3)
> Do you have the same problem with net-misc/d4x-2.5.0?

or 2.5.0-r1?
Comment 5 Igor Vagulin 2005-06-26 01:10:51 UTC
There are same problem with masked net-misc/d4x-2.5.0 (From
d4x-2.5.0final.tar.gz source)
Comment 6 Igor Vagulin 2005-06-26 01:23:53 UTC
How author describe this error: GtkCellRenderer class was absent in GTK2.4 so
I've written it by myself.
Comment 7 Igor Vagulin 2005-06-26 01:36:55 UTC

*** This bug has been marked as a duplicate of 79204 ***