build-failure on FreeBSD
Bug #978007 reported by
coldtobi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Undecided
|
coldtobi | ||
Debian |
Fix Released
|
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/
You can find the complete logs at:
https:/
and
https:/
Tobias
[1] http://
Related branches
lp:~tobi-coldtobi/drizzle/trunk-bug-978007
- Drizzle Trunk: Pending requested
-
Diff: 27 lines (+10/-0)1 file modifieddrizzled/drizzled.cc (+10/-0)
Changed in debian: | |
status: | Unknown → Confirmed |
Changed in debian: | |
status: | Confirmed → Fix Released |
Changed in drizzle: | |
assignee: | nobody → coldtobi (tobi-coldtobi) |
milestone: | none → 7.2.4 |
status: | New → Fix Released |
To post a comment you must log in.
I took a look at the code: bazaar. launchpad. net/~drizzle- trunk/drizzle/ greenlake/ view/head: /drizzled/ drizzled. cc#L395)
(http://
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