Bug 494243 - Enabling server portions in spec file breaks build
Summary: Enabling server portions in spec file breaks build
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: samba4
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-05 23:14 UTC by Nathaniel McCallum
Modified: 2009-04-06 18:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-06 18:21:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nathaniel McCallum 2009-04-05 23:14:54 UTC
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 18:21:17 UTC
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.