0.24 make fails on 32-bit installs

Bug #815796 reported by Souvik Roy
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gearman
Fix Released
Medium
Brian Aker
gearmand (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1) ./configure passes

2) make gives the following error:
tests/gearman_execute_partition.cc: In function 'test_return_t gearman_execute_partition_basic(void*)':
tests/gearman_execute_partition.cc:109: error: no matching function for call to '_compare(const char [35], int, const char [32], long unsigned int, size_t)'
tests/gearman_execute_partition.cc: In function 'test_return_t gearman_execute_partition_use_as_function(void*)':
tests/gearman_execute_partition.cc:191: error: no matching function for call to '_compare(const char [35], int, const char [42], long unsigned int, size_t)'

Resolution: Commenting out the lines or ignoring errors passes the build.

Reason: Unknown

Revision history for this message
Rodney Ramos (rodneyra) wrote :

I´m having the same problem with RHEL 5.4, i386. "make install" does not work with this error.

description: updated
Rodney Ramos (rodneyra)
description: updated
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Marking Confirmed/Medium since 2 different platforms seem to have this issue.

Changed in gearmand:
status: New → Confirmed
importance: Undecided → Medium
Brian Aker (brianaker)
Changed in gearmand:
assignee: nobody → Brian Aker (brianaker)
Revision history for this message
anil (anil-yeni) wrote :

same problem @ ubuntu 11.04

Changed in ubuntu:
status: New → Incomplete
status: Incomplete → Fix Committed
Revision history for this message
Timothy Mayoh (timothy-m-deactivatedaccount) wrote :

Anil,

As the Fix Committed status is only intended to be used when the the changes are pending and to be uploaded soon, after a fix has been proposed (which it doesn't appear to be in this case); I shall change the status to match that of what it is in Gearman (Confirmed). A full explanation of the different statuses for bugs can be found here: https://wiki.ubuntu.com/Bugs/Status

Many thanks,
Timothy

affects: ubuntu → gearmand (Ubuntu)
Changed in gearmand (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
anil (anil-yeni) wrote : Re: [Bug 815796] Re: make fails on Open SUSE enterprise server 11.1 (AWS ec2)

Sorry Timothy it was the first comment at launchpad, i think i did something
wrong.

Thank you

Anil

2011/8/17 Timothy Mayoh <email address hidden>

> Anil,
>
> As the Fix Committed status is only intended to be used when the the
> changes are pending and to be uploaded soon, after a fix has been
> proposed (which it doesn't appear to be in this case); I shall change
> the status to match that of what it is in Gearman (Confirmed). A full
> explanation of the different statuses for bugs can be found here:
> https://wiki.ubuntu.com/Bugs/Status
>
> Many thanks,
> Timothy
>
> ** Package changed: ubuntu => gearmand (Ubuntu)
>
> ** Changed in: gearmand (Ubuntu)
> Status: Fix Committed => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/815796
>
> Title:
> make fails on Open SUSE enterprise server 11.1 (AWS ec2)
>
> Status in Gearman Server and Client Libraries:
> Confirmed
> Status in “gearmand” package in Ubuntu:
> Confirmed
>
> Bug description:
> 1) ./configure passes
>
> 2) make gives the following error:
> tests/gearman_execute_partition.cc: In function 'test_return_t
> gearman_execute_partition_basic(void*)':
> tests/gearman_execute_partition.cc:109: error: no matching function for
> call to '_compare(const char [35], int, const char [32], long unsigned int,
> size_t)'
> tests/gearman_execute_partition.cc: In function 'test_return_t
> gearman_execute_partition_use_as_function(void*)':
> tests/gearman_execute_partition.cc:191: error: no matching function for
> call to '_compare(const char [35], int, const char [42], long unsigned int,
> size_t)'
>
> Resolution: Commenting out the lines or ignoring errors passes the
> build.
>
> Reason: Unknown
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gearmand/+bug/815796/+subscriptions
>

Revision history for this message
Bertrand Fan (bertrandom) wrote : Re: make fails on Open SUSE enterprise server 11.1 (AWS ec2)

I'm not sure if this helps but this does not compile for me on Ubuntu 11.04 on a small 32-bit EC2 instance, AMI ami-06ad526f, but it DOES compile for me on Ubuntu 11.04 on a micro 64-bit EC2 instance, AMI ami-06ad526f. 0.23 compiles on the small 32-bit.

Eric Caron (eric-caron)
summary: - make fails on Open SUSE enterprise server 11.1 (AWS ec2)
+ 0.24 make fails on 32-bit installs
Revision history for this message
Eric Caron (eric-caron) wrote :

I can confirm that bertrandom is correct in saying that reverting to 0.23 fixes this problem (I'll start looking into which part of the giant #442 commit it comes from.)

Brian Aker (brianaker)
Changed in gearmand:
status: Confirmed → Fix Committed
Brian Aker (brianaker)
Changed in gearmand:
status: Fix Committed → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This does not affect current Ubuntu versions, which do have 32-bit binaries.

Changed in gearmand (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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