-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Closed as duplicate of#476330
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (26.05)
Steps to reproduce
I upgraded to latest version and rebuilt.
Can Hydra reproduce this build failure?
No, Hydra cannot reproduce this build failure.
Link to Hydra build job
error: Failed to evaluate cnijfilter2-6.40: «unfree»: has an unfree license (‘unfree’)
Relevant log output
Using udevCheckHook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/gxlhvx64b36rz0w1ff8g0d87pvdvf7mg-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/dkyw3qzna54021hfv7p43f2ckaxhvd55-get_protocol.patch
patching file lgmon3/src/cnijlgmon3.c
applying patch /nix/store/qmwskdb0rsc5ikdpy9lvmgl1qkl2jgc8-add_missing_import.patch
patching file lgmon3/src/keytext.c
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
substituteStream() in derivation cnijfilter2-6.40: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'src/Makefile.am')
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /nix/store/f7rcazhd826xlcz43il4vafv28888cgj-glib-2.86.3/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running libtoolize...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
Running aclocal ...
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Running autoheader...
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function 'main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu ...
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:2: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:24: installing './compile'
configure.in:27: installing './config.guess'
configure.in:27: installing './config.sub'
configure.in:2: installing './install-sh'
configure.in:2: installing './missing'
src/Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
src/Makefile.am:9: warning: 'CFLAGS' is a user variable, you should not override it;
src/Makefile.am:9: use 'AM_CFLAGS' instead
Running autoconf ...
configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:10097: AM_INIT_AUTOMAKE is expanded from...
configure.in:2: the top level
configure.in:4: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:4: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:10376: AM_CONFIG_HEADER is expanded from...
configure.in:4: the top level
configure.in:27: warning: The macro 'AM_PROG_LIBTOOL' is obsolete.
configure.in:27: You should run autoupdate.
aclocal.m4:123: AM_PROG_LIBTOOL is expanded from...
configure.in:27: the top level
configure.in:34: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:34: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:34: the top level
configure.in:53: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete.
configure.in:53: You should run autoupdate.
aclocal.m4:9569: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:9669: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:53: the top level
configure.in:53: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:53: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
aclocal.m4:9254: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:9569: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:9669: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:53: the top level
configure.in:53: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:53: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:9353: GLIB_WITH_NLS is expanded from...
aclocal.m4:9569: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:9669: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:53: the top level
configure.in:53: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:53: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:9353: GLIB_WITH_NLS is expanded from...
aclocal.m4:9569: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:9669: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:53: the top level
configure.in:53: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete.
configure.in:53: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:9353: GLIB_WITH_NLS is expanded from...
aclocal.m4:9569: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:9669: AM_GLIB_GNU_GETTEXT is expanded from...
configure.in:53: the top level
configure.in:78: warning: AC_OUTPUT should be used without arguments.
configure.in:78: You should run autoupdate.
Running ./configure --prefix=/nix/store/ifwq1r7f2aimxbpxxv2b5wq8b1b7mrkp-cnijfilter2-6.40 --enable-progpath=/nix/store/ifwq1r7f2aimxbpxxv2b5wq8b1b7mrkp-cnijfilter2-6.40/bin --datadir=/nix/store/ifwq1r7f2aimxbpxxv2b5wq8b1b7mrkp-cnijfilter2-6.40/share --enable-libdir=/var/cache/cups ...
configure: WARNING: unrecognized options: --enable-libdir
checking for a BSD-compatible install... /nix/store/d75200gb22v7p0703h5jrkgg8bqydk5q-coreutils-9.8/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /nix/store/d75200gb22v7p0703h5jrkgg8bqydk5q-coreutils-9.8/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
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/k06ssckzrzn9jjvvs4n62m6567zmbx6x-gnused-4.9/bin/sed
checking for grep that handles long lines and -e... /nix/store/qfmq7p42ak5yn389qvx7zpxkan5i4xiy-gnugrep-3.12/bin/grep
checking for egrep... /nix/store/qfmq7p42ak5yn389qvx7zpxkan5i4xiy-gnugrep-3.12/bin/grep -E
checking for fgrep... /nix/store/qfmq7p42ak5yn389qvx7zpxkan5i4xiy-gnugrep-3.12/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 whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
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 file... file
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 ranlib... ranlib
checking for archiver @FILE support... @
checking for strip... strip
checking command to parse nm output from gcc object... ok
checking for sysroot... no
checking for a working dd... /nix/store/d75200gb22v7p0703h5jrkgg8bqydk5q-coreutils-9.8/bin/dd
checking how to truncate binary pipes... /nix/store/d75200gb22v7p0703h5jrkgg8bqydk5q-coreutils-9.8/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.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 -m elf_x86_64) 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... yes
checking for main in -lcups... yes
checking for egrep... (cached) /nix/store/qfmq7p42ak5yn389qvx7zpxkan5i4xiy-gnugrep-3.12/bin/grep -E
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for fcntl.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memset... yes
checking for socket... yes
checking for strdup... yes
checking for strrchr... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt
checking for xgettext... /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/xgettext
checking for catalogs to be installed... ja de fr zh
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
configure: WARNING: unrecognized options: --enable-libdir
Now type `make' to compile
make all-recursive
make[1]: Entering directory '/build/source/lgmon3'
Making all in po
make[2]: Entering directory '/build/source/lgmon3/po'
file=./`echo ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt -c -o $file ja.po
ja.po:5: warning: header field 'Language' missing in header
file=./`echo de | sed 's,.*/,,'`.gmo \
&& rm -f $file && /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt -c -o $file de.po
de.po:5: warning: header field 'Language' missing in header
file=./`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt -c -o $file fr.po
fr.po:5: warning: header field 'Language' missing in header
file=./`echo zh | sed 's,.*/,,'`.gmo \
&& rm -f $file && /nix/store/1dax567dy7cf55x25a1ryg6z6hl3lvzw-gettext-0.25.1/bin/msgfmt -c -o $file zh.po
zh.po:5: warning: header field 'Language' missing in header
make[2]: Leaving directory '/build/source/lgmon3/po'
Making all in src
make[2]: Entering directory '/build/source/lgmon3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT cnijcomif.o -MD -MP -MF .deps/cnijcomif.Tpo -c -o cnijcomif.o cnijcomif.c
In file included from cnijcomif.c:38:
cnijlgmon3.h:26: warning: header guard '_CNIJLGMONN3_H_' followed by '#define' of a different macro [-Wheader-guard[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wheader-guard]]
26 | #ifndef _CNIJLGMONN3_H_
cnijlgmon3.h:27: note: '_CNIJLGMONN3_H' is defined here; did you mean '_CNIJLGMONN3_H_'?
27 | #define _CNIJLGMONN3_H
cnijcomif.c: In function 'CNIF_GetSerialNum':
cnijcomif.c:202:9: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
202 | strncpy(dev_uri, (const char *)buffer, CN_DEVICE_URI_LEN);
| ^
mv -f .deps/cnijcomif.Tpo .deps/cnijcomif.Po
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT cnijifusb.o -MD -MP -MF .deps/cnijifusb.Tpo -c -o cnijifusb.o cnijifusb.c
In file included from cnijifusb.c:44:
cnijlgmon3.h:26: warning: header guard '_CNIJLGMONN3_H_' followed by '#define' of a different macro [-Wheader-guard[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wheader-guard]]
26 | #ifndef _CNIJLGMONN3_H_
cnijlgmon3.h:27: note: '_CNIJLGMONN3_H' is defined here; did you mean '_CNIJLGMONN3_H_'?
27 | #define _CNIJLGMONN3_H
cnijifusb.c: In function 'CNIF_USB_IsIvec':
cnijifusb.c:644:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
644 | strncpy(buffer, info, CN_READ_SIZE);
| ^
cnijifusb.c: In function 'CNIF_USB_IsPrinter':
cnijifusb.c:686:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
686 | strncpy(buffer, info, sizeof(buffer));
| ^
mv -f .deps/cnijifusb.Tpo .deps/cnijifusb.Po
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT cnijlgmon3.o -MD -MP -MF .deps/cnijlgmon3.Tpo -c -o cnijlgmon3.o cnijlgmon3.c
In file included from cnijlgmon3.c:35:
cnijlgmon3.h:26: warning: header guard '_CNIJLGMONN3_H_' followed by '#define' of a different macro [-Wheader-guard[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wheader-guard]]
26 | #ifndef _CNIJLGMONN3_H_
cnijlgmon3.h:27: note: '_CNIJLGMONN3_H' is defined here; did you mean '_CNIJLGMONN3_H_'?
27 | #define _CNIJLGMONN3_H
cnijlgmon3.c: In function 'CNIF_GetResponse':
cnijlgmon3.c:987:31: warning: comparison between pointer and zero character constant [-Wpointer-compare[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-pointer-compare]]
987 | if( supportID != '\0' ) {
| ^~
cnijlgmon3.c:987:21: note: did you mean to dereference the pointer?
987 | if( supportID != '\0' ) {
| ^
cnijlgmon3.c:1059:63: warning: comparison between pointer and zero character constant [-Wpointer-compare[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-pointer-compare]]
1059 | if( supportID != '\0' ){
| ^~
cnijlgmon3.c:1059:53: note: did you mean to dereference the pointer?
1059 | if( supportID != '\0' ){
| ^
cnijlgmon3.c:954:17: warning: '__builtin_strncpy' output truncated before terminating nul copying 28 bytes from a string of the same length [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
954 | strncpy( typePtnMaintenance, SVC_MAINTENANCE, strlen(SVC_MAINTENANCE) );
| ^
In file included from /nix/store/dj43clc5ff7jjnfmhbaj6q4q0h8kpfpm-glibc-2.40-66-dev/include/string.h:548,
from cnijlgmon3.h:32:
In function 'strncat',
inlined from 'CNIF_GetResponse' at cnijlgmon3.c:929:20:
/nix/store/dj43clc5ff7jjnfmhbaj6q4q0h8kpfpm-glibc-2.40-66-dev/include/bits/string_fortified.h:149:10: warning: '__builtin___strncat_chk' specified bound 16384 equals destination size [-Wstringop-overflow=[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-overflow]]
149 | return __builtin___strncat_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | __glibc_objsize (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
cnijlgmon3.c: In function 'main':
cnijlgmon3.c:294:9: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
294 | strncpy(dev_uri, argv[1], CN_DEVICE_URI_LEN);
| ^
mv -f .deps/cnijlgmon3.Tpo .deps/cnijlgmon3.Po
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT cnijifnet.o -MD -MP -MF .deps/cnijifnet.Tpo -c -o cnijifnet.o cnijifnet.c
In file included from cnijifnet.c:47:
cnijlgmon3.h:26: warning: header guard '_CNIJLGMONN3_H_' followed by '#define' of a different macro [-Wheader-guard[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wheader-guard]]
26 | #ifndef _CNIJLGMONN3_H_
cnijlgmon3.h:27: note: '_CNIJLGMONN3_H' is defined here; did you mean '_CNIJLGMONN3_H_'?
27 | #define _CNIJLGMONN3_H
mv -f .deps/cnijifnet.Tpo .deps/cnijifnet.Po
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT keytext.o -MD -MP -MF .deps/keytext.Tpo -c -o keytext.o keytext.c
keytext.c: In function 'CheckFileExists.constprop':
keytext.c:61:9: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wno-stringop-truncation]]
61 | strncpy(full_filename, dirname, full_filename_len); /* Ver.3.60 */
| ^
keytext.c:57:29: note: length computed here
57 | full_filename_len = strlen (dirname) + 1 + strlen (filename) + 1;
| ^~~~~~~~~~~~~~~~
mv -f .deps/keytext.Tpo .deps/keytext.Po
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I/nix/store/ssxz4zrby6lxrcd15043jqdm0waiz8pk-libusb-1.0.29-dev/include/libusb-1.0 -I./common -I/nix/store/5nl2zr46dic7mxcw6cvbq85wa8c2gngh-libxml2-2.15.1-dev/include/libxml2 -MT cnijifnet2.o -MD -MP -MF .deps/cnijifnet2.Tpo -c -o cnijifnet2.o cnijifnet2.c
In file included from cnijifnet2.c:47:
cnijlgmon3.h:26: warning: header guard '_CNIJLGMONN3_H_' followed by '#define' of a different macro [-Wheader-guard[https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html#index-Wheader-guard]]
26 | #ifndef _CNIJLGMONN3_H_
cnijlgmon3.h:27: note: '_CNIJLGMONN3_H' is defined here; did you mean '_CNIJLGMONN3_H_'?
27 | #define _CNIJLGMONN3_H
In file included from ./common/libcnnet2.h:29,
from cnijifnet2.c:55:
./common/libcnnet2_type.h:51:14: error: 'bool' cannot be defined via 'typedef'
51 | typedef char bool;
| ^~~~
./common/libcnnet2_type.h:51:14: note: 'bool' is a keyword with '-std=c23' onwards
./common/libcnnet2_type.h:51:1: warning: useless type name in empty declaration
51 | typedef char bool;
| ^~~~~~~
make[2]: *** [Makefile:426: cnijifnet2.o] Error 1
make[2]: Leaving directory '/build/source/lgmon3/src'
make[1]: *** [Makefile:422: all-recursive] Error 1
make[1]: Leaving directory '/build/source/lgmon3'
make: *** [Makefile:354: all] Error 2Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.63, NixOS, 26.05 (Yarara), 26.05.20251228.c0b0e0f - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.94.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/bs/.config/nix/nix.conf:/nix/store/apjiwblj5jffinig7yfrdlznc9d4xg6i-plasma-workspace-6.5.4/etc/xdg/nix/nix.conf:/nix/store/ajw102q1y1n33ild2fghww5ix8cib67p-kglobalacceld-6.5.4/etc/xdg/nix/nix.conf:/nix/store/avfxjcahrbsnyzvkcwd63ln94n8961ja-baloo-6.21.0/etc/xdg/nix/nix.conf:/home/bs/.config/kdedefaults/nix/nix.conf:/nix/store/apjiwblj5jffinig7yfrdlznc9d4xg6i-plasma-workspace-6.5.4/etc/xdg/nix/nix.conf:/nix/store/ajw102q1y1n33ild2fghww5ix8cib67p-kglobalacceld-6.5.4/etc/xdg/nix/nix.conf:/nix/store/avfxjcahrbsnyzvkcwd63ln94n8961ja-baloo-6.21.0/etc/xdg/nix/nix.conf:/home/bs/.config/kdedefaults/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/bs/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/bs/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/bs/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/azv639a070gjjjr2h0bld6kf30xxr65y-lix-2.94.0/share - nixpkgs:
/nix/store/xzl5dhddgjxp2p18h5qpkhvlkp8128j1-source
Notify maintainers
This package has no maintainers. rip
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build