Debian Bug report logs - #897707
arrayfire: ftbfs with GCC-8

version graph

Package: src:arrayfire; Maintainer for src:arrayfire is Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>;

Reported by: Matthias Klose <doko@debian.org>

Date: Fri, 4 May 2018 12:24:37 UTC

Severity: serious

Tags: bookworm, bullseye, buster, patch, sid, trixie

Found in version arrayfire/3.3.2+dfsg1-4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#897707; Package src:arrayfire. (Fri, 04 May 2018 12:24:39 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Fri, 04 May 2018 12:24:39 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: arrayfire: ftbfs with GCC-8
Date: Fri, 04 May 2018 12:20:49 +0000
Package: src:arrayfire
Version: 3.3.2+dfsg1-4
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-8

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/arrayfire_3.3.2+dfsg1-4_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-8/porting_to.html

[...]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long int; unsigned int dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; unsigned int dim = 0]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:33:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; unsigned int dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; unsigned int dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = long long unsigned int; unsigned int dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = long long unsigned int]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int dim = 0]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:33:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int dim = 1]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:34:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int dim = 2]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:35:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp: In instantiation of 'void opencl::kernel::lookup(opencl::Param, opencl::Param, opencl::Param, int) [with in_t = short int; idx_t = unsigned char; unsigned int dim = 3]':
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:36:47:   required from 'opencl::Array<T> opencl::lookup(const opencl::Array<T>&, const opencl::Array<idx_t>&, unsigned int) [with in_t = short int; idx_t = unsigned char]'
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/lookup.cpp:64:1:   required from here
/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/src/backend/opencl/kernel/lookup.hpp:83:7: warning: catching polymorphic type 'class cl::Error' by value [-Wcatch-value=]
make[3]: Leaving directory '/<<BUILDDIR>>/arrayfire-3.3.2+dfsg1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:182: src/backend/opencl/CMakeFiles/afopencl.dir/all] Error 2
make[1]: *** [Makefile:166: all] Error 2
dh_auto_build: cd obj-x86_64-linux-gnu && make -j8 -Oline returned exit code 2
make: *** [debian/rules:47: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



Severity set to 'serious' from 'normal' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Tue, 17 Jul 2018 17:45:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#897707; Package src:arrayfire. (Wed, 01 Aug 2018 22:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Bernhard Übelacker <bernhardu@mailbox.org>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 01 Aug 2018 22:00:04 GMT) (full text, mbox, link).


Message #12 received at 897707@bugs.debian.org (full text, mbox, reply):

From: Bernhard Übelacker <bernhardu@mailbox.org>
To: 897707@bugs.debian.org, Matthias Klose <doko@debian.org>
Subject: Re: arrayfire: ftbfs with GCC-8
Date: Wed, 1 Aug 2018 23:56:58 +0200
Hello,
just tried to have a look at #892288 but got stopped by this one.

Upstream handled this issue in [arrayfire/2148] and [arrayfire/2149].
Unfortunately this patch does not apply.

Also the pull request mentions another change is needed in the
boost library [boostorg/776].

Kind regards,
Bernhard


[arrayfire/2148] https://github.com/arrayfire/arrayfire/issues/2148
[arrayfire/2149] https://github.com/arrayfire/arrayfire/pull/2149
[boostorg/776]   https://github.com/boostorg/compute/pull/776



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#897707; Package src:arrayfire. (Sun, 03 Feb 2019 14:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Rebecca N. Palmer" <rebecca_palmer@zoho.com>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Sun, 03 Feb 2019 14:42:03 GMT) (full text, mbox, link).


Message #17 received at 897707@bugs.debian.org (full text, mbox, reply):

From: "Rebecca N. Palmer" <rebecca_palmer@zoho.com>
To: 897707@bugs.debian.org
Subject: Re: arrayfire FTBFS
Date: Sun, 3 Feb 2019 14:39:02 +0000
Control: tags -1 patch

Taking just this part of the upstream patch (the other parts are for 
code our version doesn't have), together with the Boost fix (which I 
will file a separate bug for), makes it build.

Description: Fix const-related FTBFS with GCC 8

Author: Pradeep "9prady9"
Origin: upstream https://github.com/arrayfire/arrayfire/pull/2149
Bug-Debian: https://bugs.debian.org/897707

--- a/src/backend/cpu/blas.cpp
+++ b/src/backend/cpu/blas.cpp
@@ -157,8 +157,8 @@ Array<T> matmul(const Array<T> &lhs, con
     int aColDim = (lOpts == CblasNoTrans) ? 1 : 0;
     int bColDim = (rOpts == CblasNoTrans) ? 1 : 0;

-    dim4 lDims = lhs.dims();
-    dim4 rDims = rhs.dims();
+    auto lDims = lhs.dims();
+    auto rDims = rhs.dims();
     int M = lDims[aRowDim];
     int N = rDims[bColDim];
     int K = lDims[aColDim];




Added tag(s) patch. Request was from "Rebecca N. Palmer" <rebecca_palmer@zoho.com> to 897707-submit@bugs.debian.org. (Sun, 03 Feb 2019 14:42:03 GMT) (full text, mbox, link).


Added tag(s) bullseye. Request was from ivodd@debian.org to control@bugs.debian.org. (Mon, 08 Jul 2019 08:37:35 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#897707; Package src:arrayfire. (Mon, 21 Jun 2021 15:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Röhling <roehling@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Mon, 21 Jun 2021 15:06:03 GMT) (full text, mbox, link).


Message #26 received at 897707@bugs.debian.org (full text, mbox, reply):

From: Timo Röhling <roehling@debian.org>
To: 897707@bugs.debian.org
Subject: Should this package be removed from Debian?
Date: Mon, 21 Jun 2021 16:56:41 +0200
[Message part 1 (text/plain, inline)]
Control: user debian-qa@lists.debian.org
Control: usertag -1 + proposed-removal

Given that this RC bug and #892288 have been unresolved for several
years and the last upload dates back to 2016 with multiple upstream
releases since, I believe this package should be considered for QA
removal.

Cheers
Timo

-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
[signature.asc (application/pgp-signature, inline)]

Added tag(s) bookworm. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Mon, 16 Aug 2021 07:04:36 GMT) (full text, mbox, link).


Added tag(s) trixie. Request was from Sebastian Ramacher <sramacher@debian.org> to control@bugs.debian.org. (Sun, 11 Jun 2023 15:40:23 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 30 06:36:38 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.