Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38495 - rhide doesn't compile
Summary: rhide doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-17 02:43 UTC by Ovidiu Cojocaru
Modified: 2004-01-30 18:51 UTC (History)
0 users

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


Attachments
proposed fix (constructors.patch,1.79 KB, patch)
2004-01-23 08:47 UTC, jochen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ovidiu Cojocaru 2004-01-17 02:43:20 UTC
I'm using gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) with glibc 2.3.3_pre20031222 and generally a "~x86" system. When I try to emerge rhide-1.5-r1, the compilation fails. I included an excerpt of the error messages I get in the actual results from the the steps to reproduce it.

Reproducible: Always
Steps to Reproduce:
1.emerge rhide
2.
3.

Actual Results:  
I get the following errors:

gcc  -I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/rhgdb/include
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/librhgdb/include
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/libtvgdb/include
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/libtvuti/include
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/librhuti
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/include
-I/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/../tvision/include
-I/var/tmp/portage/rhide-1.5-r1/work/setedit/settvuti/include
-I/var/tmp/portage/rhide-1.5-r1/work/setedit/include -g -O2  -Wall -Werror  
-DFOR_LIBSET  -pipe -D_GNU_SOURCE  -fno-exceptions -fno-rtti  -O2
-march=athlon-xp -pipe    -c gdbedit.cc -o gdbedit.o
In file included from
/var/tmp/portage/rhide-1.5-r1/work/tvision/include/tv/stddlg.h:77,
                 from /var/tmp/portage/rhide-1.5-r1/work/tvision/include/tv.h:715,
		 from /var/tmp/portage/rhide-1.5-r1/work/setedit/settvuti/include/settvuti.h:179,
		 from /var/tmp/portage/rhide-1.5-r1/work/setedit/include/ceditor.h:102,
		 from gdbedit.cc:20:
/var/tmp/portage/rhide-1.5-r1/work/tvision/include/tv/filedlg.h: In constructor
	`TFileDialog::TFileDialog(StreamableInit)':
/var/tmp/portage/rhide-1.5-r1/work/tvision/include/tv/filedlg.h:74: warning: base
	`TDialog' will be initialized after
/var/tmp/portage/rhide-1.5-r1/work/tvision/include/tv/filedlg.h:74: warning:
	base `TWindowInit'
gdbedit.cc: In constructor `TGDBEditWindow::TGDBEditWindow(const TRect&, const
	char*, int)':
gdbedit.cc:129: warning: base `TCEditWindow' will be initialized after
gdbedit.cc:129: warning:   base `TWindowInit'
make[1]: *** [gdbedit.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/rhide-1.5-r1/work/rhide-1.5/rhgdb'
make: *** [rhgdb/rhgdb.exe] Error 2

!!! ERROR: dev-util/rhide-1.5-r1 failed.
!!! Function src_compile, Line 187, Exitcode 2
!!! (no error message)


Expected Results:  
It should compile cleanly as I didn't notice any bug related to this problem.
Comment 1 jochen 2004-01-23 08:47:47 UTC
Created attachment 24298 [details, diff]
proposed fix

fixes the reported bug. Just reverse the order of the constructors.
Comment 2 Ovidiu Cojocaru 2004-01-23 10:23:54 UTC
It worked! I declare this bug FIXED; hope the ebuild mantainer will include jochen's patch into portage. Thanks a lot jochen!
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-01-25 08:50:39 UTC
Please don't mark it as fixed when it's not in portage, otherwise it will drop from my list of open bugs and I might forget about it.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-01-30 18:51:02 UTC
fixed in CVS now