Skip to content

samba build hangs/deadlocks for i686-linux #287339

@fabianhjr

Description

@fabianhjr

Describe the bug

Samba build hangs/deadlocks

Steps To Reproduce

Steps to reproduce the behavior:

nix build github:NixOS/nixpkgs/13d222c591f2c2a74bcf19f046f76fa3531bf98a#samba --system i686-linux --rebuild

commit 13d222c591f2c2a74bcf19f046f76fa3531bf98a (HEAD -> staging-next, origin/staging-next)
Merge: ba83271df0ec a5d28c9bffb4
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Thu Feb 8 18:01:04 2024 +0000

    Merge master into staging-next

#285983

Expected behavior

Samba builds

Additional context

pstree

fabian@nixos ~/D/O/n/main (staging-next)> nix run nixpkgs#pstree 1676785
-+= 1676785 nixbld1 bash -e /nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh 
 \-+- 1676851 nixbld1 python buildtools/bin/waf --prefix=/nix/store/zfwdsqbs3mmh0lnswpd1py47p488lcpn-samba-4.19.4 --with-static-modules=NONE --with-shared-modules=ALL --enable-fhs --sysconfdir=/etc --localstatedir=/var --disable-rpath --without-ad-dc --without-ldap --without-ads --bundled-libraries=!ldb,!pyldb-util!talloc,!pytalloc-util,!tevent,
   |--- 1676867 nixbld1 /nix/store/ah5382l41gaffmx8yj8w3j34n18mh1al-python3-3.11.7/bin/python -c #! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2016-2018 (ita)

import os, sys, traceback, base64, signal
try:
	import cPickle
except ImportError:
	import pickle as cPickle

try:
	import subprocess32 as subprocess
except ImportError:
	import
   |--- 1676866 nixbld1 /nix/store/ah5382l41gaffmx8yj8w3j34n18mh1al-python3-3.11.7/bin/python -c #! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2016-2018 (ita)

import os, sys, traceback, base64, signal
try:
	import cPickle
except ImportError:
	import pickle as cPickle

try:
	import subprocess32 as subprocess
except ImportError:
	import
   |--- 1676865 nixbld1 /nix/store/ah5382l41gaffmx8yj8w3j34n18mh1al-python3-3.11.7/bin/python -c #! /usr/bin/env python
# encoding: utf-8
# Thomas Nagy, 2016-2018 (ita)

killing

Checking for chflags                                                                            : /nix/store/fpw1rm9dv582biqi0y7gqrjl98jbf8va-waf-setup-hook/nix-support/setup-hook: line 3:    64 Killed                  python "$wafPath" "${flagsArray[@]}"
error: builder for '/nix/store/vqpiy564blqdslidg2mq7mxb9zhvlbn4-samba-4.19.4.drv' failed with exit code 137;
       last 10 log lines:
       > Checking for getcwd                                                                             : ok 
       > Checking for fchown                                                                             : ok 
       > Checking for chmod                                                                              : ok 
       > Checking for fchmod                                                                             : ok 
       > Checking for mknod                                                                              : ok 
       > Checking for mknodat                                                                            : ok 
       > Checking for strtol                                                                             : ok 
       > Checking for strchr                                                                             : ok 
       > Checking for strupr                                                                             : not found 
       > Checking for chflags                                                                            : /nix/store/fpw1rm9dv582biqi0y7gqrjl98jbf8va-waf-setup-hook/nix-support/setup-hook: line 3:    64 Killed                  python "$wafPath" "${flagsArray[@]}"
       For full logs, run 'nix log /nix/store/vqpiy564blqdslidg2mq7mxb9zhvlbn4-samba-4.19.4.drv'.

Notify maintainers

@aneeshusa (samba)
@AndersonTorres (waf)
@vrthra (waf)

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.3-hardened1, NixOS, 24.05 (Uakari), 24.05.git.13d222c591f2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions