Bug 13819 - installation hangs during configure phase
installation hangs during configure phase
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.10.0rc3
Other Linux
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-02 01:01 UTC by Peter Serbe
Modified: 2019-03-27 22:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Serbe 2019-03-02 01:01:09 UTC
After having seen many different hangs during the configure phase of Gentoo's samba-4.10-rc3 package I could repeat one hangup by this procedure:

- unpack the samba sources in /usr/src/samba/samba-4.10.0rc3
- run that configure command:
------------------------------------------------------------------------------
EPYTHON=python3.6 ./configure --prefix=/usr --libdir=/usr/lib --enable-fhs --sysconfdir=/etc --localstatedir=/var --with-modulesdir=/usr/lib/samba --with-piddir=/run/samba --bundled-libraries=heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE --builtin-libraries=NONE --disable-rpath --disable-rpath-install --nopyc --nopyo --with-acl-support --with-dnsupdate --without-ads --disable-cephfs --without-cluster-support --disable-cups --without-dmapi --without-fam --without-gpgme --with-json --disable-iprint --with-pam --with-pammodulesdir=/lib/security --with-quotas --with-syslog --without-systemd --with-winbind --disable-avahi --enable-gnutls --without-lttng --with-ldap --with-shared-modules= -j4
------------------------------------------------------------------------------

note: this is equivalent to the configure I observed when trying to install the Gentoo package, except the -j4, which I added to get a hangup from the plain Samba sources. 

I am on a Raspi 3B running Gentoo with the latest LDB/TDB/talloc/tevent, all compiled against Python 3.6. 

The output of the console is here:
www.serbe.ch/~peter/2019/samba/configure_fail.txt
Comment 1 Peter Serbe 2019-03-27 22:28:57 UTC
I have to withdraw this bug report. 

In a long attempt to debug the issue, I have come to the conclusion, that I hit a bug in the Gentoo wrapper to the Waf tools. Besides in my first debugging sessions I still did not have a really clean system, as a wrong CHOST entry left from the last profile update (it takes a week to rebuild everything, so one tries to avoid this...). 

So the base line is this: when I use the Samba supplied configure script without the highly discouraged -jx (x=2+...) flag, then the compile phase succeeds. 

Please close this bug report.

Thank You.