Package: src:gprofng-gui
Version: 1:2.2-2
Severity: serious
Tags: ftbfs forky sid patch
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202603/
This bug was introduced when install-man-symlink.diff was added and it
happens because the Makefile is trying to create gprofng-display-gui.1
symlink without first ensuring that debian/gprofng-gui/usr/share/man/man1
exists,
so if this ever worked for anybody, it was by pure chance.
The attached patch (which modifies install-man-symlink.diff) should fix
the issue for everybody.
Thanks.
--------------------------------------------------------------------------------
[...]
dh_auto_install --destdir=debian/gprofng-gui/
make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/gprofng-gui
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/bin'
/usr/bin/install -c gprofng-display-gui
'/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/bin'
for d in 32x32 48x48 64x64 128x128 256x256 ; do \
/bin/bash /<<PKGBUILDDIR>>/install-sh -d
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/icons/hicolor/$d/apps ; \
cp ./images/gprofng-$d.png
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/icons/hicolor/$d/apps/gprofng.png
; \
chmod 644
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/icons/hicolor/$d/apps/gprofng.png
; \
done
/bin/bash /<<PKGBUILDDIR>>/install-sh -d
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/applications
cp gprofng-gui.desktop
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/applications/
chmod 644
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/applications/gprofng-gui.desktop
/bin/bash /<<PKGBUILDDIR>>/install-sh -d
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/bin
rm -f /<<PKGBUILDDIR>>/debian/gprofng-gui/usr/bin/gp-display-gui
ln -s gprofng-display-gui
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/bin/gp-display-gui
ln -s gprofng-display-gui.1
/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/man/man1/gp-display-gui.1
ln: failed to create symbolic link
'/<<PKGBUILDDIR>>/debian/gprofng-gui/usr/share/man/man1/gp-display-gui.1': No
such file or directory
make[2]: *** [Makefile:1767: install-exec-local-linux] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:1471: install-am] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j1 install
DESTDIR=/<<PKGBUILDDIR>>/debian/gprofng-gui AM_UPDATE_INFO_DIR=no returned exit
code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------commit e455ba7a4ebb50e9dcbb04ff2653a8109a81415b
Author: Santiago Vila <[email protected]>
Date: Sun Mar 29 13:05:00 2026 +0200
Ensure $(DESTDIR)$(man1dir) exists before creating gp-display-gui.1
symlink. Closes: #XXXXXX.
diff --git a/debian/patches/install-man-symlink.diff
b/debian/patches/install-man-symlink.diff
index 90a04da..8df7812 100644
--- a/debian/patches/install-man-symlink.diff
+++ b/debian/patches/install-man-symlink.diff
@@ -1,9 +1,10 @@
--- a/Makefile.am
+++ b/Makefile.am
-@@ -718,6 +718,7 @@ install-exec-local-linux: $(DesktopLaunc
+@@ -718,6 +718,8 @@
$(AM_V_at)$(mkinstalldirs) $(DESTDIR)$(bindir)
$(AM_V_at)rm -f $(DESTDIR)$(bindir)/gp-display-gui
$(AM_V_at)ln -s gprofng-display-gui $(DESTDIR)$(bindir)/gp-display-gui
++ $(AM_V_at)$(mkinstalldirs) $(DESTDIR)$(man1dir)
+ $(AM_V_at)ln -s gprofng-display-gui.1
$(DESTDIR)$(man1dir)/gp-display-gui.1
install-exec-local-windows install-exec-local-osx: