Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-10 Thread Kern Sibbald

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Dan,

Although I won't actually be home for some time, my "vacation"  is now over
and I am once again able to work on Bacula (temporary setup in California).
Consequently, I will be doing a bit more work on the community version
over the next couple of weeks.  Then I plan to release a new 7.2.1.

One of the most important things I want to do is go through all the bug
reports
and close the ones that were fixed in 7.2 and add any of the patches that
were not yet integrated in 7.2.

Are there any changes that you have made that should be integrated back
into the Bacula source code?

Best regards,
Kern

On 10/09/2015 12:13 PM, Dan Langille wrote:
>
>> On Oct 9, 2015, at 1:19 PM, Dan Langille > wrote:
>>
>>
>>> On Oct 1, 2015, at 9:26 AM, Kern Sibbald > wrote:
>>>
>>> Hello Dan,
>>>
>>> That is good news ... thanks.
>>>
>>> Best regards,
>>> Kern
>>>
>>> On 15-10-01 05:10 AM, Dan Langille wrote:
> On Sep 21, 2015, at 10:16 PM, Dan Langille  wrote:
>
> I only just got back to this today, and I saw Kern's post about
Eric's work.  I am happy to report: no more compile errors.
>
> re:
http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec
>
> However, regression tests are not starting.  That will be another
post.
 Regression testing on FreeBSD is successful:
http://regress.bacula.org/index.php?project=bacula=2015-09-30

 The problem I mentioned above was because I was not on the correct
branch.

 I'll start work on upgrading the Bacula port next week.]
>>
>> I started looking at creating a FreeBSD port.  To do that, I'd have
to apply the patches from the git URL above.
>>
>> Would it be more appropriate to create a 7.2.1 tarball for release?
>
> FYI, this does not matter for now.  Bacula 7.2.0 is now in the FreeBSD
ports tree.
>
> —
> Dan Langille
> http://langille.org/
>
>
>
>
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlYZB1YACgkQNgfoSvWqwEjiewCdGcZtnBIJ5yHEFNN9BnS1rayX
+eQAn0N1dPiCHwMNUV7KqPEaELpibZfI
=NABn
-END PGP SIGNATURE-

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-10 Thread Dan Langille

> On Oct 10, 2015, at 8:40 AM, Kern Sibbald  wrote:
> 
> 
> Signed PGP part
> Hello Dan,
> 
> Although I won't actually be home for some time, my "vacation"  is now over
> and I am once again able to work on Bacula (temporary setup in California).
> Consequently, I will be doing a bit more work on the community version
> over the next couple of weeks.  Then I plan to release a new 7.2.1.
> 
> One of the most important things I want to do is go through all the bug
> reports
> and close the ones that were fixed in 7.2 and add any of the patches that
> were not yet integrated in 7.2.
> 
> Are there any changes that you have made that should be integrated back
> into the Bacula source code?

No.  What I did was take the patch and include it as part of the FreeBSD port.  
When the next release comes out, I will remove that patch.


—
Dan Langille
http://langille .org/







signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-09 Thread Dan Langille

> On Oct 1, 2015, at 9:26 AM, Kern Sibbald  wrote:
> 
> Hello Dan,
> 
> That is good news ... thanks.
> 
> Best regards,
> Kern
> 
> On 15-10-01 05:10 AM, Dan Langille wrote:
>>> On Sep 21, 2015, at 10:16 PM, Dan Langille  
>>>  wrote:
>>> 
>>> I only just got back to this today, and I saw Kern's post about Eric's 
>>> work.  I am happy to report: no more compile errors.
>>> 
>>> re: 
>>> http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec
>>>  
>>> 
>>> 
>>> However, regression tests are not starting.  That will be another post.
>> Regression testing on FreeBSD is successful: 
>> http://regress.bacula.org/index.php?project=bacula=2015-09-30 
>> 
>> 
>> The problem I mentioned above was because I was not on the correct branch.
>> 
>> I'll start work on upgrading the Bacula port next week.]

I started looking at creating a FreeBSD port.  To do that, I'd have to apply 
the patches from the git URL above.

