[email protected]
[Top] [All Lists]

Bug#417516: marked as forwarded (FTBFS with GCC 4.3: missing #includes)

Subject: Bug#417516: marked as forwarded FTBFS with GCC 4.3: missing #includes
From: Debian Bug Tracking System
Date: Mon, 02 Apr 2007 23:18:10 +0000
Your message dated Mon, 2 Apr 2007 18:17:12 -0500
with message-id <[email protected]>
has caused the Debian Bug report #417516,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as having been forwarded to the upstream software
author(s) Duncan Murdoch <[email protected]>, Daniel Adler 
<[email protected]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
From: Dirk Eddelbuettel
Date: Mon, 2 Apr 2007 18:17:12 -0500
Subject: Re: Bug#417516: FTBFS with GCC 4.3: missing #includes
In-Reply-To: <[email protected]>
References: <[email protected]>
        <[email protected]>
X-Mailer: VM 7.19 under Emacs 21.4.1
FCC: /home/edd/mail/rgl
From: Dirk Eddelbuettel <[email protected]>
--text follows this line--

Martin,

Thanks for the bug report. I am forwarding this to rgl's author for
consideration for a future 0.71 release.

On 2 April 2007 at 23:10, Martin Michlmayr wrote:
| Package: rgl
| Version: 0.70-1
| Usertags: ftbfs-gcc-4.3
| Tags: patch
| 
| Your package fails to build with GCC 4.3.  Version 4.3 has not been
| released yet but I'm building with a snapshot in order to find errors
| and give people an advance warning.  In GCC 4.3, the C++ header
| dependencies have been cleaned up.  The advantage of this is that
| programs will compile faster.  The downside is that you actually
| need to directly #include everything you use (but you really should
| do this anyway, otherwise your program won't work with any compiler
| other than GCC).  Some background of this can be found at
| http://gcc.gnu.org/PR28080
| 
| You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
| from unstable.
| 
| > Automatic build of rgl_0.70-1 on coconut0 by sbuild/ia64 0.49
| ...
| > g++ -I/usr/share/R/include -I/usr/share/R/include -I -DHAVE_PNG_H 
-I/usr/include/libpng12 -Iext     -fpic  -g -O2 -c rglview.cpp -o rglview.o
| > rglview.cpp: In member function 'bool RGLView::postscript(int, const char*, 
bool)':
| > rglview.cpp:592: error: 'LC_NUMERIC' was not declared in this scope
| > rglview.cpp:592: error: 'setlocale' was not declared in this scope
| > make[1]: *** [rglview.o] Error 1
| 
| Sorry, I've no idea if there are any other errors after this because I
| cannot work out how the build system works. ... Ah, okay, seems this
| is the only problem.
| 
| --- src/rglview.cpp~  2007-04-02 22:02:22.000000000 +0000
| +++ src/rglview.cpp   2007-04-02 22:02:31.000000000 +0000
| @@ -12,6 +12,7 @@
|  #include "fps.h"
|  #include "select.h"
|  #include "gl2ps.h"
| +#include <locale>
|  
|  //
|  // CAMERA config
| 

Looks good. I guess I could test that in a few days once I get -- I'm about
to head out of town for a few days.

Regards, Dirk

| -- 
| Martin Michlmayr
| http://www.cyrius.com/
| 

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#417516: marked as forwarded (FTBFS with GCC 4.3: missing #includes), Debian Bug Tracking System <=