Bug 11871 - dependency problem 'python_dsdb_dns' vs 'dnsserver_common' when not 'bld.AD_DC_BUILD_IS_ENABLED()'
Summary: dependency problem 'python_dsdb_dns' vs 'dnsserver_common' when not 'bld.AD_D...
Status: RESOLVED DUPLICATE of bug 13542
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.4.2
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 10:05 UTC by Lorinczy Zsigmond
Modified: 2018-07-27 07:04 UTC (History)
2 users (show)

See Also:


Attachments

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
Hi,

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'
Comment 1 Andrew Bartlett 2018-07-27 07:04:00 UTC

*** This bug has been marked as a duplicate of bug 13542 ***