OK, I got Amanda 3.5.1 to compile under MacOSX 10.11.6, using these configure 
options:

'--without-server' '--with-ssh-security' '--prefix=/opt/local'  
'--with-user=amanda' '--with-group=wheel'

(I had to hack the location of aclocal's directory in autogen and Makefile.am, 
and had to change one line in ndmp-src/ndml_conn.c -- had to add a third 
argument to the xdr callback.)

But there is a problem with sendbackup: "compress" is is crashing:

Tue Aug 13 10:53:32 2019: pid 1284: thd-0x7faffb503400: sendbackup: critical 
(fatal): error [compress (1286) compress returned 1]
0   libamanda-3.5.1.dylib               0x0000000104d321f0 
debug_logging_handler + 528
1   libglib-2.0.0.dylib                 0x0000000104e672ab g_logv + 874
2   libglib-2.0.0.dylib                 0x0000000104e66f2c g_log + 134
3   sendbackup                          0x0000000104ce69d7 
parse_backup_messages + 983
4   sendbackup                          0x0000000104ce47ad main + 5389
5   libdyld.dylib                       0x00007fff876fd5ad start + 1
6   ???                                 0x0000000000000005 0x0 + 5

I think I need to run sendbackup in interactive mode (-t option I believe).  
Where can I find documentation on how to get sendbackup cranking on a "dummy" 
backup so I can catch the crash with gdb?

I suspect that something changed in glib between 2.56 (the version on 
Ubuntu 18.04 which has amanda 3.5.1), and 2.58 (what macports installed on my 
MacOSX machine), something needs to be updated somewhere in amanda to allow 
for that.

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services
               

Reply via email to