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

[Pkg-octave-devel] Bug#831120: marked as done (octave: FTBFS with GCC 6: array/Range.cc:498:21: error: 'floor' is not a member of 'gnulib')



Your message dated Thu, 18 Aug 2016 23:00:50 +0000
with message-id <E1baWIs-0006zb-Ea@franck.debian.org>
and subject line Bug#831120: fixed in octave 4.0.3-2
has caused the Debian Bug report #831120,
regarding octave: FTBFS with GCC 6: array/Range.cc:498:21: error: 'floor' is not a member of 'gnulib'
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
831120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831120
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: octave
Version: 4.0.3-1
Severity: serious
Tags: stretch sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I./array -I./cruft/misc -Inumeric -I./numeric -Ioperators -I./operators -I./system -I./util -I../libgnu -I../libgnu          -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fopenmp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o array/array_libarray_la-Range.lo `test -f 'array/Range.cc' || echo './'`array/Range.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./array -I./cruft/misc -Inumeric -I./numeric -Ioperators -I./operators -I./system -I./util -I../libgnu -I../libgnu -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -fopenmp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c array/Range.cc  -fPIC -DPIC -o array/.libs/array_libarray_la-Range.o
> array/Range.cc: In function 'double tfloor(double, double)':
> array/Range.cc:498:21: error: 'floor' is not a member of 'gnulib'
>    double t1 = 1.0 + gnulib::floor (x);
>                      ^~~~~~
> array/Range.cc:498:21: note: suggested alternatives:
> In file included from ./util/oct-inttypes.h:34:0,
>                  from array/idx-vector.h:36,
>                  from array/Array.h:36,
>                  from array/MArray.h:28,
>                  from array/dNDArray.h:26,
>                  from array/dMatrix.h:26,
>                  from array/Range.h:28,
>                  from array/Range.cc:32:
> numeric/lo-mappers.h:282:1: note:   'floor'
>  floor (const std::complex<T>& x)
>  ^~~~~
> In file included from ./util/lo-math.h:27:0,
>                  from ./util/oct-inttypes.h:33,
>                  from array/idx-vector.h:36,
>                  from array/Array.h:36,
>                  from array/MArray.h:28,
>                  from array/dNDArray.h:26,
>                  from array/dMatrix.h:26,
>                  from array/Range.h:28,
>                  from array/Range.cc:32:
> /usr/include/c++/6/cmath:295:5: note:   'std::floor'
>      floor(_Tp __x)
>      ^~~~~
> array/Range.cc:502:8: error: 'floor' is not a member of 'gnulib'
>    t1 = gnulib::floor (x + t1);
>         ^~~~~~
> array/Range.cc:502:8: note: suggested alternatives:
> In file included from ./util/oct-inttypes.h:34:0,
>                  from array/idx-vector.h:36,
>                  from array/Array.h:36,
>                  from array/MArray.h:28,
>                  from array/dNDArray.h:26,
>                  from array/dMatrix.h:26,
>                  from array/Range.h:28,
>                  from array/Range.cc:32:
> numeric/lo-mappers.h:282:1: note:   'floor'
>  floor (const std::complex<T>& x)
>  ^~~~~
> In file included from ./util/lo-math.h:27:0,
>                  from ./util/oct-inttypes.h:33,
>                  from array/idx-vector.h:36,
>                  from array/Array.h:36,
>                  from array/MArray.h:28,
>                  from array/dNDArray.h:26,
>                  from array/dMatrix.h:26,
>                  from array/Range.h:28,
>                  from array/Range.cc:32:
> /usr/include/c++/6/cmath:295:5: note:   'std::floor'
>      floor(_Tp __x)
>      ^~~~~
> make[4]: *** [array/array_libarray_la-Range.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/octave_4.0.3-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: octave
Source-Version: 4.0.3-2

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

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 831120@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated octave 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 18 Aug 2016 23:32:15 +0200
Source: octave
Binary: octave octave-common octave-doc octave-htmldoc octave-info liboctave3v5 liboctave-dev
Architecture: source
Version: 4.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description:
 liboctave-dev - Development files for the GNU Octave language
 liboctave3v5 - Shared libraries of the GNU Octave language
 octave     - GNU Octave language for numerical computations
 octave-common - architecture-independent files for octave
 octave-doc - PDF documentation on the GNU Octave language
 octave-htmldoc - HTML documentation on the GNU Octave language
 octave-info - GNU Info documentation on the GNU Octave language
Closes: 831120
Changes:
 octave (4.0.3-2) unstable; urgency=medium
 .
   [ Rafael Laboissiere ]
   * d/liboctave3v5.lintian-overrides: Update SOVERSIONs of shared libraries
 .
   [ Mike Miller ]
   * Fix FTBFS with GCC 6.
     + d/p/gcc-6-abs-overload.patch: Work around abs overload changes.
     + d/p/gcc-6-include-math-stdlib.patch: Fix gnulib header file overrides.
     (Closes: #831120)
Checksums-Sha1:
 fc2630258e728759928cda5bc24d274831108b4f 3074 octave_4.0.3-2.dsc
 4507a0aa95ba69ff9577462442e1be14d2de7bbf 63552 octave_4.0.3-2.debian.tar.xz
Checksums-Sha256:
 ef7de6fd8f27013b091151a98a20198022df8cfe251dc0a1418e5d30fd5b317b 3074 octave_4.0.3-2.dsc
 e4b7b1e5739d86b47f36ae599694b09f83682d8449b12464de0f9af1caf39e6f 63552 octave_4.0.3-2.debian.tar.xz
Files:
 8ddfa5ad52089ea72e3ff0818453dd8b 3074 math optional octave_4.0.3-2.dsc
 499abe8c033fb77dc0c674dfa195f74c 63552 math optional octave_4.0.3-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXtjApAAoJECzs6TUOzr5K21kP/RX7lC0ofxQSWea1lc/gWS88
KRzxA7H8Hk2ObicymXK583Lg9qI3CDDe6BBbSPhPokiKtJe8iD4c+vYGcrf7VCUf
sf4XZ7xn7EzF5AVUWMJPtm8/OBcJEKCWQ9omLVnvwjXyYqeq00dJq/xn2PHHFhij
BorAI2P8VNcmgWlBqJ86Zr06ECzXkczunJCw5+B03AuM3Pi644fmCTyMntOw89eE
64JKlRehlz3DJ3shiAyJm7G1XJB+va95i1zndXCIvLgxiRyoxTmby/3nP3MYdmWF
3L/XCiCXWIROA6AkKt7jpBQ5T1FNDmiKSNU7u0ltRUnA/hJgsW6JmujhtGmAHNgt
IshyN+gzWg7TgETaJJPZbXkt8KxebH/QySqRbwbFPrAdqZWUoRKs0CBuLjgilL+I
SyahslGgsUFsw9pOt6kMZAK6S3pWfRyq1zZaAbvnBIqJleBdP1ZndBRoUGMA4qs6
CX/FBrQKumi4htuIeBdkPJmIWlqLrgcKzSd7dVuWGwF4A/8P3HJRM5r8F9QO2/Lp
yTixIkkvHJ143/cFsY5trVLD6SkCZYpYeoQnpXmzRlXWXcTpfISoI8ctG3BbX7ZL
ITxZvCRtYCgHwCoFl8fAxvwBqV3wJCDL7v1uRSuV09UQhbj/ZicLNDwxS4ZObuuk
0j7Ddxib9Gk30z7wosnd
=17Jc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: