← Back to team overview

desktop-packages team mailing list archive

[Bug 1131864] Re: After Upgrade to Boost 1.53 Build Fails

 

** Changed in: compiz
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1131864

Title:
  After Upgrade to Boost 1.53 Build Fails

Status in Compiz:
  Fix Released
Status in Unity for Arch:
  Fix Released
Status in “compiz” package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1131864/+subscriptions