Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: wol #368125

Open
mausch opened this issue Dec 25, 2024 · 1 comment
Open

Build failure: wol #368125

mausch opened this issue Dec 25, 2024 · 1 comment
Labels
0.kind: build failure A package fails to build

Comments

@mausch
Copy link
Member

mausch commented Dec 25, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build wol on nixpkgs-unstable ( de18642 )

Build log

Build Log
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/f4s2id7ghmh37kbacmmyas346anc8w65-wol-0.7.1.tar.gz
source root is wol-0.7.1
setting SOURCE_DATE_EPOCH to timestamp 1083207755 of file wol-0.7.1/po/sv.po
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "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
@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: --disable-dependency-tracking --prefix=/nix/store/lx54yw2bys943587q9jwmnkvpzl12qd9-wol-0.7.1
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ANSI C header files... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for sed... /nix/store/abm77lnrkrkb58z6xp1qwjcr1xgkcfwm-gnused-4.9/bin/sed
checking for perl... /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/bin/perl
checking for pod2man... /nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/bin/pod2man
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for unsigned char... yes
checking size of unsigned char... 1
checking for struct ether_addr... yes
checking for struct ether_addr.octet... no
checking for struct ether_addr.ether_addr_octet... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for strerror in -lcposix... no
checking for signed... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... no
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for locale.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for sys/socket.h... (cached) yes
checking for netinet/if_ether.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for working malloc... no
checking for working realloc... no
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... (cached) yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... (cached) yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... (cached) yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for error_at_line... no
checking for getline... yes
checking for working getline function... no
checking for usleep... yes
checking for getopt_long... yes
checking for getdelim... yes
checking for inet_aton... yes
checking for socket... yes
checking for gethostbyname... yes
checking for ether_hostton... yes
checking wheter you want ANSI emulation... no
configure: creating ./config.status
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating demo/Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/wol-dhcpdconf
config.status: creating src/wol-bootptab
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands

