[From nobody Sat Sep 12 10:37:06 2026
Received: (at submit) by bugs.debian.org; 10 Mar 2017 19:09:34 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
 (2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
 FOURLA,FREEMAIL_FROM,HAS_PACKAGE,HELO_MISC_IP,RDNS_DYNAMIC,SPF_SOFTFAIL,
 XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 27; hammy, 150; neutral, 119; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 
 0.000-+--systemd, 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug
Return-path: &lt;ian_bruce@mail.ru&gt;
Received: from 76-10-186-66.dsl.teksavvy.com ([76.10.186.66] helo=[127.0.1.1])
 by buxtehude.debian.org with esmtp (Exim 4.84_2)
 (envelope-from &lt;ian_bruce@mail.ru&gt;) id 1cmPuw-0005oU-1f
 for submit@bugs.debian.org; Fri, 10 Mar 2017 19:09:34 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ian Bruce &lt;ian_bruce@mail.ru&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libgegl-dev: contains duplicate copy of openCL library files
Message-ID: &lt;148917296784.13898.2720322219116742496.reportbug@quadlie&gt;
X-Mailer: reportbug 7.1.5
Date: Fri, 10 Mar 2017 11:09:27 -0800
X-Debbugs-Cc: ian_bruce@mail.ru
Delivered-To: submit@bugs.debian.org

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
]