!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1158 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org185 Servers

Load older messages


SenderMessageTime
4 Jan 2026
@reckenrode:matrix.orgRandy Eckenrode *
FAIL: man-symlinks-with-matching-names
======================================

--- /var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.1uhsol/tmp.FXhfC72tf3/1.exp      2026-01-04 08:50:42.266255481 -0500
+++ /var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.1uhsol/tmp.FXhfC72tf3/1.out      2026-01-04 08:50:46.942385823 -0500
@@ -1,2 +1,2 @@
-/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.1uhsol/tmp.FXhfC72tf3/usr/share/man/man1/md5sum.textutils.1.gz
+/private/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.1uhsol/tmp.FXhfC72tf3/usr/share/man/man1/md5sum.textutils.1.gz
 /var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.1uhsol/tmp.FXhfC72tf3/usr/share/man/man1/md5sum.1.gz
  FAIL: symlinks with matching names win
FAIL man-symlinks-with-matching-names (exit status: 1)
13:51:44
@reckenrode:matrix.orgRandy EckenrodeI’m not able to reproduce locally. 😬14:05:33
@reckenrode:matrix.orgRandy Eckenrode I’m doing nix develop -i github:NixOS/nixpkgs?ref=staging-next-25.11#man then running the stages manually. I have to skip man-symlinks-with-matching-names because it gets confused that /var is a symlink to /private/var, but the other tests all pass. 14:07:12
@reckenrode:matrix.orgRandy EckenrodeIIRC exit status 139 is usually code-signing related, but I should have the same badly signed binaries in that case. And why would it only fail for that one test, too?14:09:15
@reckenrode:matrix.orgRandy Eckenrode nix build github:NixOS/nixpkgs?ref=staging-next-25.11#man also succeeds. 14:19:01
@reckenrode:matrix.orgRandy Eckenrode
$ nix-info -m
 - system: `"aarch64-darwin"`
 - host os: `Darwin 25.2.0, macOS 26.2`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Lix, like Nix) 2.93.3
System type: aarch64-darwin
Additional system types: x86_64-darwin
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /Users/reckenrode/.config/nix/nix.conf:/Users/reckenrode/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/reckenrode/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/5ayhl0gp33jw4vsnn5yhmk01apbvr3c4-lix-2.93.3/share`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`
14:19:43
@risson:lama-corp.spacerisson changed their profile picture.14:35:56
@emilazy:matrix.orgemilywe'd need to see the log file if it doesn't reproduce15:29:56
@reckenrode:matrix.orgRandy Eckenrode Is exit status 139 a segmentation fault? What could be causing man to crash? 15:37:56
@reckenrode:matrix.orgRandy EckenrodeCan we get console logs from Hydra? That might have a stack trace.15:38:13
@reckenrode:matrix.orgRandy Eckenrode * (Just Googled it.) Is exit status 139 a segmentation fault? What could be causing man to crash? 15:39:05
@vcunat:matrix.orgvcunatI'll log in and see what I can get.16:15:32
@vcunat:matrix.orgvcunat

The man's log file doesn't seem helpful:

System information (uname -a): Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:55 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T8103 arm64 arm

.. contents:: :depth: 2

FAIL: man1/manconv.1
====================

man -E UTF-8 -l ./man1/manconv.1 failed with exit status 139 and error output:

FAIL man1/manconv.1 (exit status: 139)

FAIL: man1/whatis.1
===================

man -E UTF-8 -l ./man1/whatis.1 failed with exit status 139 and error output:

FAIL man1/whatis.1 (exit status: 139)

FAIL: man5/manpath.5
====================

man -E UTF-8 -l ./man5/manpath.5 failed with exit status 139 and error output:

FAIL man5/manpath.5 (exit status: 139)
16:23:50
@vcunat:matrix.orgvcunatNo code-signing logs, if I'm holding it right.16:26:22
@reckenrode:matrix.orgRandy EckenrodeI don’t think this is code-signing. I think this is a plain crash. But why? Is the build directory still there?16:29:44
@reckenrode:matrix.orgRandy EckenrodeDoes running the command manually crash?16:29:55
@moraxyc:qaq.liMoraxyc changed their profile picture.16:41:17
@moraxyc:qaq.liMoraxyc changed their profile picture.16:43:27
@vcunat:matrix.orgvcunat 🤔 the /nix/store path doesn't seem to have remained after --keep-failed build. 16:43:37
@vcunat:matrix.orgvcunatAnd the file from the temporary directory is looking for libmandb-*.dylib on that path.16:44:26
@reckenrode:matrix.orgRandy Eckenrode src/man is a script. It tries to set up DYLD_LIBRARY_PATH to point to the dylibs in the build. Is something not right with that? 16:54:58
@reckenrode:matrix.orgRandy Eckenrode

This is what it looks like for me after I run checkPhase to generate it.

    # Add our own library path to DYLD_LIBRARY_PATH
    DYLD_LIBRARY_PATH="/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.zQPn4f/man-db-2.13.1/libdb/.libs:/var/folders/yf/1c0ncp6s14n1sb_87_640lsm0000gn/T/nix-shell.zQPn4f/man-db-2.13.1/lib/.libs:$DYLD_LIBRARY_PATH"

    # Some systems cannot cope with colon-terminated DYLD_LIBRARY_PATH
    # The second colon is a workaround for a bug in BeOS R4 sed
    DYLD_LIBRARY_PATH=`$ECHO "$DYLD_LIBRARY_PATH" | /nix/store/4s0iv69d8m17v0bz3y5vry5byr3ml8vb-gnused-4.9/bin/sed 's/::*$//'`

    export DYLD_LIBRARY_PATH

    if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
      # Run the actual program with our arguments.
      func_exec_program ${1+"$@"}
    fi
16:55:42
@vcunat:matrix.orgvcunatAh, src/man16:57:04
@vcunat:matrix.orgvcunatI was running the unwrapped binary.16:57:12
@vcunat:matrix.orgvcunatHad to set DYLD manually.16:57:17
@vcunat:matrix.orgvcunatBut then it's failing to find the config file.16:57:29
@vcunat:matrix.orgvcunat And if I specify that, it's failing to find executables (nroff) 16:57:46
@vcunat:matrix.orgvcunat

🤔

src/man -C ./src/man_db.conf ./man/man5/manpath.5
man: command exited with status 255: /nix/store/lkgb48k0pifhrknkmhgc1379i2aa8r9a-man-db-2.13.1/libexec/man-db/zsoelim | /nix/store/lkgb48k0pifhrknkmhgc1379i2aa8r9a-man-db-2.13.1/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t ANSI_X3.4-1968//IGNORE | tbl | nroff -mandoc -rLL=222n -rLT=222n -Tascii
16:58:50
@vcunat:matrix.orgvcunat * And if I specify that, it's failing to find executables (nroff) EDIT: ah no, executables get found by the wrapped one. 16:59:40
@vcunat:matrix.orgvcunatThat doesn't look like the same error, though.17:00:00

Show newer messages


Back to Room ListRoom Version: 6