wol 0.7.1 configuration:

	prefix: /nix/store/lx54yw2bys943587q9jwmnkvpzl12qd9-wol-0.7.1
	exec_prefix: ${prefix}

	bindir: ${exec_prefix}/bin
	libdir: ${exec_prefix}/lib
	datadir: ${prefix}/share
	mandir: ${prefix}/man
	infodir: ${prefix}/info

	ether_hostton support: yes
	generate wol manpage: yes

	EXTRA_LIBS: 
	ANSI emulation: no

Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j8 SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash
make  all-recursive
make[1]: Entering directory '/build/wol-0.7.1'
Making all in intl
make[2]: Entering directory '/build/wol-0.7.1/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/wol-0.7.1/intl'
Making all in demo
make[2]: Entering directory '/build/wol-0.7.1/demo'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/wol-0.7.1/demo'
Making all in doc
make[2]: Entering directory '/build/wol-0.7.1/doc'
/nix/store/1i003ijlh9i0mzp6alqby5hg3090pjdx-perl-5.40.0/bin/perl -w ./texi2pod.pl wol.texi wol.pod
pod2man --section=1 --center="wol" --release="wol 0.7.1" wol.pod > wol.1
make[2]: Leaving directory '/build/wol-0.7.1/doc'
Making all in include
make[2]: Entering directory '/build/wol-0.7.1/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/wol-0.7.1/include'
Making all in lib
make[2]: Entering directory '/build/wol-0.7.1/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getopt1.c' || echo './'`getopt1.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getopt.c' || echo './'`getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'usleep.c' || echo './'`usleep.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'xmalloc.c' || echo './'`xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getstr.c' || echo './'`getstr.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getline.c' || echo './'`getline.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'error.c' || echo './'`error.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'realloc.c' || echo './'`realloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../include    -g -O2 -W -Wall -Wpointer-arith -Wimplicit-function-declaration -c `test -f 'getpass4.c' || echo './'`getpass4.c
�[01m�[Kxmalloc.c:27:7:�[m�[K �[01;35m�[Kwarning: �[m�[Kdeclaration of built-in function '�[01m�[Kcalloc�[m�[K' without a prototype; expected '�[01m�[Kvoid *(long unsigned int,  long unsigned int)�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch�-Wbuiltin-declaration-mismatch�]8;;��[m�[K]
   27 | void *�[01;35m�[Kcalloc�[m�[K ();
      |       �[01;35m�[K^~~~~~�[m�[K
�[01m�[Kxmalloc.c:30:6:�[m�[K �[01;35m�[Kwarning: �[m�[Kdeclaration of built-in function '�[01m�[Kfree�[m�[K' without a prototype; expected '�[01m�[Kvoid(void *)�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch�-Wbuiltin-declaration-mismatch�]8;;��[m�[K]
   30 | void �[01;35m�[Kfree�[m�[K ();
      |      �[01;35m�[K^~~~�[m�[K
�[01m�[Krealloc.c:28:7:�[m�[K �[01;35m�[Kwarning: �[m�[Kconflicting types for built-in function '�[01m�[Krealloc�[m�[K'; expected '�[01m�[Kvoid *(void *, long unsigned int)�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch�-Wbuiltin-declaration-mismatch�]8;;��[m�[K]
   28 | char *�[01;35m�[Krealloc�[m�[K ();
      |       �[01;35m�[K^~~~~~~�[m�[K
�[01m�[Krealloc.c:26:1:�[m�[K �[01;36m�[Knote: �[m�[K'�[01m�[Krealloc�[m�[K' is declared in header '�[01m�[K<stdlib.h>�[m�[K'
   25 | #include <sys/types.h>
  +++ |+�[32m�[K#include <stdlib.h>�[m�[K
   26 | 
�[01m�[Kxmalloc.c:�[m�[K In function '�[01m�[Kxalloc_die�[m�[K':
�[01m�[Kxmalloc.c:77:3:�[m�[K �[01;31m�[Kerror: �[m�[Kimplicit declaration of function '�[01m�[Kexit�[m�[K' [�[01;31m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration�-Wimplicit-function-declaration�]8;;��[m�[K]
   77 |   �[01;31m�[Kexit�[m�[K (EXIT_FAILURE);
      |   �[01;31m�[K^~~~�[m�[K
�[01m�[Kxmalloc.c:44:1:�[m�[K �[01;36m�[Knote: �[m�[Kinclude '�[01m�[K<stdlib.h>�[m�[K' or provide a declaration of '�[01m�[Kexit�[m�[K'
   43 | #include "xalloc.h"
  +++ |+�[32m�[K#include <stdlib.h>�[m�[K
   44 | 
�[01m�[Kxmalloc.c:77:3:�[m�[K �[01;35m�[Kwarning: �[m�[Kincompatible implicit declaration of built-in function '�[01m�[Kexit�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch�-Wbuiltin-declaration-mismatch�]8;;��[m�[K]
   77 |   �[01;35m�[Kexit�[m�[K (EXIT_FAILURE);
      |   �[01;35m�[K^~~~�[m�[K
�[01m�[Kxmalloc.c:77:3:�[m�[K �[01;36m�[Knote: �[m�[Kinclude '�[01m�[K<stdlib.h>�[m�[K' or provide a declaration of '�[01m�[Kexit�[m�[K'
make[2]: *** [Makefile:248: xmalloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from �[01m�[Kgetstr.c:28�[m�[K:
�[01m�[Kgetstr.c:�[m�[K In function '�[01m�[Kgetstr�[m�[K':
�[01m�[Kgetstr.c:76:32:�[m�[K �[01;35m�[Kwarning: �[m�[Kcomparison of integer expressions of different signedness: '�[01m�[Ksize_t�[m�[K' {aka '�[01m�[Klong unsigned int�[m�[K'} and '�[01m�[Klong int�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare�-Wsign-compare�]8;;��[m�[K]
   76 |       assert(*n - nchars_avail �[01;35m�[K==�[m�[K read_pos - *lineptr);
      |                                �[01;35m�[K^~�[m�[K
�[01m�[Kgetstr.c:89:36:�[m�[K �[01;35m�[Kwarning: �[m�[Kcomparison of integer expressions of different signedness: '�[01m�[Ksize_t�[m�[K' {aka '�[01m�[Klong unsigned int�[m�[K'} and '�[01m�[Klong int�[m�[K' [�[01;35m�[K�]8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare�-Wsign-compare�]8;;��[m�[K]
   89 |           assert(*n - nchars_avail �[01;35m�[K==�[m�[K read_pos - *lineptr);
      |                                    �[01;35m�[K^~�[m�[K
make[2]: Leaving directory '/build/wol-0.7.1/lib'
make[1]: *** [Makefile:230: all-recursive] Error 1
make[1]: Leaving directory '/build/wol-0.7.1'
make: *** [Makefile:183: all] Error 2

Additional context

Metadata

Notify maintainers

@makefu


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


Add a 👍 reaction to issues you find important.

@mausch mausch added the 0.kind: build failure A package fails to build label Dec 25, 2024
@paparodeo
Copy link
Contributor

#368069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants