Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8924 - app-admin/powertweak 0.99.4 Compile error
Summary: app-admin/powertweak 0.99.4 Compile error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 9916 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-09 03:18 UTC by Cybje
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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 Cybje 2002-10-09 03:18:37 UTC
I get this compile error when I try to compile app-admin/powertweak 0.99.4:

g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -Wall -W -I../include
-DNO_STREAM -DNO_STREAMABLE -DSAFE_CODE -DHAVEGPM -march=athlon-xp -O3 -pipe -c
tapplica.cc  -fPIC -DPIC -o .libs/tapplica.lo
In file included from /usr/include/g++-v32/backward/iostream.h:31,
                 from ../include/pstream.h:26,
                 from ../include/tobjstrm.h:62,
                 from ../include/tv.h:566,
                 from fpbase.cc:16:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from /usr/include/g++-v32/backward/iostream.h:31,
                 from ../include/pstream.h:26,
                 from ../include/tobjstrm.h:62,
                 from ../include/tv.h:566,
                 from tapplica.cc:22:
/usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This
file includes at least one deprecated or antiquated header. Please consider
using one of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++
includes, or <sstream> instead of the deprecated header <strstream.h>. To
disable this warning use -Wno-deprecated.
In file included from ../include/tobjstrm.h:62,
                 from ../include/tv.h:566,
                 from tapplica.cc:22:
../include/pstream.h:34: friend declaration requires class-key, i.e. `friend 
   struct TStreamableTypes'
In file included from ../include/tobjstrm.h:68,
                 from ../include/tv.h:566,
                 from tapplica.cc:22:
../include/ipstream.h:40: parse error before `)' token
../include/ipstream.h:41: `streampos' was not declared in this scope
../include/ipstream.h:42: `streamoff' was not declared in this scope
../include/ipstream.h:42: `seek_dir' is not a member of type `
   std::basic_ios<char, std::char_traits<char> >'
../include/ipstream.h:42: redefinition of `ipstream&seekg'
../include/ipstream.h:41: `ipstream&seekg' previously defined here
In file included from ../include/tobjstrm.h:74,
                 from ../include/tv.h:566,
                 from tapplica.cc:22:
../include/opstream.h:41: parse error before `)' token
../include/opstream.h:42: `streampos' was not declared in this scope
../include/opstream.h:43: `streamoff' was not declared in this scope
../include/opstream.h:43: `seek_dir' is not a member of type `
   std::basic_ios<char, std::char_traits<char> >'
../include/opstream.h:43: redefinition of `opstream&seekp'
../include/opstream.h:42: `opstream&seekp' previously defined here
In file included from ../include/tobjstrm.h:62,
                 from ../include/tv.h:566,
                 from fpbase.cc:16:
../include/pstream.h:34: friend declaration requires class-key, i.e. `friend 
   struct TStreamableTypes'
In file included from ../include/tobjstrm.h:68,
                 from ../include/tv.h:566,
                 from fpbase.cc:16:
../include/ipstream.h:40: parse error before `)' token
../include/ipstream.h:41: `streampos' was not declared in this scope
../include/ipstream.h:42: `streamoff' was not declared in this scope
../include/ipstream.h:42: `seek_dir' is not a member of type `
   std::basic_ios<char, std::char_traits<char> >'
../include/ipstream.h:42: redefinition of `ipstream&seekg'
../include/ipstream.h:41: `ipstream&seekg' previously defined here
In file included from ../include/tobjstrm.h:74,
                 from ../include/tv.h:566,
                 from fpbase.cc:16:
../include/opstream.h:41: parse error before `)' token
../include/opstream.h:42: `streampos' was not declared in this scope
../include/opstream.h:43: `streamoff' was not declared in this scope
../include/opstream.h:43: `seek_dir' is not a member of type `
   std::basic_ios<char, std::char_traits<char> >'
