Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Svante Signell
On Wed, 2014-10-22 at 01:21 +0200, Samuel Thibault wrote: Svante Signell, le Tue 21 Oct 2014 12:34:22 +0200, a écrit : static gboolean asb_utils_is_file_in_tmpdir (const gchar *tmpdir, const gchar *filename) { - gchar tmp[PATH_MAX]; - g_snprintf (tmp, PATH_MAX, %s/%s, tmpdir,

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Samuel Thibault
Svante Signell, le Wed 22 Oct 2014 10:21:36 +0200, a écrit : Is this better? Yes. But it'd be good that you manage to spot those errors yourself at some point. You seem to keep doing them... Samuel -- To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org with a subject of

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Pino Toscano
On 2014-10-22 10:21, Svante Signell wrote: On Wed, 2014-10-22 at 01:21 +0200, Samuel Thibault wrote: Svante Signell, le Tue 21 Oct 2014 12:34:22 +0200, a écrit : static gboolean asb_utils_is_file_in_tmpdir (const gchar *tmpdir, const gchar *filename) { - gchar tmp[PATH_MAX]; -

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Svante Signell
On Wed, 2014-10-22 at 10:29 +0200, Pino Toscano wrote: On 2014-10-22 10:21, Svante Signell wrote: On Wed, 2014-10-22 at 01:21 +0200, Samuel Thibault wrote: Svante Signell, le Tue 21 Oct 2014 12:34:22 +0200, a écrit : + free (tmp); + return ret; } glib has

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Pino Toscano
On 2014-10-22 10:59, Svante Signell wrote: On Wed, 2014-10-22 at 10:29 +0200, Pino Toscano wrote: On 2014-10-22 10:21, Svante Signell wrote: On Wed, 2014-10-22 at 01:21 +0200, Samuel Thibault wrote: Svante Signell, le Tue 21 Oct 2014 12:34:22 +0200, a écrit : + free (tmp); +

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Svante Signell
On Wed, 2014-10-22 at 11:11 +0200, Pino Toscano wrote: On 2014-10-22 10:59, Svante Signell wrote: Updated patch attached. For the first part of the patch, I don't find using g_strdup_printf() is an advantage over g_malloc(), since later on g_realloc() is needed. The other option is

Re: appstream-glib: FTBFS on hurd-i396 (for review)

2014-10-22 Thread Samuel Thibault
Svante Signell, le Wed 22 Oct 2014 11:33:39 +0200, a écrit : On Wed, 2014-10-22 at 11:11 +0200, Pino Toscano wrote: On 2014-10-22 10:59, Svante Signell wrote: Updated patch attached. For the first part of the patch, I don't find using g_strdup_printf() is an advantage over

Re: Need help with openvpn

2014-10-22 Thread Svante Signell
On Tue, 2014-10-21 at 19:44 +0200, Justus Winter wrote: Quoting Svante Signell (2014-10-21 17:33:42) I use port forwarding to get access to the kvm images, and 10.0.2.2 is the gateway address. Each kvm instance has the same address 10.0.2.15, with different port numbers. So

Re: Need help with openvpn

2014-10-22 Thread Samuel Thibault
Svante Signell, le Wed 22 Oct 2014 12:27:26 +0200, a écrit : On Wed, 2014-10-22 at 12:16 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:12:48 +0200, a écrit : On Tue, 2014-10-21 at 19:44 +0200, Justus Winter wrote: Quoting Svante Signell (2014-10-21 17:33:42)

Re: Need help with openvpn

2014-10-22 Thread Samuel Thibault
Really, really, really, when you are reporting a problem, always include all information about what you are doing, otherwise it's really difficult to divine what you have done wrong. Samuel -- To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org with a subject of unsubscribe. Trouble?

Re: Need help with openvpn

2014-10-22 Thread Svante Signell
On Wed, 2014-10-22 at 12:29 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:27:26 +0200, a écrit : On Wed, 2014-10-22 at 12:16 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:12:48 +0200, a écrit : On Tue, 2014-10-21 at 19:44 +0200, Justus Winter

Bug#766333: appstream-glib: FTBFS on hurd-i386

2014-10-22 Thread Svante Signell
Source: appstream-glib Version: 0.3.0-1 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Hi, Currently appstream-glib FTBFS on GNU/Hurd due to usage of PATH_MAX, which is not defined. The attached patch solves this problem by dynamically allocating strings of

Re: Need help with openvpn

2014-10-22 Thread Samuel Thibault
Svante Signell, le Wed 22 Oct 2014 12:47:30 +0200, a écrit : On Wed, 2014-10-22 at 12:29 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:27:26 +0200, a écrit : On Wed, 2014-10-22 at 12:16 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:12:48 +0200,

Re: Need help with openvpn

2014-10-22 Thread Svante Signell
On Wed, 2014-10-22 at 13:48 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:47:30 +0200, a écrit : On Wed, 2014-10-22 at 12:29 +0200, Samuel Thibault wrote: I'm sorry, but Justus was really completely clear. Maybe it's a matter if you are CS/EE person or not.

Re: Need help with openvpn

2014-10-22 Thread Samuel Thibault
Svante Signell, le Wed 22 Oct 2014 13:58:12 +0200, a écrit : On Wed, 2014-10-22 at 13:48 +0200, Samuel Thibault wrote: Svante Signell, le Wed 22 Oct 2014 12:47:30 +0200, a écrit : On Wed, 2014-10-22 at 12:29 +0200, Samuel Thibault wrote: I'm sorry, but Justus was really completely clear.