[Samba] Building on debian 8.6

Jonathan Hunter jmhunter1 at gmail.com
Tue Dec 20 05:54:15 UTC 2016


Wow - definitely not just me, in that case!

Many thanks, both.

This has also been added to Debian section of the wiki page, for the
benefit of others :) (Thanks to Marc for the edit - I didn't have
access to add external links)

Much appreciated,

Jonathan

On 19 December 2016 at 21:39, Andrew Bartlett <abartlet at samba.org> wrote:
> On Sun, 2016-12-18 at 19:24 +0000, Jonathan Hunter via samba wrote:
>> Hi,
>>
>> Despite having used samba for many, many years, I have not built from
>> source on Debian before. CentOS, yes.. Raspbian, yes.. but not Debian
>> itself.
>>
>> I have installed Debian 8.6 from scratch:
>> newserver:~/download/samba-4.5.2$ cat /etc/debian_version
>> 8.6
>> user at newserver:~/download/samba-4.5.2$ uname -a
>> Linux newserver 3.16.0-4-686-pae #1 SMP Debian 3.16.36-1+deb8u2
>> (2016-10-19) i686 GNU/Linux
>>
>> and have installed all required packages as per:
>> https://wiki.samba.org/index.php/Samba_Dependencies_Required_to_Build
>> _Samba#Debian_.2F_Ubuntu
>>
>> The build works perfectly up to a point.. then fails with a
>> segmentation fault. Are there logs from the build process that I
>> could
>> look at, to try and figure out what's failing?
>>
>> user at newserver:~/download/samba-4.5.2$ make distclean && ./configure
>> && make
>> [...]
>> [3777/3902] Linking
>> default/source4/ldap_server/libservice_module_ldap.so
>> [3778/3902] Linking
>> default/source4/wrepl_server/libservice_module_wrepl.so
>> [3779/3902] pidl.1p: pidl/pidl -> bin/default/pidl/pidl.1p
>> [3780/3902] Parse::Pidl::Dump.3pm: pidl/lib/Parse/Pidl/Dump.pm ->
>> bin/default/pidl/Parse::Pidl::Dump.3pm
>> [3781/3902] Parse::Pidl::Wireshark::Conformance.3pm:
>> pidl/lib/Parse/Pidl/Wireshark/Conformance.pm ->
>> bin/default/pidl/Parse::Pidl::Wireshark::Conformance.3pm
>> [3782/3902] Parse::Pidl::Util.3pm: pidl/lib/Parse/Pidl/Util.pm ->
>> bin/default/pidl/Parse::Pidl::Util.3pm
>> [3783/3902] Parse::Pidl::NDR.3pm: pidl/lib/Parse/Pidl/NDR.pm ->
>> bin/default/pidl/Parse::Pidl::NDR.3pm
>> [3784/3902] Parse::Pidl::Wireshark::NDR.3pm:
>> pidl/lib/Parse/Pidl/Wireshark/NDR.pm ->
>> bin/default/pidl/Parse::Pidl::Wireshark::NDR.3pm
>> [3785/3902] Generating manpages/smb.conf.5
>> Segmentation fault
>> Waf: Leaving directory `/home/user/download/samba-4.5.2/bin'
>> Build failed:  -> task failed (err #139):
>>         {task: manpages/smb.conf.5 smb.conf.5.xml,parameters.all.xml
>> -> smb.conf.5}
>>
>> There might be something missing from my Debian installation (I'm
>> normally a CentOS man; this is the first time I've tried Debian - you
>> can probably tell!), but I'm confused by the fact that the build
>> segfaults, rather than ./configure telling me something is missing.
>
> Yes, this is a painfully well known bug in the debian xsltproc package,
> on i386 which doesn't seem to have a good resolution.
>
> It is made worse by various kernel versions, due to the placement of
> the stack, which overflows.
>
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471029
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750593
> https://bugzilla.gnome.org/show_bug.cgi?id=736077
> https://bugzilla.gnome.org/show_bug.cgi?id=751764
>
> Andrew Bartlett
>



-- 
"If we knew what it was we were doing, it would not be called
research, would it?"
      - Albert Einstein



More information about the samba mailing list