[lttng-dev] Fwd: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD
Jon Bernard
jbernard at debian.org
Mon Apr 22 11:24:17 EDT 2013
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
More information about the lttng-dev
mailing list