Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50720 - kaspaliste-0.94 fails to compile
Summary: kaspaliste-0.94 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-11 01:57 UTC by Axel Reimann
Modified: 2005-03-15 13:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Reimann 2004-05-11 01:57:00 UTC
Using gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r3, ssp-3.3-7, pie-8.5.3)
I get:

kaspabase.cpp: In member function `void KaspaBase::deleteAuthor(unsigned int)':
kaspabase.cpp:216: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePubl(unsigned int)':
kaspabase.cpp:484: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePubl(const char*)':
kaspabase.cpp:504: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deleteNote(const char*)':
kaspabase.cpp:662: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePart(const char*)':
kaspabase.cpp:775: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePartData(const char*)
   ':
kaspabase.cpp:899: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePublisher(const char*)
   ':
kaspabase.cpp:1015: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePublAuthor(const
   char*)':
kaspabase.cpp:1170: error: ISO C++ forbids variable-size array `publ'
kaspabase.cpp:1171: error: ISO C++ forbids variable-size array `author'
kaspabase.cpp: In member function `void KaspaBase::deletePublAuthor(unsigned
   int, unsigned int)':
kaspabase.cpp:1184: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deletePartAuthor(const
   char*)':
kaspabase.cpp:1251: error: ISO C++ forbids variable-size array `part'
kaspabase.cpp:1252: error: ISO C++ forbids variable-size array `author'
kaspabase.cpp: In member function `void KaspaBase::deletePartAuthor(unsigned
   int, unsigned int)':
kaspabase.cpp:1265: warning: deprecated conversion from string constant to `
   char*'
kaspabase.cpp: In member function `void KaspaBase::deleteLink(const char*)':
kaspabase.cpp:1303: warning: deprecated conversion from string constant to `
   char*'
make[3]: *** [kaspabase.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kaspaliste-0.94/work/kaspaliste-0.94/kaspaliste/klib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kaspaliste-0.94/work/kaspaliste-0.94/kaspaliste'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kaspaliste-0.94/work/kaspaliste-0.94'
make: *** [all] Error 2

!!! ERROR: app-text/kaspaliste-0.94 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 robertc96 2004-09-04 20:10:38 UTC
There is a new version of kaspaliste, kaspaliste-0.96.  When you rename the kaspaliste-0.94.ebuild to kaspaliste-0.96.ebuild and use kaspaliste-0.96.tar.gz the ebuild emerges successfully.  This new version of kaspaliste uses c++ rather than g++ which kaspaliste-0.94 seemed to use to compile.  Thus, it appears that the compile errors that were experienced: 
i.e. error: ISO C++ forbids variable-size array `publ'
may be attributed to the fact that kaspaliste-0.94 was using the stricter g++ compiler. 
As aside, I tried running kaspaliste-0.96 after emerging it but I experienced an empty window with most menus and toolbars missing.
The kaspaliste website http://kaspaliste.sourceforge.net/faq.html has several suggestions on how to fix this problem under point #2. Since I am unsure how to do it within the context of the kaspaliste-0.94 ebuild I will leave it for someone more knowledgeable to fix this issue.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-03 13:10:09 UTC
committed 0.96

printing herd: please have an eye on it and mark it stable, soon.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-15 13:02:14 UTC
marked stable