Bug 11871 - dependency problem 'python_dsdb_dns' vs 'dnsserver_common' when not 'bld.AD_DC_BUILD_IS_ENABLED()'
dependency problem 'python_dsdb_dns' vs 'dnsserver_common' when not 'bld.AD_D...
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
All All
: P5 enhancement
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2016-04-22 10:05 UTC by Lorinczy Zsigmond
Modified: 2016-04-23 03:05 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Lorinczy Zsigmond 2016-04-22 10:05:33 UTC

In file 'source4/dns_server/wscript_build' every target is marked with condition 'enabled=bld.AD_DC_BUILD_IS_ENABLED()' except for 'python_dsdb_dns'; but it does depend on 'dnsserver_common'.

So when I compile samba-4.4.2 without AD_DC, I get a 'python_dsdb_dns.so' which has unresolved externals like 'dns_common_zones'.

It's hardly a problem in Linux (unless you actually want to use this module), but I'm trying to compile in Aix -- in Aix-world, unresolved externals aren't usually welcome (they cause disturbance in the Force, or something like that.)

I'd like to suggest adding this condition to 'python_dsdb_dns' or remove it from 'dnsserver_common'