Build failure: "function for_each must have a prototype" as of build 1351

Bug #540385 reported by Lee Bieber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Monty Taylor
Cherry
Fix Released
High
Monty Taylor

Bug Description

Happening on a couple of platforms. See the complete logs at:
http://hudson.drizzle.org/view/Drizzle-build/job/drizzle-build-opensolaris-64/76/console
http://hudson.drizzle.org/view/Drizzle-staging/job/drizzle-staging-norbye.org/214/console

 CXX drizzled/plugin/logging.o
"./drizzled/optimizer/table_read_plan.h", line 159: Error, badfunccp: The function "for_each" must have a prototype.
1 Error(s) detected.
gmake[2]: *** [drizzled/optimizer/range.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
gmake: *** [all] Error 2
Sending e-mails to: <email address hidden>
Finished: FAILURE

Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :
Changed in drizzle:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → High
status: New → Confirmed
milestone: none → 2010-03-29
Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 540385] Re: Build failure: "function for_each must have a prototype" as of build 1351

Looks like #include <functional> is needed in
/drizzled/optimizer/table_read_plan.h

On Wed, Mar 17, 2010 at 1:28 PM, Lee Bieber <email address hidden> wrote:
> Also seen on http://hudson.drizzle.org/view/Drizzle-trunk/job/drizzle-
> trunk-norbye.org-debug/120/console
>
> --
> Build failure: "function for_each must have a prototype"  as of build 1351
> https://bugs.launchpad.net/bugs/540385
> You received this bug notification because you are a member of Drizzle-
> developers, which is subscribed to Drizzle.
>
> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
> Status in Drizzle cherry series: Confirmed
>
> Bug description:
> Happening on a couple of platforms. See the complete logs at:
> http://hudson.drizzle.org/view/Drizzle-build/job/drizzle-build-opensolaris-64/76/console
> http://hudson.drizzle.org/view/Drizzle-staging/job/drizzle-staging-norbye.org/214/console
>
>  CXX    drizzled/plugin/logging.o
> "./drizzled/optimizer/table_read_plan.h", line 159: Error, badfunccp: The function "for_each" must have a prototype.
> 1 Error(s) detected.
> gmake[2]: *** [drizzled/optimizer/range.o] Error 1
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[2]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
> gmake: *** [all] Error 2
> Sending e-mails to: <email address hidden>
> Finished: FAILURE
>
>
>

Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 540385] Re: Build failure: "function for_each must have a prototype" as of build 1351

On 03/17/2010 10:28 AM, Lee Bieber wrote:
> Also seen on http://hudson.drizzle.org/view/Drizzle-trunk/job/drizzle-
> trunk-norbye.org-debug/120/console
>

I'm guessing that the file just needs to:

#include <algorithm>

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 540385] Re: Build failure: "function for_each must have a prototype" as of build 1351

Yeah, that too. :P

On Wed, Mar 17, 2010 at 1:49 PM, Monty Taylor <email address hidden> wrote:
> On 03/17/2010 10:28 AM, Lee Bieber wrote:
>> Also seen on http://hudson.drizzle.org/view/Drizzle-trunk/job/drizzle-
>> trunk-norbye.org-debug/120/console
>>
>
> I'm guessing that the file just needs to:
>
> #include <algorithm>
>
> --
> Build failure: "function for_each must have a prototype"  as of build 1351
> https://bugs.launchpad.net/bugs/540385
> You received this bug notification because you are a member of Drizzle-
> developers, which is subscribed to Drizzle.
>
> Status in A Lightweight SQL Database for Cloud and Web: Confirmed
> Status in Drizzle cherry series: Confirmed
>
> Bug description:
> Happening on a couple of platforms. See the complete logs at:
> http://hudson.drizzle.org/view/Drizzle-build/job/drizzle-build-opensolaris-64/76/console
> http://hudson.drizzle.org/view/Drizzle-staging/job/drizzle-staging-norbye.org/214/console
>
>  CXX    drizzled/plugin/logging.o
> "./drizzled/optimizer/table_read_plan.h", line 159: Error, badfunccp: The function "for_each" must have a prototype.
> 1 Error(s) detected.
> gmake[2]: *** [drizzled/optimizer/range.o] Error 1
> gmake[2]: *** Waiting for unfinished jobs....
> gmake[2]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/export/home/hudson/hudson/workspace/drizzle-build-opensolaris-64'
> gmake: *** [all] Error 2
> Sending e-mails to: <email address hidden>
> Finished: FAILURE
>
>
>

Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Can now build, but we have over 75 test failures

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.