Your message dated Wed, 12 Apr 2017 23:51:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#857394: libgegl-dev: contains duplicate copy of openCL 
library files
has caused the Debian Bug report #857394,
regarding libgegl-dev: contains duplicate copy of openCL library files
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 [email protected]
immediately.)


-- 
857394: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857394
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgegl-dev
Version: 0.3.8-3+b1
Severity: normal

As far as I understand, Debian packages aren't supposed to contain
duplicate copies of libraries which have been packaged independently
(isn't that a Policy violation?), but that appears to be the case here:


$ dpkg -L opencl-c-headers | grep include/CL | sort
/usr/include/CL
/usr/include/CL/cl_d3d10.h
/usr/include/CL/cl_d3d11.h
/usr/include/CL/cl_dx9_media_sharing.h
/usr/include/CL/cl_egl.h
/usr/include/CL/cl_ext.h
/usr/include/CL/cl_gl_ext.h
/usr/include/CL/cl_gl.h
/usr/include/CL/cl.h
/usr/include/CL/cl_platform.h
/usr/include/CL/opencl.h

$ dpkg -L libgegl-dev | grep include/gegl-0.3/opencl | sort
/usr/include/gegl-0.3/opencl
/usr/include/gegl-0.3/opencl/cl_d3d10.h
/usr/include/gegl-0.3/opencl/cl_ext.h
/usr/include/gegl-0.3/opencl/cl_gl_ext.h
/usr/include/gegl-0.3/opencl/cl_gl.h
/usr/include/gegl-0.3/opencl/cl.h
/usr/include/gegl-0.3/opencl/cl_platform.h
/usr/include/gegl-0.3/opencl/gegl-cl-color.h
/usr/include/gegl-0.3/opencl/gegl-cl.h
/usr/include/gegl-0.3/opencl/gegl-cl-init.h
/usr/include/gegl-0.3/opencl/gegl-cl-random.h
/usr/include/gegl-0.3/opencl/gegl-cl-types.h
/usr/include/gegl-0.3/opencl/opencl.h


The included version of openCL seems to be many years out of date:


$ diff -u /usr/include/{gegl-0.3/opencl,CL}/opencl.h
--- /usr/include/gegl-0.3/opencl/opencl.h       2016-06-26 05:02:45.000000000 
-0700
+++ /usr/include/CL/opencl.h    2016-06-14 08:44:21.000000000 -0700
@@ -1,5 +1,5 @@
 
/*******************************************************************************
- * Copyright (c) 2008-2010 The Khronos Group Inc.
+ * Copyright (c) 2008-2015 The Khronos Group Inc.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and/or associated documentation files (the


It appears that there may also be another independent library, under the
/usr/include/gegl-0.3/npd/ directory.



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgegl-dev depends on:
ii  libbabl-dev       0.1.18-1
ii  libgegl-0.3-0     0.3.8-3+b1
ii  libglib2.0-dev    2.50.3-1
ii  libjson-glib-dev  1.2.2-1+b1

libgegl-dev recommends no packages.

libgegl-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi!

On 2017-03-10 at 10:09 (-0800), Ian Bruce wrote:

[...]

> /usr/include/gegl-0.3/opencl/gegl-cl-color.h
> /usr/include/gegl-0.3/opencl/gegl-cl.h
> /usr/include/gegl-0.3/opencl/gegl-cl-init.h
> /usr/include/gegl-0.3/opencl/gegl-cl-random.h
> /usr/include/gegl-0.3/opencl/gegl-cl-types.h

What about these?

They're not provided by the Debian package and I'm not going to try a
'merge-on-the-fly' on headers to save a bunch of kilobytes. Sorry.

> The included version of openCL seems to be many years out of date:
>
>
> $ diff -u /usr/include/{gegl-0.3/opencl,CL}/opencl.h
> --- /usr/include/gegl-0.3/opencl/opencl.h     2016-06-26 05:02:45.000000000 
> -0700
> +++ /usr/include/CL/opencl.h  2016-06-14 08:44:21.000000000 -0700
> @@ -1,5 +1,5 @@
>  
> /*******************************************************************************
> - * Copyright (c) 2008-2010 The Khronos Group Inc.
> + * Copyright (c) 2008-2015 The Khronos Group Inc.

Impressed. ;)

> It appears that there may also be another independent library, under the
> /usr/include/gegl-0.3/npd/ directory.

I asked upstream about this and I got no consistent reply. So it'll keep
its position.

Cheers.


-- 
Matteo F. Vescovi

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to