Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 214364

Summary: app-office/kspread-1.6.2 fails w/gcc 4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: 1i5t5.duncan, esigra, gcc-porting
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: kspread-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-03-23 13:15:12 UTC
Having applied the pertinent part of the Fedora GCC 4.3.0 patch for koffice at this address:
http://cvs.fedoraproject.org/viewcvs/devel/koffice/koffice-1.6.3-gcc43.patch?rev=1.1&view=log
a build error still persists:

/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/bin/bash ../../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -c -o stream.lo stream.cc
/bin/bash ../../../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF  -c -o tablenames.lo tablenames.cc
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/backward/strstream:51,
                 from stream.cc:34:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
stream.cc: In member function 'QpIStream& QpIStream::operator>>(char*&)':
stream.cc:213: error: 'memcpy' was not declared in this scope
make[6]: *** [stream.lo] Error 1
make[6]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/filters/kspread/qpro/libqpro/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/filters/kspread/qpro/libqpro'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/filters/kspread/qpro'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/filters/kspread'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/kspread-1.6.2/work/kspread-1.6.2'
make: *** [all] Error 2

This error can be rectified by bumping to kspread-1.6.3.

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-03-23 13:17:04 UTC
Created attachment 147002 [details, diff]
kspread-gcc43.patch
Comment 2 Hanno Böck gentoo-dev 2008-05-17 14:52:59 UTC
thanks, done