Your message dated Sun, 31 Jul 2016 16:42:17 +0000
with message-id <e1bttog-0002af...@franck.debian.org>
and subject line Bug#822783: fixed in nvidia-cuda-toolkit 7.5.18-3
has caused the Debian Bug report #822783,
regarding eztrace-contrib: FTBFS with libc 2.23: 'memcpy' was not declared in 
this scope
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 ow...@bugs.debian.org
immediately.)


-- 
822783: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822783
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: eztrace-contrib
Version: 1.1-2-1
Severity: important
Tags: patch
User: debian-gl...@lists.debian.org
Usertags: 2.23

Hi Maintainer

Eztrace-contrib FTBFS with glibc 2.23 available in Experimental and
Ubuntu Xenial.

> /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> void*, size_t)’:
> /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
>    return (char *) memcpy (__dest, __src, __n) + __n;
>                                           ^
> /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> void*, size_t)’:
> /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
>    return (char *) memcpy (__dest, __src, __n) + __n;
>                                           ^
> /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const 
> void*, size_t)’:
> /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
>    return (char *) memcpy (__dest, __src, __n) + __n;

I found a similar issue had been reported for TensorFlow [1], and the solution:

> @e14159 can you try with -D_FORCE_INLINES? I just had the same issue with pcl,
> I checked the string.h header, and using that preprocessor directive skips 
> the block
> where the memcpy error appears. There's probably a cleaner workaround 
> though...

I also encountered and reported a similar issue in Theano [2].

I was able to get eztrace-contrib to build in Ubuntu by adding
-D_FORCE_INLINES to CPPFLAGS as per the attached patch.

Regards
Graham


[1] https://github.com/tensorflow/tensorflow/issues/1346
[2] https://github.com/Theano/Theano/pull/4369
diff -Nru eztrace-contrib-1.1-2/debian/rules eztrace-contrib-1.1-2/debian/rules
--- eztrace-contrib-1.1-2/debian/rules  2016-02-05 13:56:09.000000000 +0200
+++ eztrace-contrib-1.1-2/debian/rules  2016-03-31 14:13:55.000000000 +0200
@@ -3,6 +3,7 @@
 DEB_HOST_ARCH_CPU=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_CPPFLAGS_MAINT_APPEND = -D_FORCE_INLINES
 
 ifeq ($(DEB_HOST_ARCH_CPU),s390x)
 OPENMPI=no

--- End Message ---
--- Begin Message ---
Source: nvidia-cuda-toolkit
Source-Version: 7.5.18-3

We believe that the bug you reported is fixed in the latest version of
nvidia-cuda-toolkit, 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 822...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated nvidia-cuda-toolkit 
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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 31 Jul 2016 15:50:16 +0200
Source: nvidia-cuda-toolkit
Binary: nvidia-cuda-toolkit nvidia-cuda-doc nvidia-cuda-gdb nvidia-profiler 
nvidia-visual-profiler nvidia-nsight nvidia-cuda-dev nvidia-opencl-dev 
libcudart7.5 libcublas7.5 libnvblas7.5 libcufft7.5 libcufftw7.5 libcusparse7.5 
libcurand7.5 libnppc7.5 libnppi7.5 libnpps7.5 libcuinj64-7.5 libnvtoolsext1 
libnvvm3 libcupti7.5 libcupti-dev libcupti-doc libcusolver7.5 libnvrtc7.5
Architecture: source
Version: 7.5.18-3
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-de...@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Description:
 libcublas7.5 - NVIDIA cuBLAS Library
 libcudart7.5 - NVIDIA CUDA Runtime Library
 libcufft7.5 - NVIDIA cuFFT Library
 libcufftw7.5 - NVIDIA cuFFTW Library
 libcuinj64-7.5 - NVIDIA CUINJ Library (64-bit)
 libcupti-dev - NVIDIA CUDA Profiler Tools Interface development files
 libcupti-doc - NVIDIA CUDA Profiler Tools Interface documentation
 libcupti7.5 - NVIDIA CUDA Profiler Tools Interface runtime library
 libcurand7.5 - NVIDIA cuRAND Library
 libcusolver7.5 - NVIDIA cuSOLVER Library
 libcusparse7.5 - NVIDIA cuSPARSE Library
 libnppc7.5 - NVIDIA Performance Primitives core runtime library
 libnppi7.5 - NVIDIA Performance Primitives for image processing runtime librar
 libnpps7.5 - NVIDIA Performance Primitives for signal processing runtime libra
 libnvblas7.5 - NVBLAS runtime library
 libnvrtc7.5 - CUDA Runtime Compilation (NVIDIA NVRTC Library)
 libnvtoolsext1 - NVIDIA Tools Extension Library
 libnvvm3   - NVIDIA NVVM Library
 nvidia-cuda-dev - NVIDIA CUDA development files
 nvidia-cuda-doc - NVIDIA CUDA and OpenCL documentation
 nvidia-cuda-gdb - NVIDIA CUDA Debugger (GDB)
 nvidia-cuda-toolkit - NVIDIA CUDA development toolkit
 nvidia-nsight - NVIDIA Nsight Eclipse Edition
 nvidia-opencl-dev - NVIDIA OpenCL development files
 nvidia-profiler - NVIDIA Profiler for CUDA and OpenCL
 nvidia-visual-profiler - NVIDIA Visual Profiler for CUDA and OpenCL
