Bug 494243 - Enabling server portions in spec file breaks build
Enabling server portions in spec file breaks build
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: samba4 (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Matthew Barnes
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-05 19:14 EDT by Nathaniel McCallum
Modified: 2009-04-06 14:21 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-04-06 14:21:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nathaniel McCallum 2009-04-05 19:14:54 EDT
I'm attempting to test samba4 for various applications.  I'd like to use the rpms to do it.  When I enable the server parts of the spec file, the build breaks.

I enable the server portions by doing this:
%define enable_samba4  1
%define enable_client  1
%define enable_common  1
%define enable_python  1
%define enable_winbind 0
%define enable_talloc  1
%define enable_tdb     1
%define enable_tevent  1
%define enable_ldb     1

Commenting out the following lines in samba4_common make the build succeed:
#%{_bindir}/ad2oLschema
#%{_bindir}/oLschema2ldif

Even after the build succeeds, the resulting samba4-python rpm is 120MB!  Each .so in that package is roughly 15MB.
Comment 1 Matthew Barnes 2009-04-06 14:21:17 EDT
Confirming the build break and the fix.  We explicitly remove those binaries in the %install phase, so they shouldn't be listed in %files.

Fixed in samba-4.0.0-14alpha7.

Note You need to log in before you can comment on or make changes to this bug.