linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #04783
[Bug 978007] Re: build-failure on FreeBSD
I took a look at the code:
(http://bazaar.launchpad.net/~drizzle-trunk/drizzle/greenlake/view/head:/drizzled/drizzled.cc#L395)
The open in question is in the function to open the pid file. The commit text to the changes reads
"We now create pid before we startup plugins, therefor allowing us to bail sooner in the process."
So - without knowing the internals -- I assume that at that point of time drizzle forked already, but no other process / thread has been spawned.
In this case, it the O_CLOEXEC won't be needed and the patch trivial..
Can you confirm?
(NB: This bug is release crticial for Debian, that is without a fix for it, it won't make it to the next stable release. However, I can add a Debian specific patch, so you do not need to make an extra release for that... I just want to make sure that this patch won't break other things)
Tobias
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/978007
Title:
build-failure on FreeBSD
Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
New
Status in Debian GNU/Linux:
Unknown
Bug description:
On the Debian build farm the package fails to build on kfreebsd:
It seems that O_CLOEXCEC is not supported by glibc-bsd. (See also [1])
drizzled/drizzled.cc:399:77: error: 'O_CLOEXEC' was not declared in
this scope.
You can find the complete logs at:
https://buildd.debian.org/status/fetch.php?pkg=drizzle&arch=kfreebsd-i386&ver=1%3A7.1.32-rc-1&stamp=1334052115
and
https://buildd.debian.org/status/fetch.php?pkg=drizzle&arch=kfreebsd-amd64&ver=1%3A7.1.32-rc-1&stamp=1334051953
Tobias
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635192):
To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/978007/+subscriptions
References