Here's the print out:
[ 16%] Building CXX object src/CMakeFiles/compiz_core.dir/screen.cpp.o
cd /home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build/src && /usr/bin/c++ -DHAVE_CONFIG_H -DHAVE_SCANDIR_POSIX -Dcompiz_core_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -O2 -g -DNDEBUG -fPIC -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build/generated -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/startup-notification-1.0 -I/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/string/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/string/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/logmessage/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/logmessage/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/timer/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/timer/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/pluginclasshandler/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/pluginclasshandler/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/point/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/point/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/rect/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/rect/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/servergrab/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/servergrab/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/region/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/region/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry-saver/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry-saver/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/extents/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/extents/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/constrainment/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/constrainment/src -DPLUGINDIR=\"/usr/lib64/compiz\" -DSHAREDIR=\"/usr/share/compiz/\" -DMETADATADIR=\"/usr/share/compiz\" -o CMakeFiles/compiz_core.dir/screen.cpp.o -c /home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/screen.cpp
/usr/bin/cmake -E cmake_progress_report /home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build/CMakeFiles
[ 16%] Building CXX object src/CMakeFiles/compiz_core.dir/window.cpp.o
cd /home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build/src && /usr/bin/c++ -DHAVE_CONFIG_H -DHAVE_SCANDIR_POSIX -Dcompiz_core_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -fPIC -Wall -Wno-unused-private-field -Wno-deprecated-declarations -O2 -g -DNDEBUG -fPIC -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build/generated -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/startup-notification-1.0 -I/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/string/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/string/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/logmessage/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/logmessage/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/timer/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/timer/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/pluginclasshandler/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/pluginclasshandler/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/point/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/point/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/rect/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/rect/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/servergrab/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/servergrab/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/region/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/region/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry-saver/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/geometry-saver/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/extents/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/extents/src -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/constrainment/include -I/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window/constrainment/src -DPLUGINDIR=\"/usr/lib64/compiz\" -DSHAREDIR=\"/usr/share/compiz/\" -DMETADATADIR=\"/usr/share/compiz\" -o CMakeFiles/compiz_core.dir/window.cpp.o -c /home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp: In function 'bool isPendingRestack(compiz::X11::PendingEvent::Ptr)':
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:2953:50: error: 'shared_static_cast' is not a member of 'boost'
compiz::X11::PendingConfigureEvent::Ptr pc = boost::shared_static_cast <compiz::X11::PendingConfigureEvent> (p);
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:2953:111: error: expected primary-expression before '>' token
compiz::X11::PendingConfigureEvent::Ptr pc = boost::shared_static_cast <compiz::X11::PendingConfigureEvent> (p);
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp: In function 'bool isExistingRequest(compiz::X11::PendingEvent::Ptr, XWindowChanges&, unsigned int)':
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:2960:50: error: 'shared_static_cast' is not a member of 'boost'
compiz::X11::PendingConfigureEvent::Ptr pc = boost::shared_static_cast <compiz::X11::PendingConfigureEvent> (p);
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:2960:111: error: expected primary-expression before '>' token
compiz::X11::PendingConfigureEvent::Ptr pc = boost::shared_static_cast <compiz::X11::PendingConfigureEvent> (p);
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp: In member function 'void PrivateWindow::reconfigureXWindow(unsigned int, XWindowChanges*)':
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:3186:7: error: 'shared_static_cast' is not a member of 'boost'
boost::shared_static_cast<compiz::X11::PendingEvent> (compiz::X11::PendingConfigureEvent::Ptr (
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:3186:58: error: expected primary-expression before '>' token
boost::shared_static_cast<compiz::X11::PendingEvent> (compiz::X11::PendingConfigureEvent::Ptr (
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp: In member function 'int PrivateWindow::addWindowStackChanges(XWindowChanges*, CompWindow*)':
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:3977:8: error: 'shared_static_cast' is not a member of 'boost'
boost::shared_static_cast<compiz::X11::PendingEvent> (compiz::X11::PendingConfigureEvent::Ptr (
^
/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/src/window.cpp:3977:59: error: expected primary-expression before '>' token
boost::shared_static_cast<compiz::X11::PendingEvent> (compiz::X11::PendingConfigureEvent::Ptr (
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-unused-private-field" [enabled by default]
make[2]: *** [src/CMakeFiles/compiz_core.dir/window.cpp.o] Error 1
make[2]: Leaving directory `/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build'
make[1]: *** [src/CMakeFiles/compiz_core.dir/all] Error 2
make[1]: Leaving directory `/home/bobby/rpmbuild/BUILD/compiz-0.9.9.0/build'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.YXLZO1 (%build)
From the looks of it boost may have done away with shared_static_cast in this release, maybe. Also, the same error occurs in main branch of bzr launchpad.
Thanks for the great work by the way! Compiz is my desktop environment. I'm running fedora rawhide just in case that makes a difference. I did a rebuild because the boost update messed with a little program I'm working on.
Bobby
after using the patch in current snapshot i get those errors in fedora rawhide.
[ 12%] Building CXX object src/CMakeFiles/ compiz_ core.dir/ window. cpp.o rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp: In function ‘bool isPendingRestac k(const Ptr&)’: rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp:3028: 2: error: ‘shared_ static_ cast’ is not a member of ‘boost’ :shared_ static_ cast <compiz: :X11::PendingCo nfigureEvent> (p); rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp:3028: 63: error: expected primary-expression before ‘>’ token :shared_ static_ cast <compiz: :X11::PendingCo nfigureEvent> (p);
^ rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp: In function ‘bool isExistingReque st(const Ptr&, XWindowChanges&, unsigned int)’: rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp:3038: 6: error: ‘shared_ static_ cast’ is not a member of ‘boost’ :shared_ static_ cast <compiz: :X11::PendingCo nfigureEvent> (p); rave/Jackass/ Downloads/ f19/compiz/ 0.9.9/compiz/ ~compiz- team/compiz/ 0.9.9/src/ window. cpp:3038: 67: error: expected primary-expression before ‘>’ token :shared_ static_ cast <compiz: :X11::PendingCo nfigureEvent> (p);
^ private- field" [-Werror] private- field" [-Werror] private- field" [-Werror] /compiz_ core.dir/ window. cpp.o] Error 1 /compiz_ core.dir/ all] Error 2
/run/media/
/run/media/
boost:
^
/run/media/
boost:
/run/media/
/run/media/
boost:
^
/run/media/
boost:
At global scope:
cc1plus: error: unrecognized command line option "-Wno-unused-
cc1plus: error: unrecognized command line option "-Wno-unused-
cc1plus: error: unrecognized command line option "-Wno-unused-
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles
make[1]: *** [src/CMakeFiles
I'm the current compiz maintainer in fedora and i use 0.8.8 for the moment.
But i'm thinking about to update if compiling works.
regards,
Wolfgang Ulbrich