Bug 818981

Summary: Stable samba4-devel missing
Product: [openSUSE] openSUSE 12.3 Reporter: Forgotten User Ku1lZ_yaEZ <forgotten_Ku1lZ_yaEZ>
Component: SambaAssignee: The 'Opening Windows to a Wider World' guys <samba-maintainers>
Status: VERIFIED DUPLICATE QA Contact: The 'Opening Windows to a Wider World' guys <samba-maintainers>
Severity: Normal    
Priority: P5 - None CC: ddiss, pth
Version: Final   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 12.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: config.log during the attempted build

Description Forgotten User Ku1lZ_yaEZ 2013-05-08 15:41:22 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.32 (KHTML, like Gecko) Chrome/27.0.1425.0 Safari/537.32 SUSE/27.0.1425.0

We're trying to build sssd beta on 12.3

./configure fails with
configure: error: "Please install Samba 4 development libraries"

Problem: we do not have Samba 4 development libraries.

Please see the thread:
http://lists.opensuse.org/opensuse/2013-05/msg00217.html

Reproducible: Always

Steps to Reproduce:
1.unpack the sssd-1.10.0beta1 tarball 
2.build as per the instructions
3.
Actual Results:  
./configure fails

Expected Results:  
The package is built.

Packages installed:
libacl-devel python-selinux autoconf make \
python-devel gdb sqlite3-devel libgnutls-devel binutils \
policycoreutils-python setools-libs selinux-policy \
setools-libs popt-devel libpcap-devel keyutils-devel \
libidn-devel libxml2-devel libacl-devel libsepol-devel \
libattr-devel zlib-devel gcc \ 
krb5-client openldap2-devel libopenssl-devel\
bind-utils bind-lib openldap-devel gettext libtool pcre-devel c-ares-devel \
 dbus-devel libxslt docbook-style-xsl krb5-devel nspr-devel \
 libxml2 pam-devel nss-devel libtevent python-devel \
 libtevent-devel libtdb libtdb-devel libtalloc libtalloc-devel \
 libldb libldb-devel popt-devel c-ares-devel check-devel \
 doxygen libselinux-devel libsemanage-devel bind-utils libnl3-devel \
 gettext-devel glib2-devel libdhash-devel libcollection-devel\
 libini_config-devel openldap2-devel cyrus-sasl-devel libopenssl-devel\
 libcares-devel krb5-config nss-shared-helper-devel dbus-1-devel\
 docbook-xsl-stylesheets gcc make
Comment 1 Forgotten User Ku1lZ_yaEZ 2013-05-08 17:50:57 UTC
Created attachment 538432 [details]
config.log during the attempted build
Comment 2 Philipp Thomas 2013-05-09 22:49:29 UTC
If you examine config.log you'll see that configure is asking pkgconfig for ndr_nbt which isn't found. So you need to find out which package (if any) contains the file ndr_nbt.pc. One way to do so would be using zgrep on the file ARCHIVES.gz in the root of the DVD. But AFAICS, we don't have Samba4 packages in openSUSE 12.3. But a search on http://software.opensuse.org/search for samba4-devel (-devel packages usually contain .pc files) finds a package in  home:jniltinho (if you click on 'Show unstable packages'). 

NOTE: For home repositories you should know if you can trust the owner as these packages have passed no official checks (other than those done during build of the package).
Comment 3 Forgotten User Ku1lZ_yaEZ 2013-05-09 23:59:32 UTC
(In reply to comment #2)
> If you examine config.log you'll see that configure is asking pkgconfig for
> ndr_nbt which isn't found. So you need to find out which package (if any)
> contains the file ndr_nbt.pc. One way to do so would be using zgrep on the file
> ARCHIVES.gz in the root of the DVD. But AFAICS, we don't have Samba4 packages
> in openSUSE 12.3. But a search on http://software.opensuse.org/search for
> samba4-devel (-devel packages usually contain .pc files) finds a package in 
> home:jniltinho (if you click on 'Show unstable packages'). 
> 
> NOTE: For home repositories you should know if you can trust the owner as these
> packages have passed no official checks (other than those done during build of
> the package).

Thanks
Nothing supplies the ndr files. The only way to get them is to build Samba4, when they duly appear under /usr/local/samba/lib and /usr/local/samba/include. As you say, the other alternative is to use the unstable repo which builds sssd but produces a runtime error. But that's not what I'm asking for. I'm asking about the possibility of having a stable samba4-devel to bring us back into line and produce an sssd build which does not produce a runtime error, as e.g. building on Ubuntu.

The point is that openSUSE used to be the reference for Samba packaging, always having the latest versions. I can build sssd out of the box using stable packages on the other major distros.

We're willing to test anything you like for the samba4-devel.
Comment 4 David Disseldorp 2013-07-03 13:03:55 UTC
As described by Philipp, Samba 4 is not officially packaged for openSUSE 12.3.
Comment 5 Lars Müller 2013-10-07 21:22:12 UTC

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