Bug#1136741: libglew-common-dev: trying to overwrite '/usr/include/arm-linux-gnueabihf/GL/glew.h', which is also in package libglew-dev
Dimo <[email protected]> Fri, 15 May 2026 14:04:30 -0400
| Newsgroups | gmane.linux.debian.ports.arm |
|---|---|
| Message-ID | <177886827052.741741.4775686722802845577.reportbug__2888.08856146119$1778868456$gmane$org@localhost> |
Package: libglew-common-dev Version: 2.3.1+dfsg2-4 Followup-For: Bug #1136741 X-Debbugs-Cc: [email protected] User: [email protected] Usertags: arm Control: tags -1 patch Sorry, this is my bad. Files glew.h and eglew.h which were part of libglew-dev, have been moved to libglew-common-dev and libeglew-dev respectively in -4. I've tested clean install, but forgot to test the upgrade path, which requires the Replaces/Breaks fields. The patch is attached. Regards, Dimo -- System Information: Debian Release: forky/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 7.0.4+deb14-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages libglew-common-dev depends on: pn libgl-dev <none> libglew-common-dev recommends no packages. libglew-common-dev suggests no packages.
0001-d-control-add-Replaces-Breaks-for-upgrade-path.patch
(application/mbox, 1.2 KB)
From 931cda212264d86705da3695f9c5b294f7512141 Mon Sep 17 00:00:00 2001 From: Dimitry Ishenko <[email protected]> Date: Fri, 15 May 2026 13:46:21 -0400 Subject: [PATCH] d/control: add Replaces/Breaks for upgrade path --- debian/control | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/control b/debian/control index 027f8f3..bdea664 100644 --- a/debian/control +++ b/debian/control @@ -47,6 +47,7 @@ Architecture: any Multi-Arch: same Depends: libgl-dev, ${misc:Depends} +Replaces: libglew-dev (<< 2.3.1+dfsg2-4) Description: OpenGL Extension Wrangler - common files The OpenGL Extension Wrangler, GLEW for short, is a library that handles initialization of OpenGL extensions in a portable and simple @@ -87,6 +88,8 @@ Depends: libegl-dev, libeglew2.3 (= ${binary:Version}), libglu1-mesa-dev | libglu-dev, ${misc:Depends} +Replaces: libglew-dev (<< 2.3.1+dfsg2-4) +Breaks: libglew-dev (<< 2.3.1+dfsg2-4) Description: OpenGL Extension Wrangler - EGL development environment The OpenGL Extension Wrangler, GLEW for short, is a library that handles initialization of OpenGL extensions in a portable and simple -- 2.53.0