Bacula-users

[Bacula-users] bacula 7.2.0 can't be compiled on illumos

2015-08-19 12:55:31
Subject: [Bacula-users] bacula 7.2.0 can't be compiled on illumos
From: Alexander Pyhalov <alp AT sfedu DOT ru>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 19 Aug 2015 19:53:28 +0300
Hello.

Bacula 7.2.0 changes has broken bacula on Solaris / illumos. It seems 
noone tried to compile it here.

First, cosmetic fstype.c changes
--- bacula-7.2.0/src/findlib/fstype.c.~1~       2015-08-19 
18:20:52.330028047 +0300
+++ bacula-7.2.0/src/findlib/fstype.c   2015-08-19 18:23:11.851014938 +0300
@@ -32,6 +32,10 @@
  #include <sys/types.h>
  #include <sys/stat.h>

+#ifdef HAVE_SUN_OS
+#include <sys/mnttab.h>
+#endif
+
  #else /* Set up for testing a stand alone program */

  #include <stdio.h>
@@ -373,7 +377,7 @@
        mtab_handler(user_ctx, &st, mnt.mnt_fstype, mnt.mnt_mountp,
           mnt.mnt_mntopts, mnt.mnt_special);
     }
-   fclose(fp);
+   fclose(mntfp);
     V(mutex);
  #endif


Second, mismerge of 
http://www.bacula.org/git/cgit.cgi/bacula/commit/?h=Branch-7.2&id=4d2b94fa3e8018d1a462756ad6e1df7e12a29d20,
 
which partially renamed STREAM_ACL_SOLARIS_ACE to 
STREAM_ACL_SOLARIS_NFS4 and  STREAM_ACL_SOLARIS_ACLENT to 
STREAM_ACL_SOLARIS_POSIX, but didn't make this in acl.c.

Another issue is with update_sqlite3_tables script - it uses
ALTER TABLE Media CHANGE VolWrites VolWrites BIGINT UNSIGNED;
ALTER TABLE CHANGE is unavailable in sqlite3 (at least 3.8.10.2).
-- 
С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>