Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269751 - dev-libs/poco-1.3.3_p1 fails to build w/ gcc-4.4.0
Summary: dev-libs/poco-1.3.3_p1 fails to build w/ gcc-4.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller
URL: http://poco.svn.sourceforge.net/viewv...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-05-13 20:32 UTC by Peter Alfredsen (RETIRED)
Modified: 2009-06-06 14:50 UTC (History)
3 users (show)

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


Attachments
Patch allowing dev-libs/poco/poco-1.3.3 to compile against gcc 4.4 (1.3.3_p1-gcc44.patch,529 bytes, patch)
2009-05-15 21:23 UTC, Víctor Ostorga (RETIRED)
Details | Diff
Patch against current dev-libs/poco/poco-1.3.3_p1.ebuild (poco-1.3.3_p1-r1.ebuild.patch,449 bytes, patch)
2009-05-15 21:23 UTC, Víctor Ostorga (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2009-05-13 20:32:43 UTC
Patch from trunk in URL

** Compiling src/Environment.cpp (debug, shared)
x86_64-pc-linux-gnu-g++ -Iinclude -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/XML/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Util/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Net/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Data/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Zip/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/NetSSL_OpenSSL/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Crypto/include -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -Wall -Wno-sign-compare -DPOCO_BUILD_HOST=loki  -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -g -D_DEBUG -fPIC -c src/Environment.cpp -o /dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/obj/Linux/x86_64/debug_shared/Environment.o
** Compiling src/Event.cpp (debug, shared)
x86_64-pc-linux-gnu-g++ -Iinclude -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/XML/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Util/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Net/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Data/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Zip/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/NetSSL_OpenSSL/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Crypto/include -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -Wall -Wno-sign-compare -DPOCO_BUILD_HOST=loki  -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -g -D_DEBUG -fPIC -c src/Event.cpp -o /dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/obj/Linux/x86_64/debug_shared/Event.o
** Compiling src/EventArgs.cpp (debug, shared)
x86_64-pc-linux-gnu-g++ -Iinclude -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/XML/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Util/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Net/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Data/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Zip/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/NetSSL_OpenSSL/include -I/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Crypto/include -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 -mtune=core2 -pipe -Wall -ggdb -Wall -Wno-sign-compare -DPOCO_BUILD_HOST=loki  -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -g -D_DEBUG -fPIC -c src/EventArgs.cpp -o /dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/obj/Linux/x86_64/debug_shared/EventArgs.o
src/Environment.cpp: In static member function ‘static std::string Poco::Environment::nodeId()’:
src/Environment.cpp:111: error: ‘sprintf’ is not a member of ‘std’
make[1]: *** [/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation/obj/Linux/x86_64/debug_shared/Environment.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/dev/shm/portage/dev-libs/poco-1.3.3_p1/work/poco-1.3.3p1-all/Foundation'
make: *** [Foundation-libexec] Error 2
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2009-05-15 21:23:15 UTC
Created attachment 191425 [details, diff]
Patch allowing dev-libs/poco/poco-1.3.3 to compile against gcc 4.4

Simple patch
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-05-15 21:23:50 UTC
Created attachment 191426 [details, diff]
Patch against current dev-libs/poco/poco-1.3.3_p1.ebuild
Comment 3 Samuli Suominen gentoo-dev 2009-06-06 14:50:28 UTC
+  06 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +files/1.3.3_p1-gcc44.patch, poco-1.3.3_p1.ebuild:
+  Fix compile with GCC 4.4 wrt #269751, thanks to Peter Alfredsen and Victor
+  Ostorga.