[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1105395: gsequencer: FTBFS with make --shuffle=reverse: ln: failed to create symbolic link '/build/reproducible-path/gsequencer-7.7.5/debian/tmp/usr/share/gtk-doc/html/libags': No such file or directory



Control: tags -1 patch

On 14/05/25 at 18:21 +0200, Joël Krähemann wrote:
> Hi Lucas,
> 
> I think you wan't to force prerequisite targets as make target dependency?
> 
> The answer would be NO.
> 
> sorry, Joël Krähemann

Here is a patch that fixes the failure.

The patch also re-enables parallel dh_auto_install since I believe that
this was the cause for the failure, but this might need more testing.

diff -Nru gsequencer-7.7.5/debian/patches/fix-dep.patch gsequencer-7.7.5/debian/patches/fix-dep.patch
--- gsequencer-7.7.5/debian/patches/fix-dep.patch	1970-01-01 00:00:00.000000000 +0000
+++ gsequencer-7.7.5/debian/patches/fix-dep.patch	2025-04-12 18:56:26.000000000 +0000
@@ -0,0 +1,22 @@
+--- gsequencer-7.7.5.orig/Makefile.am
++++ gsequencer-7.7.5/Makefile.am
+@@ -3738,7 +3738,7 @@ if ENABLE_GTK_DOC
+ endif
+ endif
+ 
+-install-html-links: install-html-mkdir-links
++install-html-links: install-html-mkdir-links install-html-mkdir
+ 	echo "creating links [$(AGS_WITH_UPSTREAM_GTK_DOC)]"
+ if AGS_WITH_SINGLE_DOCDIR
+ else
+--- gsequencer-7.7.5.orig/Makefile.in
++++ gsequencer-7.7.5/Makefile.in
+@@ -37722,7 +37722,7 @@ install-html-mkdir:
+ @AGS_WITH_UPSTREAM_GTK_DOC_FALSE@@ENABLE_GTK_DOC_TRUE@	mkdir -p $(DESTDIR)$(LIBAGS_GUI_API_DIR)
+ @AGS_WITH_UPSTREAM_GTK_DOC_FALSE@@ENABLE_GTK_DOC_TRUE@	mkdir -p $(DESTDIR)$(LIBGSEQUENCER_API_DIR)
+ 
+-install-html-links: install-html-mkdir-links
++install-html-links: install-html-mkdir-links install-html-mkdir
+ 	echo "creating links [$(AGS_WITH_UPSTREAM_GTK_DOC)]"
+ @AGS_WITH_SINGLE_DOCDIR_FALSE@@AGS_WITH_UPSTREAM_GTK_DOC_TRUE@@ENABLE_GTK_DOC_TRUE@	ln -s ../../doc/libags-doc/api $(DESTDIR)$(datadir)/gtk-doc/html/libags
+ @AGS_WITH_SINGLE_DOCDIR_FALSE@@AGS_WITH_UPSTREAM_GTK_DOC_TRUE@@ENABLE_GTK_DOC_TRUE@	ln -s ../../doc/libags-audio-doc/api $(DESTDIR)$(datadir)/gtk-doc/html/libags_audio
diff -Nru gsequencer-7.7.5/debian/patches/series gsequencer-7.7.5/debian/patches/series
--- gsequencer-7.7.5/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ gsequencer-7.7.5/debian/patches/series	2025-04-12 18:56:26.000000000 +0000
@@ -0,0 +1 @@
+fix-dep.patch
diff -Nru gsequencer-7.7.5/debian/rules gsequencer-7.7.5/debian/rules
--- gsequencer-7.7.5/debian/rules	2024-07-26 09:13:21.000000000 +0000
+++ gsequencer-7.7.5/debian/rules	2025-04-12 18:56:26.000000000 +0000
@@ -51,7 +51,7 @@
 	xvfb-run --server-args="-screen 0 1920x1080x24" -a dh_auto_test -- CFLAGS="-fpermissive -Wno-error=incompatible-pointer-types -Wno-error=pedantic $(dpkg-buildflags --get CFLAGS)"
 
 override_dh_auto_install:
-	dh_auto_install --no-parallel
+	dh_auto_install
 	$(MAKE) DESTDIR=$$(pwd)/debian/tmp install-html
 	$(MAKE) DESTDIR=$$(pwd)/debian/tmp install-pdf
 	find $$(pwd)/debian/tmp/usr/share -type f \


Reply to: