Bug#946951: Bug#921904: win-iconv: FTBFS (wine: chdir to /tmp/wine-I6miLw/server-29-3583b06 : No such file or directory)
On Fri, Dec 27, 2019 at 07:27:42PM +0000, Joseph Nahmias wrote:
> The attached patch works around the issue until that is fixed.
Of course, I forgot this patch... Take 2.
--Joe
diff -Nru win-iconv-0.0.8/debian/changelog win-iconv-0.0.8/debian/changelog
--- win-iconv-0.0.8/debian/changelog 2019-03-12 12:06:01.000000000 -0400
+++ win-iconv-0.0.8/debian/changelog 2019-12-27 14:04:56.000000000 -0500
@@ -1,3 +1,11 @@
+win-iconv (0.0.8-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Work around #946951 by initializing WINEPREFIX and adding a symlink,
+ closes: #921904.
+
+ -- Joe Nahmias <joe@nahmias.net> Fri, 27 Dec 2019 14:04:56 -0500
+
win-iconv (0.0.8-3) unstable; urgency=medium
* wrap-and-sort -ast
diff -Nru win-iconv-0.0.8/debian/rules win-iconv-0.0.8/debian/rules
--- win-iconv-0.0.8/debian/rules 2019-03-12 11:29:02.000000000 -0400
+++ win-iconv-0.0.8/debian/rules 2019-12-27 14:04:56.000000000 -0500
@@ -33,6 +33,8 @@
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifdef TESTARCH
+ -WINEPREFIX=$(CURDIR)/build-$(TESTARCH)/.wine wine64 wineboot -i
+ ln -s /tmp/.wine-`id -u`/server* /tmp/wine-*/
cd build-$(TESTARCH) && WINEPREFIX=$(shell pwd)/build-$(TESTARCH)/.wine $(MAKE) CC=$(TESTARCH)-gcc AR=$(TESTARCH)-ar RANLIB=$(TESTARCH)-ranlib DLLTOOL=$(TESTARCH)-dlltool test
endif
endif
Reply to: