[MacPorts] #21674: bacula 3.0.2 build fails on snow leopard 64bit
MacPorts
noreply at macports.org
Mon Sep 28 10:00:10 PDT 2009
#21674: bacula 3.0.2 build fails on snow leopard 64bit
-----------------------------+----------------------------------------------
Reporter: nick@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: sysutils/bacula
-----------------------------+----------------------------------------------
Bacula 3.0.2 fails with lots of build errors on my snow leopard 64bit box:
{{{
cupcake:/Users/nick% uname -a
Darwin cupcake.xxxxxxxx.com 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul
31 22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64 i386
cupcake:/Users/nick% gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-
name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686
-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646)
cupcake:/Users/nick%
}}}
Here's one example:
{{{
Compiling restore.c
restore.c: In function 'void do_restore(JCR*)':
restore.c:372: error: invalid conversion from 'intmax_t*' to 'int64_t*'
restore.c:372: error: initializing argument 1 of 'int
from_base64(int64_t*, char*)'
make[1]: *** [restore.o] Error 1
}}}
The same error pops up in:
{{{
bacula-3.0.2/src/dird/catreq.c
bacula-3.0.2/src/dird/job.c
bacula-3.0.2/src/filed/restore.c
bacula-3.0.2/src/filed/verify.c
bacula-3.0.2/src/filed/verify_vol.c
bacula-3.0.2/src/findlib/attribs.c
bacula-3.0.2/src/lib/attr.c
bacula-3.0.2/src/lib/base64.c
bacula-3.0.2/src/lib/cram-md5.c
bacula-3.0.2/src/lib/md5.c
bacula-3.0.2/src/stored/bscan.c
}}}
I've attached a fix for this, but don't know if it compiles on a 32 bit
installation.
--
Ticket URL: <http://trac.macports.org/ticket/21674>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list