[lttng-dev] Fwd: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Apr 22 12:14:42 EDT 2013


Fixed by:

commit 493330cb8cd73be8a598308b78f0fc1d4912843a
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Mon Apr 22 12:12:50 2013 -0400

    Fix kFreeBSD build
    
    Use general error numbers available on kFreeBSD.
    
    Reported-by: Petr Salinger <Petr.Salinger at seznam.cz>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Thanks for reporting,

Mathieu

* Jon Bernard (jbernard at debian.org) wrote:
> Hello all, I received this request over the weekend and wanted to pass it on.
> 
> ----- Forwarded message from Petr Salinger <Petr.Salinger at seznam.cz> -----
> 
> Date: Sat, 20 Apr 2013 19:19:11 +0200 (CEST)
> From: Petr Salinger <Petr.Salinger at seznam.cz>
> To: submit at bugs.debian.org
> Subject: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD
> 
> Package: babeltrace
> Version: 1.1.0-1
> Severity: serious
> Tags: patch
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
> 
> Hi,
> 
> the current version fails to build on GNU/kFreeBSD.
> 
> The value ENODATA is linux specific,
> please use some general error number, like shown bellow.
> 
> It would also be nice if you can inform upstream about this.
> 
> Thanks
> 	Petr
> 
> --- formats/ctf/ctf.c
> +++ formats/ctf/ctf.c
> @@ -1032,7 +1032,7 @@
>         buflen = strlen(*buf);
>         if (!buflen) {
>                 *fp = NULL;
> -               return -ENODATA;
> +               return -ENOENT;
>         }
>         *fp = babeltrace_fmemopen(*buf, buflen, "rb");
>         if (!*fp) {
> 
> ----- End forwarded message -----
> 
> -- 
> Jon
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list