Your message dated Mon, 12 Jul 2010 20:31:24 +0200
with message-id <4c3b5f7c.5080...@cacholong.nl>
and subject line Re: openldap: FTBFS on kfreebsd-*: error: missing binary
operator before token "long"
has caused the Debian Bug report #579221,
regarding openldap: FTBFS on kfreebsd-*: error: missing binary operator before
token "long"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
579221: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579221
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openldap
Version: 2.4.21-1
Severity: serious
Justification: FTBFS
User: debian-...@lists.debian.org
Usertags: kfreebsd
Hi,
your package no longer builds on kfreebsd-*:
|
/build/buildd-openldap_2.4.21-1-kfreebsd-amd64-VWAqZY/openldap-2.4.21/libraries/liblutil/detach.c:131:7:
error: missing binary operator before token "long"
| make[3]: *** [detach.o] Error 1
Full build logs:
https://buildd.debian.org/status/package.php?suite=unstable&p=openldap
I think it's just a matter of changing if FOO into if defined(FOO) as
seen in the attached patch. Once applied, the build was successful on my
porterbox.
Mraw,
KiBi.
--- a/libraries/liblutil/detach.c
+++ b/libraries/liblutil/detach.c
@@ -128,7 +128,7 @@
#ifdef HAVE_SETSID
(void) setsid();
-#elif TIOCNOTTY
+#elif defined(TIOCNOTTY)
if ( (sd = open( "/dev/tty", O_RDWR )) != -1 ) {
(void) ioctl( sd, TIOCNOTTY, NULL );
(void) close( sd );
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
According to the buildd logs and the attempt for kfreebsd-i386 this
issue disappeared.
Regards,
Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw7X3wACgkQ2n1ROIkXqbB4dwCdEuwANAn2KQx9w1QjI8JmN+MU
6U8AmQEXQSjIHWE+SW/UNEc1m8FTrFcC
=QJrT
-----END PGP SIGNATURE-----
--- End Message ---