Skip to contentSkip to conversation

Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD

DISCUSSION Mathieu Desnoyers 1 participant 1 message Apr 22, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20130422152417.GA13418@quintessa

#1 lore raw

Fixed by:

commit 493330cb8cd73be8a598308b78f0fc1d4912843a

Author: Mathieu Desnoyers <[email protected]>
Date:   Mon Apr 22 12:12:50 2013 -0400

Fix kFreeBSD build

Use general error numbers available on kFreeBSD.

Thanks for reporting,

Mathieu

Quoted 49 lines · * Jon Bernard ([email protected]) wrote:

Hello all, I received this request over the weekend and wanted to pass it on.

----- Forwarded message from Petr Salinger <[email protected]> -----

Date: Sat, 20 Apr 2013 19:19:11 +0200 (CEST)
From: Petr Salinger <[email protected]>
To: [email protected]
Subject: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD

Package: babeltrace
Version: 1.1.0-1
Severity: serious
Tags: patch
User: [email protected]
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

ctf/ctf.c +1 -2
@@ -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 -----
Signature · 7 lines
-- 
Jon

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com