Closes: 822783 832589
Changes:
 nvidia-cuda-toolkit (7.5.18-3) unstable; urgency=medium
 .
   * d/rules: Add missing build-arch/build-indep targets.  (Closes: #832589)
   * nvcc.profile: Add -D_FORCE_INLINES for better glibc 2.23 support.
     (Closes: #822783)
   * Fix more typos found by Lintian.
Checksums-Sha1:
 bbae9e3cfa87a9f7eb8b26acd55c1e8d1748a216 4384 nvidia-cuda-toolkit_7.5.18-3.dsc
 2dae92f8db847f91d039934abf62962ef4280e3d 63380 
nvidia-cuda-toolkit_7.5.18-3.debian.tar.xz
Checksums-Sha256:
 84880505a556536738d1ca663c3dc040c1dca6371b7078455718c897c638c524 4384 
nvidia-cuda-toolkit_7.5.18-3.dsc
 cb5afc573cde38468e509f7b690217c6db8c7a36f93a01f21d7447033582929e 63380 
nvidia-cuda-toolkit_7.5.18-3.debian.tar.xz
Files:
 d259e9ca2144914455076284d79552a8 4384 non-free/libs extra 
nvidia-cuda-toolkit_7.5.18-3.dsc
 4b8a07434228c15e16b3edd819f28cfc 63380 non-free/libs extra 
nvidia-cuda-toolkit_7.5.18-3.debian.tar.xz

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

iQIcBAEBCAAGBQJXngrJAAoJEF+zP5NZ6e0IbfQQAKB5J8dTKhKX+FUGqTQPf7RH
D8fGylO4fCSYqSZTvDBToCUrrhbSV20MKVcKr2Dt4wXX5AP9TM2Ktd/Hmbn2It3m
l5AY+r5u0pxP7AqKKxdU5u7I1GtJ79ldErBEnv7zJnJz9VEVCBvAoWkfLxUNajgg
o8MAWQGEbO9AUbWNNsFq5dFno3Q2srcQLyGN8tzZC/BKkPHcCcNMwEUIUlBV0h8Z
vkMI4TACXLDZMRxlYm6zx63DnvjBRprl1j3DWiK1AONQW1WQruT6d16jF3H/rQUb
EZUXhPiQ152lyYya+Z/bxDxGbkZdviI7XtBesnVH7oZZFeJUrlHSkBKziDynIraT
hTRtSSptJQDJSVM+jSFaaMzdpLvk6dKQ5utmi3A17mWHZuiibG+tDKRZn6umf8yY
JiMLLSfbKuC2qVlJTFnfo3FuRjQ4KPlcNd18lpiN8hmu4km5jVjmJv54YcMw4Q90
4gmIZdH/y2E2SqqHHyLHKmQ4SvHlVRMlTzj+La5fRFJ5MKYUpfXa92P6nCo3MkGV
r08QLwEdCJ4pZ2VQsYnyJK+za64A45dBlJhrnBmc00eeI60+Mj5JFRLoltTS72qO
htZ2xJZ+DTHDe1zMTLnlcLKqOWYA2xdQhnHDTHHsVY2yN4MiEcHCVCFPOXECt9nv
lxxCeoa8mYlkTjlPumOQ
=p/8p
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to