Your message dated Mon, 7 May 2012 21:42:03 -0500
with message-id <[email protected]>
has caused the report #667355,
regarding rgl: ftbfs with GCC-4.7
to be marked as having been forwarded to the upstream software
author(s) Duncan Murdoch <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
667355: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667355
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi Duncan,
Do you have a g++-4.7 handy? rgl falls over, and 4.7 has now become the
default compiler in Debian (whereas it merely the new optional one when the
bug was filed).
I looked at this for a few minutes as I first thought it was just #include
<algorithm> missing but it is not.
Help would be appreciated. I can test patches if it helps.
Cheers, Dirk
On 3 April 2012 at 23:12, Matthias Klose wrote:
| Package: rgl
| Version: 0.92.861-1
| Severity: important
| Tags: sid wheezy
| User: [email protected]
| Usertags: ftbfs-gcc-4.7
|
| The package fails to build in a test rebuild on at least amd64 with
| gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
| severity of this report may be raised before the wheezy release.
|
| types.h:98:5: error: 'copy' was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
|
| The full build log can be found at:
|
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/rgl_0.92.861-1_unstable-gcc47.log
| The last lines of the build log are at the end of this report.
|
| Some hints on fixing these issues can be found at
| http://gcc.gnu.org/gcc-4.7/porting_to.html
|
| To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
| or install the gcc, g++, gfortran, ... packages from experimental.
|
| [...]
| make[1]: Entering directory `/«PKGBUILDDIR»/src'
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c ABCLineSet.cpp -o ABCLineSet.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c BBoxDeco.cpp -o BBoxDeco.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c Background.cpp -o Background.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c Color.cpp -o Color.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c Disposable.cpp -o Disposable.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c Light.cpp -o Light.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c LineSet.cpp -o LineSet.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c LineStripSet.cpp -o
LineStripSet.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c Material.cpp -o Material.o
| g++ -I/usr/share/R/include -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng12
-Iext -O3 -pipe -g -fpic -O3 -pipe -g -c PlaneSet.cpp -o PlaneSet.o
| In file included from scene.h:9:0,
| from PlaneSet.hpp:4,
| from PlaneSet.cpp:1:
| types.h: In instantiation of 'ARRAY<T>::ARRAY(int, SRC*) [with SRC = double;
T = float]':
| PlaneSet.cpp:17:32: required from here
| types.h:98:5: error: 'copy' was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]
| In file included from /usr/include/c++/4.7/vector:61:0,
| from scene.h:10,
| from PlaneSet.hpp:4,
| from PlaneSet.cpp:1:
| /usr/include/c++/4.7/bits/stl_algobase.h:444:5: note: 'template<class _II,
class _OI> _OI std::copy(_II, _II, _OI)' declared here, later in the
translation unit
| make[1]: *** [PlaneSet.o] Error 1
| make[1]: Leaving directory `/«PKGBUILDDIR»/src'
| make[1]: Entering directory `/«PKGBUILDDIR»/src'
| make[1]: Leaving directory `/«PKGBUILDDIR»/src'
| ERROR: compilation failed for package 'rgl'
| * removing '/«PKGBUILDDIR»/debian/r-cran-rgl/usr/lib/R/site-library/rgl'
| make: *** [R_any_arch] Error 1
| dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit
status 2
|
|
--
R/Finance 2012 Conference on May 11 and 12, 2012 at UIC in Chicago, IL
See agenda, registration details and more at http://www.RinFinance.com
--- End Message ---