Bacula-users

[Bacula-users] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-09-13 15:15:11
Subject: [Bacula-users] FreeBSD 10.2 & Bacula 7.2 compile errors
From: Dan Langille <dan AT langille DOT org>
To: bacula-devel <bacula-devel AT lists.sourceforge DOT net>
Date: Sun, 13 Sep 2015 15:09:52 -0400
I tried running regression testing today for Bacula 7.2 on FreeBSD 10.2 and I 
encountered some errors:

Bacula 7.2 compile errors via regression testing on FreeBSD 10.2, not sure if 
this is my configuration or what.


==>Entering directory 
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed
Compiling filed.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is 
deprecated
Compiling authenticate.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is 
deprecated
Compiling acl.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is 
deprecated
acl.c:991:4: error: use of undeclared identifier 'STREAM_ACL_FREEBSD_ACCESS_ACL'
   STREAM_ACL_FREEBSD_ACCESS_ACL,
   ^
acl.c:992:4: error: use of undeclared identifier 'STREAM_ACL_FREEBSD_NFS4_ACL'
   STREAM_ACL_FREEBSD_NFS4_ACL
   ^
acl.c:995:4: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_DEFAULT_ACL'
   STREAM_ACL_FREEBSD_DEFAULT_ACL
   ^
acl.c:1068:35: error: use of undeclared identifier 'STREAM_ACL_FREEBSD_NFS4_ACL'
         if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_NFS4_ACL) == 
bacl_rtn_fatal)
                                  ^
acl.c:1080:35: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_ACCESS_ACL'
         if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_ACCESS_ACL) == 
bacl_rtn_fatal)
                                  ^
acl.c:1091:38: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_DEFAULT_ACL'
            if (send_acl_stream(jcr, STREAM_ACL_FREEBSD_DEFAULT_ACL) == 
bacl_rtn_fatal)
                                     ^
acl.c:1116:9: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_ACCESS_ACL'
   case STREAM_ACL_FREEBSD_ACCESS_ACL:
        ^
acl.c:1118:9: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_DEFAULT_ACL'
   case STREAM_ACL_FREEBSD_DEFAULT_ACL:
        ^
acl.c:1122:9: error: use of undeclared identifier 'STREAM_ACL_FREEBSD_NFS4_ACL'
   case STREAM_ACL_FREEBSD_NFS4_ACL:
        ^
acl.c:1162:9: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_ACCESS_ACL'
   case STREAM_ACL_FREEBSD_ACCESS_ACL:
        ^
acl.c:1165:9: error: use of undeclared identifier 
'STREAM_ACL_FREEBSD_DEFAULT_ACL'
   case STREAM_ACL_FREEBSD_DEFAULT_ACL:
        ^
acl.c:1167:9: error: use of undeclared identifier 'STREAM_ACL_FREEBSD_NFS4_ACL'
   case STREAM_ACL_FREEBSD_NFS4_ACL:
        ^
12 errors generated.
*** Error code 1

Stop.
make[2]: stopped in 
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed


  ====== Error in 
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build/src/filed ======


*** Error code 1

Stop.
make[1]: stopped in 
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/build
Bad exit code giving up
*** Error code 1

Stop.



FYI:

Configuration on Sun Sep 13 18:22:21 UTC 2015:

   Host:                     x86_64-unknown-freebsd10.2 -- freebsd 10.2-RELEASE
   Bacula version:           Bacula 7.2.0 (14 August 2015)
   Source code location:     .
   Install binaries:         
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin
   Install libraries:        
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin
   Install config files:     
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin
   Scripts directory:        
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin
   Archive directory:        
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/tmp
   Working directory:        
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working
   PID directory:            
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working
   Subsys directory:         
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/working
   Man directory:            
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin
   Data directory:           /usr/share
   Plugin directory:         
/usr/home/dan/src/Bacula7RegressionTesting-TRUNK/regress/bin/plugins
   C Compiler:               cc version
   C++ Compiler:             /usr/bin/c++ version
   Compiler flags:            -g -O2 -Wall
   Linker flags:
   Libraries:                -lpthread
   Statically Linked Tools:  no
   Statically Linked FD:     no
   Statically Linked SD:     no
   Statically Linked DIR:    no
   Statically Linked CONS:   no
   Database backends:        PostgreSQL
   Database port:
   Database name:            regress
   Database user:            regress

   Job Output Email:         dan.langille+pg92 AT gmail DOT com
   Traceback Email:          dan.langille+pg92 AT gmail DOT com
   SMTP Host Address:        localhost

   Director Port:            8101
   File daemon Port:         8102
   Storage daemon Port:      8103

   Director User:
   Director Group:
   Storage Daemon User:
   Storage DaemonGroup:
   File Daemon User:
   File Daemon Group:

   Large file support:       yes
   Bacula conio support:     yes -ltinfo
   readline support:         no
   TCP Wrappers support:     yes -lwrap
   TLS support:              yes
   Encryption support:       yes
   ZLIB support:             yes
   LZO support:              no
   enable-smartalloc:        yes
   enable-lockmgr:           yes
   bat support:              no
   client-only:              no
   build-dird:               yes
   build-stored:             yes
   Plugin support:           yes
   AFS support:              no
   ACL support:              yes
   XATTR support:            yes
   systemd support:          no
   Batch insert enabled:     PostgreSQL


—
Dan Langille
http://langille.org/





Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
_______________________________________________
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>