Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125196 - dev-db/libodbc++-0.2.3-r1 fails (gcc4)
Summary: dev-db/libodbc++-0.2.3-r1 fails (gcc4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-06 01:32 UTC by Patrizio Bassi
Modified: 2006-04-13 17:07 UTC (History)
1 user (show)

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


Attachments
gcc-4.1 patch (libodbc++-0.2.3-gcc41.patch,456 bytes, patch)
2006-04-08 18:25 UTC, Mark Loeser (RETIRED)
Details | Diff
doxygen patch (libodbc++-0.2.3-doxygen.patch,561 bytes, patch)
2006-04-08 18:26 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2006-03-06 01:32:49 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src -I.. -I/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include -I../include -DIN_ODBCXX -D_GNU_SOURCE -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -c /var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp -MT drivermanager.lo -MD -MP -MF .deps/drivermanager.TPlo  -fPIC -DPIC -o .libs/drivermanager.lo
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include/odbc++/drivermanager.h:102: error: ISO C++ forbids declaration of 'ErrorHandler' with no type
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/include/odbc++/drivermanager.h:102: error: expected ';' before '*' token
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:31: error: 'odbc::ErrorHandler* odbc::DriverManager::eh_' is not a static member of 'class odbc::DriverManager'
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function 'static void odbc::DriverManager::shutdown()':
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:69: error: 'eh_' was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:75: error: 'eh_' was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function 'static void odbc::DriverManager::_checkInit()':
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:108: error: 'eh_' was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function 'static odbc::Connection* odbc::DriverManager::_createConnection()':
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:142: error: 'eh_' was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function 'static odbc::DataSourceList* odbc::DriverManager::getDataSources()':
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:212: error: 'eh_' was not declared in this scope
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp: In static member function 'static odbc::DriverList* odbc::DriverManager::getDrivers()':
/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3/src/drivermanager.cpp:259: error: 'eh_' was not declared in this scope
make[2]: *** [drivermanager.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libodbc++-0.2.3-r1/work/libodbc++-0.2.3-build'
make: *** [all] Error 2

!!! ERROR: dev-db/libodbc++-0.2.3-r1 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-25 14:19:16 UTC
patches welcome.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-08 18:25:52 UTC
Created attachment 84243 [details, diff]
gcc-4.1 patch

I ran into two problems...here is the patch for gcc-4.1
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-04-08 18:26:18 UTC
Created attachment 84244 [details, diff]
doxygen patch

And the doxygen error
Comment 4 Patrizio Bassi 2006-04-09 12:19:37 UTC
please commit :)
Comment 5 Patrizio Bassi 2006-04-11 00:29:44 UTC
i just found this error in ebuild:

/usr/portage/dev-db/libodbc++/libodbc++-0.2.3-r1.ebuild: line 37: append-flags: command not found


flag-o-matic needed?
Comment 6 Patrizio Bassi 2006-04-12 02:01:49 UTC
however it compiles and installes flawlessy, apply to portage and close :)
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 17:07:40 UTC
Fixed, thanks for reporting.