pixmap(1) fails to build with libxpm 3.5.17
The pixmap tool uses the RgbName API which is no longer exported in libxpm 3.5.17
[ 10s] rm -f pixmap
[ 10s] gcc -o pixmap -O2 -Wall -fno-strict-aliasing -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g -DPIC -fPIC -L/usr/lib64 PixEdit.o Pixmap.o Dialog.o -L/net/koala/lib/sun4 -lXpm -LSelFile -lXgnu -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
[ 11s] SelFile/Path.c: In function 'SFreplaceText.isra':
[ 11s] SelFile/Path.c:182:24: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
[ 11s] 182 | (void) strncat(SFcurrentPath, str, len - 1);
[ 11s] | ^
[ 11s] SelFile/Path.c:178:15: note: length computed here
[ 11s] 178 | len = strlen(str);
[ 11s] | ^
[ 12s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /tmp/ccoigPgu.ltrans1.ltrans.o: in function `PWUpdateColorInTable':
[ 12s] /home/abuild/rpmbuild/BUILD/pixmap/Pixmap.c:1726: undefined reference to `xpmGetRgbName'
[ 12s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /home/abuild/rpmbuild/BUILD/pixmap/Pixmap.c:1707: undefined reference to `xpmGetRgbName'
[ 12s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /tmp/ccoigPgu.ltrans1.ltrans.o: in function `Initialize.lto_priv.0':
[ 12s] /home/abuild/rpmbuild/BUILD/pixmap/Pixmap.c:1146: undefined reference to `xpmReadRgbNames'
[ 12s] collect2: error: ld returned 1 exit status
[ 12s] make: *** [Makefile:1073: pixmap] Error 1
[ 12s] error: Bad exit status from /var/tmp/rpm-tmp.nhGVvc (%build)
It is not clear to me how access to this color information would be obtained without reimplementing the rgb utility functions in the application. That does not sound desirable.