[PATCHES v4] Another round of FreeBSD developer build fixes

Günther Deschner gd at samba.org
Fri Nov 24 19:01:42 UTC 2017


Oh right, I must had forgotten to reconfigure in between, now it works
like a charm.

Sorry for the noise :-)

Cheers,
Guenther

On 24/11/17 19:32, Uri Simchoni wrote:
> On 11/24/2017 05:37 PM, Günther Deschner wrote:
>> Hi Uri,
>>
>> with the vfs_full_audit patch in that patchset I now get these build
>> failures:
>>
>> ../source3/modules/vfs_full_audit.c: In function ‘smb_full_audit_set_quota’:
>> ../source3/modules/vfs_full_audit.c:722:54: error: zero-length
>> gnu_printf format string [-Werror=format-zero-length]
>>   do_log(SMB_VFS_OP_SET_QUOTA, (result >= 0), handle, "");
>> ...
>>
>> when building with --picky-developer on fedora27.
>>
>> Could you have a look?
>>
>> Thanks,
>> Guenther
>>
> 
> Strange... Samba master builds just fine on my fedora27 (gcc 7.2.1). We
> added a -Wno-format-zero-length to the cflags (see commit
> e973ac06431183b25cecf61053f3a23c91b88de6) and I can see that it's part
> of the build.
> 
> I used:
> ./configure.developer --with-selftest-prefix=./bin/ab --picky-developer
> --with-profiling-data --prefix=/home/vagrant/samba/bin/samba/prefix
> 
> And also with the --with-system-mitkrb5 variant.
> 
> Can you see if you have this flag on your build?
> 
> Thanks,
> Uri.
> 
>>
>> On 23/11/17 23:58, Uri Simchoni via samba-technical wrote:
>>> Hi,
>>>
>>> After Andrew committed some of the FreeBSD build fixes, here's another
>>> round of reduced patch set. It includes:
>>>
>>> - Patches which were not explicitly nacked but did not land yet
>>> - Reworked pam_wrapper patches, already upstream and reviewed by Andreas
>>> - Reworked pragma-less handling of readline.h issues, according to tip
>>> by Timur Bakeyev
>>>
>>> It does not include parts of the original patch set which still require
>>> rework:
>>> - the sysacls patch (v3 1/38) which Andrew felt was smelly - after
>>> closer examination I think it would have broken other
>>> non-Linux/nop-FreeBSD builds.
>>> - remaining #pragma-bearing patchs in pam_winbind (v3 13/38 and 14/38)
>>>
>>> Review appreciated,
>>> Uri.
>>>
>>
>>
> 
> 


-- 
Günther Deschner                    GPG-ID: 8EE11688
Red Hat                         gdeschner at redhat.com
Samba Team                              gd at samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 216 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171124/982e2c38/signature.sig>


More information about the samba-technical mailing list