Bug#1057376: symbols marked as hidden causes FTBFS in pixmap

2023-12-04 Thread Paul Slootman
Source: libxpm
Version: 1:3.5.17-1
Severity: important
Tags: patch

commit 7f60f3428aa21d5d643eb75bfd9417cfabf48970
on libxpm hides a number of symbols. However a couple of these symbols
are used in pixmap, causing a FTBFS on pixmap. These symbols are
xpmReadRgbNames and xpmGetRgbName, xpmFreeRgbNames is related.

I have confirmed that applying this patch lets pixmap compile
successfully.

Thanks,
Paul


-- System Information:
Debian Release: 12.2
  APT prefers stable
  APT policy: (800, 'stable'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'oldstable'), (100, 
'bookworm-fasttrack'), (100, 'bookworm-backports-staging')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
--- src/XpmI.h.orig 2023-11-23 14:44:47.292681988 +0100
+++ src/XpmI.h  2023-12-04 09:45:48.899058512 +0100
@@ -261,10 +261,10 @@
 
 /* RGB utility */
 
-HFUNC(xpmReadRgbNames, int, (const char *rgb_fname, xpmRgbName *rgbn));
-HFUNC(xpmGetRgbName, char *, (xpmRgbName *rgbn, int rgbn_max,
+FUNC(xpmReadRgbNames, int, (const char *rgb_fname, xpmRgbName *rgbn));
+FUNC(xpmGetRgbName, char *, (xpmRgbName *rgbn, int rgbn_max,
 int red, int green, int blue));
-HFUNC(xpmFreeRgbNames, void, (xpmRgbName *rgbn, int rgbn_max));
+FUNC(xpmFreeRgbNames, void, (xpmRgbName *rgbn, int rgbn_max));
 #ifdef FOR_MSW
 HFUNC(xpmGetRGBfromName,int, (char *name, int *r, int *g, int *b));
 #endif


Bug#1057376: symbols marked as hidden causes FTBFS in pixmap

2023-12-04 Thread Emilio Pozuelo Monfort

Control: forwarded -1 https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/5

On 04/12/2023 09:05, Paul Slootman wrote:

Source: libxpm
Version: 1:3.5.17-1
Severity: important
Tags: patch

commit 7f60f3428aa21d5d643eb75bfd9417cfabf48970
on libxpm hides a number of symbols. However a couple of these symbols
are used in pixmap, causing a FTBFS on pixmap. These symbols are
xpmReadRgbNames and xpmGetRgbName, xpmFreeRgbNames is related.

I have confirmed that applying this patch lets pixmap compile
successfully.


Those symbols were not exposed in any header, so pixmap using those was rather 
hackish. See the upstream ticket.


Cheers,
Emilio



Processed: Re: Bug#1057376: symbols marked as hidden causes FTBFS in pixmap

2023-12-04 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/5
Bug #1057376 [src:libxpm] symbols marked as hidden causes FTBFS in pixmap
Set Bug forwarded-to-address to 
'https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/5'.

-- 
1057376: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057376
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



[bts-link] source package libgles2-mesa-dev,libglew-dev,libqt5gui5

2023-12-04 Thread debian-bts-link
#
# bts-link upstream status pull for source package 
libgles2-mesa-dev,libglew-dev,libqt5gui5
# see http://lists.debian.org/debian-devel-announce/2006/05/msg1.html
# https://bts-link-team.pages.debian.net/bts-link/
#

user debian-bts-l...@lists.debian.org

# remote status report for #798408 (http://bugs.debian.org/798408)
# Bug title: [arm] libgles2-mesa-dev and libglew-dev disagree over GLsizeiptr
#  * https://github.com/nigels-com/glew/issues/403
#  * remote status changed: (?) -> open
usertags 798408 + status-open

thanks