../include/opstream.h:43: redefinition of `opstream&seekp'
../include/opstream.h:42: `opstream&seekp' previously defined here
{standard input}: Assembler messages:
{standard input}:17: Error: symbol `seekg' is already defined
{standard input}:31: Error: symbol `seekp' is already defined
make[4]: *** [tapplica.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from ../include/tobjstrm.h:86,
                 from ../include/tv.h:566,
                 from fpbase.cc:16:
../include/fpbase.h:40: `openprot' is not a member of type `
   std::basic_filebuf<char, std::char_traits<char> >'
../include/fpbase.h:35: `openprot' is not a member of type `
   std::basic_filebuf<char, std::char_traits<char> >'
fpbase.cc: In constructor `fpbase::fpbase(int)':
fpbase.cc:30: no matching function for call to `std::basic_filebuf<char, 
   std::char_traits<char> >::basic_filebuf(int&)'
/usr/include/g++-v32/iosfwd:83: candidates are: std::basic_filebuf<char, 
   std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char, 
   std::char_traits<char> >&)
/usr/include/g++-v32/fstream:99:                 std::basic_filebuf<_CharT, 
   _Traits>::basic_filebuf() [with _CharT = char, _Traits = 
   std::char_traits<char>]
fpbase.cc: In constructor `fpbase::fpbase(int, char*, int)':
fpbase.cc:35: no matching function for call to `std::basic_filebuf<char, 
   std::char_traits<char> >::basic_filebuf(int&, char*&, int&)'
/usr/include/g++-v32/iosfwd:83: candidates are: std::basic_filebuf<char, 
   std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char, 
   std::char_traits<char> >&)
/usr/include/g++-v32/fstream:99:                 std::basic_filebuf<_CharT, 
   _Traits>::basic_filebuf() [with _CharT = char, _Traits = 
   std::char_traits<char>]
fpbase.cc: In member function `void fpbase::open(const char*, int, int)':
fpbase.cc:47: no matching function for call to `std::basic_filebuf<char, 
   std::char_traits<char> >::open(const char*&, int&, int&)'
/usr/include/g++-v32/fstream:113: candidates are: std::basic_filebuf<_CharT, 
   _Traits>* std::basic_filebuf<_CharT, _Traits>::open(const char*, 
   std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
fpbase.cc: In member function `void fpbase::attach(int)':
fpbase.cc:57: no matching function for call to `std::basic_filebuf<char, 
   std::char_traits<char> >::attach(int&)'
/usr/include/g++-v32/fstream: In member function `void fpbase::setbuf(char*, 
   int)':
/usr/include/g++-v32/fstream:179: `std::basic_streambuf<_CharT, _Traits>* 
   std::basic_filebuf<_CharT, _Traits>::setbuf(_CharT*, int) [with _CharT = 
   char, _Traits = std::char_traits<char>]' is protected
fpbase.cc:73: within this context
{standard input}: Assembler messages:
{standard input}:17: Error: symbol `seekg' is already defined
{standard input}:31: Error: symbol `seekp' is already defined
make[4]: *** [fpbase.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/powertweak-0.99.4/work/powertweak/src/textmode/tvision/classes'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/powertweak-0.99.4/work/powertweak/src/textmode/tvision'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/powertweak-0.99.4/work/powertweak/src/textmode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/powertweak-0.99.4/work/powertweak/src'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -131, Exitcode 2
!!! (no error message)
Comment 1 Mark 2002-10-11 04:20:50 UTC
Any info about this?
Comment 2 Michael Goit 2002-10-18 15:32:51 UTC
I'm getting the same thing... 
Comment 3 Nick Hadaway 2002-10-29 13:20:20 UTC
I have released powertweak-0.99.5_pre20021029 into portage.
It should be fixed for all known compile issues and should accept your custom 
CFLAGS settings as well.  It is currently marked unstable.  Please test and let 
me know how things go.
Comment 4 SpanKY gentoo-dev 2002-10-29 19:45:17 UTC
*** Bug 9916 has been marked as a duplicate of this bug. ***
Comment 5 Nick Hadaway 2002-11-01 16:17:26 UTC
i have gotten verification on a couple of machines having a successful install.