[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#455452: marked as done (FTBFS with GCC 4.3: #define redefined)



Your message dated Wed, 19 Dec 2007 08:47:03 +0000
with message-id <E1J4uZz-0004lw-4s@ries.debian.org>
and subject line Bug#455452: fixed in octplot 0.4.0-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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 ---
Package: octplot
Version: 0.4.0-4
Usertags: ftbfs-gcc-4.3

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.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of octplot_0.4.0-4 on em64t by sbuild/amd64 0.53
...
> g++  -I/usr/include/freetype2 -g -Wall -O2 -fPIC   -o octplot  -lfreetype -lz octplot-axes.o gl2ps.o octplot-prop_bool.o octplot-prop_string.o octplot-caselessless.o octplot-line.o octplot-prop_color.o octplot-object.o octplot-prop_handle.o octplot-root.o octplot-figure.o octplot-octplot_main.o octplot-prop_matrix.o octplot-socketcom.o octplot-figurewindow.o octplot-octplotapp.o octplot-prop_radio.o octplot-text.o octplot-ftglfontmanager.o octplot-op_com.o octplot-prop_scalar.o octplot-util.o octplot-line_plotter.o octplot-patch.o octplot-mathutils.o octplot-surface.o octplot-legend.o octplot-ticks.o octplot-prop_colorradio.o octplot-FTGLExtrdFont.o octplot-FTOutlineGlyph.o octplot-FTBitmapGlyph.o octplot-FTGLOutlineFont.o octplot-FTPixmapGlyph.o octplot-FTCharmap.o octplot-FTGLPixmapFont.o octplot-FTPoint.o octplot-FTContour.o octplot-FTGLPolygonFont.o octplot-FTPolyGlyph.o octplot-FTExtrdGlyph.o octplot-FTGLTextureFont.o octplot-FTSize.o octplot-FTFace.o octplot-FTGlyph.o octplot-FTTextureGlyph.o octplot-FTFont.o octplot-FTGlyphContainer.o octplot-FTVectoriser.o octplot-FTLibrary.o octplot-FTGLBitmapFont.o  /usr/lib/libfltk.a /usr/lib/libfltk_gl.a -lfltk_gl -lfltk -lGLU -lGL  -lm -lfreetype -lz
> mkoctfile -v -c octplot_command.cc
> /usr/bin/g++ -c -fPIC -I/usr/include/octave-2.9.17 -I/usr/include/octave-2.9.17/octave -O2 octplot_command.cc -o octplot_command.o
> In file included from octplot_command.cc:37:
> ../config.h:71:1: error: "PACKAGE_NAME" redefined
> In file included from /usr/include/octave-2.9.17/octave/oct.h:31,
>                  from octplot_command.cc:18:
> /usr/include/octave-2.9.17/octave/config.h:820:1: error: this is the location of the previous definition
> In file included from octplot_command.cc:37:
> ../config.h:74:1: error: "PACKAGE_STRING" redefined
> In file included from /usr/include/octave-2.9.17/octave/oct.h:31,
>                  from octplot_command.cc:18:
> /usr/include/octave-2.9.17/octave/config.h:823:1: error: this is the location of the previous definition
> In file included from octplot_command.cc:37:
> ../config.h:77:1: error: "PACKAGE_TARNAME" redefined
> In file included from /usr/include/octave-2.9.17/octave/oct.h:31,
>                  from octplot_command.cc:18:
> /usr/include/octave-2.9.17/octave/config.h:826:1: error: this is the location of the previous definition
> In file included from octplot_command.cc:37:
> ../config.h:80:1: error: "PACKAGE_VERSION" redefined
> In file included from /usr/include/octave-2.9.17/octave/oct.h:31,
>                  from octplot_command.cc:18:
> /usr/include/octave-2.9.17/octave/config.h:829:1: error: this is the location of the previous definition
> make[3]: *** [octplot_command.o] Error 1
> make[3]: Leaving directory `/build/tbm/octplot-0.4.0/src'
> make[2]: *** [all-recursive] Error 1

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



--- End Message ---
--- Begin Message ---
Source: octplot
Source-Version: 0.4.0-5

We believe that the bug you reported is fixed in the latest version of
octplot, which is due to be installed in the Debian FTP archive:

octplot_0.4.0-5.diff.gz
  to pool/main/o/octplot/octplot_0.4.0-5.diff.gz
octplot_0.4.0-5.dsc
  to pool/main/o/octplot/octplot_0.4.0-5.dsc
octplot_0.4.0-5_i386.deb
  to pool/main/o/octplot/octplot_0.4.0-5_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 455452@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octplot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 18 Dec 2007 15:28:38 +0100
Source: octplot
Binary: octplot
Architecture: source i386
Version: 0.4.0-5
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octplot    - graphical interface for Octave
Closes: 455452
Changes: 
 octplot (0.4.0-5) unstable; urgency=low
 .
   * Rebuilt against the newest octave2.9-headers (api-v30)
   * debian/rules: Use the (undocumented) CDBS target "post-patches" to
     touch the aclocal.m4 and configure files after the patches are
     applied.  This should avoid time skew issues and the package should
     build correctly on alpha, sparc, and powerpc architectures.
   * debian/patches/50_no_redefine_preproc.patch: Undefine some
     preprocessor directives that are both in the package's config.h and in
     Octave's config.h.  This should make the package compile with gcc-4.3
     (closes: #455452).
   * debian/control:
     + Dropped the Homepage pseudo-header from the extended description
     + Bumped Standards-Version to 3.7.3
Files: 
 38e09dd3b610c76749c1fd04c2b5c159 1016 math optional octplot_0.4.0-5.dsc
 b544725ff7843f4c4312bb4589f3b8b0 71582 math optional octplot_0.4.0-5.diff.gz
 c9527ef7e000ea0a3db71eafe1db2042 1030170 math optional octplot_0.4.0-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHaNj9k3oga0pdcv4RAvcuAJ45qAmJgaEio16wdrvFMDgvjL7ENACfZs7C
h+e5oE6A+TUsYcWxbWwOwwQ=
=EAIr
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: