nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Build failure: maildrop

Open siflfran opened this issue 1 year ago • 1 comments

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-shell -p maildrop

Build log

Build Log
this derivation will be built:
  /nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv
this path will be fetched (2.07 MiB download, 2.07 MiB unpacked):
  /nix/store/k6rpq09hss27hl6yq9ramspdm7mwg2vg-maildrop-2.6.0.tar.bz2
copying path '/nix/store/k6rpq09hss27hl6yq9ramspdm7mwg2vg-maildrop-2.6.0.tar.bz2' from 'https://cache.nixos.org'...
building '/nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv' on 'ssh-ng://[email protected]'...
copying 0 paths...
building '/nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/k6rpq09hss27hl6yq9ramspdm7mwg2vg-maildrop-2.6.0.tar.bz2
source root is maildrop-2.6.0
setting SOURCE_DATE_EPOCH to timestamp 1346895558 of file maildrop-2.6.0/maildrop.spec
Running phase: patchPhase
applying patch /nix/store/1kjnnhpnf90cjjkj1jh8grh7si8rsq24-maildrop.configure.hack.patch
patching file maildrop/configure
Running phase: updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config.guess
Running phase: configurePhase
fixing libtool script ./ltmain.sh
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/sh"
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/vkklcsap31ncrcldhd8mfxanb1sf9nfh-maildrop-2.6.0
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking for grep that handles long lines and -e... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep
checking for egrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -E
checking for fgrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
./configure: line 6199: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for gdbm_open in -lgdbm... no
checking for gdbm_open... no
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... no
checking for dbopen... no
checking for db_open... no
checking for db_env_create... no
checking for gdbm or db library...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dbobj.h
config.status: creating dbobj.config
config.status: creating maildrop.spec
config.status: creating maildrop.lpspec
config.status: creating README.html
config.status: creating INSTALL.html
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in numlib (/build/maildrop-2.6.0/numlib)
configure: running /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash ./configure --disable-option-checking '--prefix=/nix/store/vkklcsap31ncrcldhd8mfxanb1sf9nfh-maildrop-2.6.0'  '--with-version=2.6.0' '--with-package=maildrop' '--disable-static' '--disable-dependency-tracking' 'CC=gcc' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking for grep that handles long lines and -e... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep
checking for egrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -E
checking for fgrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
./configure: line 6182: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for int64_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for setgroups... yes
checking for initgroups... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in liblock (/build/maildrop-2.6.0/liblock)
configure: running /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash ./configure --disable-option-checking '--prefix=/nix/store/vkklcsap31ncrcldhd8mfxanb1sf9nfh-maildrop-2.6.0'  '--with-version=2.6.0' '--with-package=maildrop' '--disable-static' '--disable-dependency-tracking' 'CC=gcc' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether ln -s works... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking for grep that handles long lines and -e... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep
checking for egrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -E
checking for fgrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -F
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from gcc object... ok
checking for sysroot... no
./configure: line 6192: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for unistd.h... (cached) yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for off64_t... no
checking for flock_t... no
checking for getdtablesize... yes
checking for setpgrp... yes
checking for sysconf... yes
checking for setpgrp... (cached) yes
checking whether setpgrp takes no argument... yes
checking for fcntl... yes
checking for flock... yes
checking for lockf... yes
checking for locking method... configure: error: must specify --with-locking-method option
configure: error: ./configure failed for liblock
error: build of '/nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv' on 'ssh-ng://[email protected]' failed: builder for '/nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv' failed with exit code 1;
       last 25 log lines:
       > checking for sys/file.h... yes
       > checking for unistd.h... (cached) yes
       > checking sysexits.h usability... yes
       > checking sysexits.h presence... yes
       > checking for sysexits.h... yes
       > checking for ANSI C header files... (cached) yes
       > checking for sys/wait.h that is POSIX.1 compatible... yes
       > checking for an ANSI C-conforming const... yes
       > checking for off_t... yes
       > checking for pid_t... yes
       > checking return type of signal handlers... void
       > checking for special C compiler options needed for large files... no
       > checking for _FILE_OFFSET_BITS value needed for large files... no
       > checking for off64_t... no
       > checking for flock_t... no
       > checking for getdtablesize... yes
       > checking for setpgrp... yes
       > checking for sysconf... yes
       > checking for setpgrp... (cached) yes
       > checking whether setpgrp takes no argument... yes
       > checking for fcntl... yes
       > checking for flock... yes
       > checking for lockf... yes
       > checking for locking method... configure: error: must specify --with-locking-method option
       > configure: error: ./configure failed for liblock
       For full logs, run 'nix log /nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv'.
error: builder for '/nix/store/brm4xs2vf325qqylmnzgw5g2h1alph5c-maildrop-2.6.0.drv' failed with exit code 1

Additional context

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.6, NixOS, 25.05 (Warbler), 25.05.20241228.c0b0a55
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.25.3
  • channels(root): "nixos-24.05"
  • channels(florian): "home-manager, nixpkgs"
  • nixpkgs: /home/.../.nix-defexpr/channels/nixpkgs

Notify maintainers


Note for maintainers: Please tag this issue in your PR. @oxij

Add a :+1: reaction to issues you find important.

siflfran avatar Dec 28 '24 12:12 siflfran

Close as hydra builds and I can rebuild maildrop locally.

https://hydra.nixos.org/build/297357827

applePrincess avatar Jun 11 '25 14:06 applePrincess