Project

General

Profile

Bug #621

error building unstable branch, rbd.cc:837: error: no matching function for call to 'min(uint64_t&, off_t)'

Added by John Leach over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Spent time:
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Building on i386 Ubuntu Lucid, it fails building rbd.

This is a build of unstable at commit bf784cdb4f605c467eb094a0bc226115cc751b93

g++ -DHAVE_CONFIG_H -I.     -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT rbd.o -MD -MP -MF .deps/rbd.Tpo -c -o rbd.o rbd.cc
rbd.cc: In function 'int do_import(void*, const char*, int, const char*)':
rbd.cc:837: error: no matching function for call to 'min(uint64_t&, off_t)'
make[3]: *** [rbd.o] Error 1
make[3]: Leaving directory `/build/buildd/ceph-0.23.1+gitbf784cdb4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/ceph-0.23.1+gitbf784cdb4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/ceph-0.23.1+gitbf784cdb4'
make: *** [build-stamp] Error 2

full build log here: http://launchpadlibrarian.net/59908082/buildlog_ubuntu-lucid-i386.ceph_0.23.1%2Bgitbf784cdb4-2_FAILEDTOBUILD.txt.gz

History

#1 Updated by Sage Weil over 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Sage Weil
  • Target version set to v0.24

should be fixed by commit:307404231ecb09fdd2f6dd6e50677e746bba4236

Also available in: Atom PDF