Would it be more appropriate to create a 7.2.1 tarball for release?

—
Dan Langille
http://langille .org/







signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-09 Thread Dan Langille

> On Oct 9, 2015, at 1:19 PM, Dan Langille  wrote:
> 
> 
>> On Oct 1, 2015, at 9:26 AM, Kern Sibbald > > wrote:
>> 
>> Hello Dan,
>> 
>> That is good news ... thanks.
>> 
>> Best regards,
>> Kern
>> 
>> On 15-10-01 05:10 AM, Dan Langille wrote:
 On Sep 21, 2015, at 10:16 PM, Dan Langille  
  wrote:
 
 I only just got back to this today, and I saw Kern's post about Eric's 
 work.  I am happy to report: no more compile errors.
 
 re: 
 http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec
  
 
 
 However, regression tests are not starting.  That will be another post.
>>> Regression testing on FreeBSD is successful: 
>>> http://regress.bacula.org/index.php?project=bacula=2015-09-30 
>>> 
>>> 
>>> The problem I mentioned above was because I was not on the correct branch.
>>> 
>>> I'll start work on upgrading the Bacula port next week.]
> 
> I started looking at creating a FreeBSD port.  To do that, I'd have to apply 
> the patches from the git URL above.
> 
> Would it be more appropriate to create a 7.2.1 tarball for release?


FYI, this does not matter for now.  Bacula 7.2.0 is now in the FreeBSD ports 
tree.

—
Dan Langille
http://langille .org/







signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-01 Thread Kern Sibbald

Hello Dan,

That is good news ... thanks.

Best regards,
Kern

On 15-10-01 05:10 AM, Dan Langille wrote:

On Sep 21, 2015, at 10:16 PM, Dan Langille  wrote:

I only just got back to this today, and I saw Kern's post about Eric's work.  I 
am happy to report: no more compile errors.

re: 
http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec

However, regression tests are not starting.  That will be another post.

Regression testing on FreeBSD is successful: 
http://regress.bacula.org/index.php?project=bacula=2015-09-30

The problem I mentioned above was because I was not on the correct branch.

I'll start work on upgrading the Bacula port next week.

—
Dan Langille
http://langille.org/







--


___
Bacula-devel mailing list
bacula-de...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel


--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-10-01 Thread Dan Langille

> On Sep 21, 2015, at 10:16 PM, Dan Langille  wrote:
> 
> I only just got back to this today, and I saw Kern's post about Eric's work.  
> I am happy to report: no more compile errors.
> 
> re: 
> http://www.bacula.org/git/cgit.cgi/bacula/commit/?id=26db75ea69d9f097c5de207d180fd58909c4fbec
> 
> However, regression tests are not starting.  That will be another post.

Regression testing on FreeBSD is successful: 
http://regress.bacula.org/index.php?project=bacula=2015-09-30

The problem I mentioned above was because I was not on the correct branch.

I'll start work on upgrading the Bacula port next week.

—
Dan Langille
http://langille.org/







signature.asc
Description: Message signed with OpenPGP using GPGMail
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-09-21 Thread Dan Langille
> On Sep 13, 2015, at 4:57 PM, Heitor Faria  wrote:

> - Original Message -
>> From: "Dan Langille" 
>> To: "bacula-devel" 
>> Cc: "bacula-users" 
>> Sent: Sunday, September 13, 2015 4:09:52 PM
>> Subject: [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors
> 
>> 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 

Re: [Bacula-users] [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

2015-09-13 Thread Heitor Faria
Hello Dan,

Did you try to specify the language (-x) for acl.c just for test purposes? This 
solution is described here => 
http://stackoverflow.com/questions/19644816/linking-c-from-c-in-os-x-mavericks

Regards,
=== 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Do you need Bacula training? 
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list 
+55 61 8268-4220 
Site: http://bacula.us FB: heitor.faria 
===

- Original Message -
> From: "Dan Langille" 
> To: "bacula-devel" 
> Cc: "bacula-users" 
> Sent: Sunday, September 13, 2015 4:09:52 PM
> Subject: [Bacula-devel] FreeBSD 10.2 & Bacula 7.2 compile errors

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