Bug#703429: FTBFS on !Linux: debug.c:309:22: error: 'SYS_gettid' undeclared

2013-03-19 Thread Rainer Gerhards
Michael,

On Tue, 2013-03-19 at 14:35 +, Rainer Gerhards wrote:
> I think it is rsyslog's fault here. I probably do no correctly check for
> the availablity of gettid. Will look into that soon (it's minor
> debug-aid functionality which can be disabled without any issues, even
> during debugging).
This patch should fix the issue:
http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=aef0be0c1799fbb20955fc1dc014cb9c9772af88

I would appreciate if you could give it a try. Will be included in
7.3.9.

Rainer


Bug#703429: FTBFS on !Linux: debug.c:309:22: error: 'SYS_gettid' undeclared

2013-03-19 Thread Rainer Gerhards
On Tue, 2013-03-19 at 15:28 +0100, Michael Biebl wrote:
> Source: rsyslog
> Version: 7.3.8-1
> Severity: serious
> 
> Current version of rsyslog from experimental FTBFS on kfreebsd [1]
> 
> 
> debug.c: In function 'dbgOutputTID':
> debug.c:309:22: error: 'SYS_gettid' undeclared (first use in this function)
> debug.c:309:22: note: each undeclared identifier is reported only once for 
> each function it appears in
> make[3]: *** [librsyslog_la-debug.lo] Error 1
> make[3]: Leaving directory 
> `/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8/runtime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory 
> `/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build-arch] Error 2

I think it is rsyslog's fault here. I probably do no correctly check for
the availablity of gettid. Will look into that soon (it's minor
debug-aid functionality which can be disabled without any issues, even
during debugging).

Rainer


Bug#703429: FTBFS on !Linux: debug.c:309:22: error: 'SYS_gettid' undeclared

2013-03-19 Thread Michael Biebl
Source: rsyslog
Version: 7.3.8-1
Severity: serious

Current version of rsyslog from experimental FTBFS on kfreebsd [1]


debug.c: In function 'dbgOutputTID':
debug.c:309:22: error: 'SYS_gettid' undeclared (first use in this function)
debug.c:309:22: note: each undeclared identifier is reported only once for each 
function it appears in
make[3]: *** [librsyslog_la-debug.lo] Error 1
make[3]: Leaving directory 
`/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/build/buildd-rsyslog_7.3.8-1-kfreebsd-amd64-1l58ej/rsyslog-7.3.8'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2


Would be great if the porters can have a look.

Michael


[1]
https://buildd.debian.org/status/package.php?p=rsyslog&suite=experimental



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org