Control: tag -1 patch

On Sat, May 31, 2014 at 09:51:05PM -0300, Antonio Terceiro wrote:
> Package: src:ngraph-gtk
> Version: 6.06.13-4
> Severity: serious
> Justification: Fails to build from source
> 
> Hello, ngraph-gtk current fails to build from source on unstable, but only on
> Linux architectures. The error looks like this:
> 
> make[6]: Entering directory '/«PKGBUILDDIR»/doc/html/ja'
> cat object.html.in > object.html
> ../../../src/ngraph -i ../objlist.nsc >> object.html
> 
> (ngraph:29917): Gdk-ERROR **: error: XDG_RUNTIME_DIR not set in the 
> environment.
> 
> /bin/bash: line 1: 29917 Trace/breakpoint trap   ../../../src/ngraph -i 
> ../objlist.nsc >> object.html
> make[6]: *** [object.html] Error 133

The attached patch fixes the build, and seems to be safe enough.

-- 
Antonio Terceiro <terce...@debian.org>
--- ngraph-gtk-6.06.13/debian/rules	2014-01-11 06:29:15.000000000 -0300
+++ ngraph-gtk-6.06.13/debian/rules	2014-05-31 23:01:44.000000000 -0300
@@ -4,6 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export XDG_RUNTIME_DIR=/tmp
+
 %:
 	dh $@ --with autoreconf
 

Attachment: signature.asc
Description: Digital signature

Reply via email to