Repository navigation
Description
Steps To Reproduce
Steps to reproduce the behavior:
- build mpack
Build log
Details
nix log /nix/store/0wkirmcl34c978r1199vskgw4m4cbgmb-mpack-1.6.drv
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/1ccd1r0lfrmvn44xzy24l0hby96hva08-mpack-1.6.tar.gz
source root is mpack-1.6
setting SOURCE_DATE_EPOCH to timestamp 1058831360 of file mpack-1.6/configure
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/0xm8ixqq2fccw54pp336qsv5285ifz69-build-fix.patch
patching file unixos.c
patching file xmalloc.c
applying patch /nix/store/cn88xhvg54f915kklzfgr4v6y0c6sdlq-sendmail-via-execvp.diff
patching file unixpk.c
applying patch /nix/store/fz36vimg59yc9qh2a92dvd9yqkjvlygx-CVE-2011-4919.patch
patching file unixos.c
Hunk #1 succeeded at 133 (offset -1 lines).
substituteStream() in derivation mpack-1.6: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'codes.c')
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'codes.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'decode.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'encode.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'getopt.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macbhex.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macfile.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macmpack.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macnapp.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macndlog.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macnfile.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macninit.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macnsmtp.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macntcp.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macnte.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macos.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'macpcstr.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'magic.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'md5c.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'part.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'strcasecmp.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'unixunpk.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'uudecode.c'
substituteStream() in derivation mpack-1.6: WARNING: pattern /usr/tmp doesn't match anything in file 'xmalloc.c'
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/sh"
configure flags: --prefix=/nix/store/5clp17ji4hhwzwzf5pnr8bss4abnw2v8-mpack-1.6
creating cache ./config.cache
checking for a BSD compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Additional context
⋉ gcc --version
gcc (GCC) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So gcc is installed and working outside of the build process for mpack.
Metadata
⋉ nix-shell -p nix-info --run "nix-info -m"
- system:
"x86_64-linux" - host os:
Linux 6.12.5, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.25.3 - channels(root):
"nixpkgs" - nixpkgs:
/etc/nix/path/nixpkgs
Extra details:
OS -> NixOS
├ -> warbler 25.05 (Warbler)
├ -> Linux 6.12.5
├ -> 2302 (nix-system), 170 (nix-user), 48 (nix-default), 11 (flatpak)
└ -> bash 5.2.37
DE/WM -> Muffin (X11)
├ -> lightdm 1.32.0 (X11)
├ -> New-Minty (Mint-Y)
├ -> Numix-Circle-Light [GTK2/3/4]
├ -> .gnome-terminal
PC -> MS-7E12 (1.0)
├ -> AMD Ryzen 7 7800X3D (16) @ 5.05 GHz
├ -> NVIDIA GeForce RTX 4070 [Discrete]
├ -> AMD Raphael [Integrated]
SOUND -> Blackwire C5220 headset (remote control and 3.5mm audio adapter) Ana)
Linux ulysses-desktop 6.12.5 #1-NixOS SMP PREEMPT_DYNAMIC Sat Dec 14 19:04:17 UTC 2024 x86_64 GNU/Linux
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
x11
cinnamon
nix (Nix) 2.25.3
Notify maintainers
@tomodachi94
@nicoo
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Activity
MarkRijckenberg commentedon Dec 29, 2024
Maybe automake is missing as build input in https://github.com/NixOS/nixpkgs/blob/fd90f5c2114cf3d6e562ba1fbe3e80b1b74ae6a9/pkgs/by-name/mp/mpack/package.nix ?
paparodeo commentedon Dec 29, 2024
this diff should fix it -- add
autoreconfHookand then pull in most of Debian's patches:https://salsa.debian.org/debian/mpack/-/tree/debian/main/debian/patches
and fixed a buffer overflow warning with an additional substitute in
postPatchfeel free to open a PR
fixes.diff