Source: nvram-wakeup
Version: 1.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Preparing cvs_revs.h
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o nvram-wakeup.o nvram-wakeup.c
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o nvram-wakeup-mb.o nvram-wakeup-mb.c
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o gmt-test.o gmt-test.c
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o byteops.o byteops.c
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o nvramops.o nvramops.c
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o bios.o bios.c
> bios.c: In function ‘__dmi_string’:
> bios.c:75:16: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>    75 |           if ( (int)bp >= (int)data ) return NULL; /* broken DMI 
> entry */
>       |                ^
> bios.c:75:27: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>    75 |           if ( (int)bp >= (int)data ) return NULL; /* broken DMI 
> entry */
>       |                           ^
> bios.c: In function ‘__dmi_probe’:
> bios.c:139:26: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   139 |                     if ( (int)data - (int)entry >= size-4 ) break; /* 
> broken DMI euntry */
>       |                          ^
> bios.c:139:38: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   139 |                     if ( (int)data - (int)entry >= size-4 ) break; /* 
> broken DMI euntry */
>       |                                      ^
> bios.c:143:54: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   143 |                                                   i, (int)data - 
> (int)entry, dm->type, dm->size, dm->size );
>       |                                                      ^
> bios.c:143:66: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>   143 |                                                   i, (int)data - 
> (int)entry, dm->type, dm->size, dm->size );
>       |                                                                  ^
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o tools.o tools.c
> tools.c: In function ‘xxd’:
> tools.c:170:110: warning: ‘__builtin___sprintf_chk’ may write a terminating 
> nul past the end of the destination [-Wformat-overflow=]
>   170 |           sprintf(out_line, "%06X0: %02X%02X %02X%02X %02X%02X 
> %02X%02X %02X%02X %02X%02X %02X%02X %02X%02X\n", i,
>       |                                                                       
>                                        ^
> In file included from /usr/include/stdio.h:964,
>                  from tools.c:26:
> In function ‘sprintf’,
>     inlined from ‘xxd’ at tools.c:170:11:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 50 and 51 bytes into a destination 
> of size 50
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o readconf.o readconf.c
> readconf.c: In function ‘assign’:
> readconf.c:71:28: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>    71 |      int  * prev = (int *)((int)(&lnrs) + ((int)ptr - (int)b));
>       |                            ^
> readconf.c:71:44: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>    71 |      int  * prev = (int *)((int)(&lnrs) + ((int)ptr - (int)b));
>       |                                            ^
> readconf.c:71:55: warning: cast from pointer to integer of different size 
> [-Wpointer-to-int-cast]
>    71 |      int  * prev = (int *)((int)(&lnrs) + ((int)ptr - (int)b));
>       |                                                       ^
> readconf.c:71:20: warning: cast to pointer from integer of different size 
> [-Wint-to-pointer-cast]
>    71 |      int  * prev = (int *)((int)(&lnrs) + ((int)ptr - (int)b));
>       |                    ^
> readconf.c:117:11: warning: this ‘if’ clause does not guard... 
> [-Wmisleading-indentation]
>   117 |           if (errno)      return -3; /* overflow (number too 
> large/too small) */
>       |           ^~
> readconf.c:118:27: note: ...this statement, but the latter is misleadingly 
> indented as if it were guarded by the ‘if’
>   118 |                           return  0; /* ok */
>       |                           ^~~~~~
> gcc -Wl,-z,relro  nvram-wakeup.o nvram-wakeup-mb.o gmt-test.o byteops.o 
> nvramops.o bios.o tools.o readconf.o   -o nvram-wakeup
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o rtc.o rtc.c
> gcc -Wl,-z,relro  rtc.o   -o rtc
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o time.o time.c
> gcc -Wl,-z,relro  time.o   -o time
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o biosinfo.o biosinfo.c
> gcc -Wl,-z,relro  biosinfo.o bios.o tools.o   -o biosinfo
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o guess.o guess.c
> guess.c: In function ‘main’:
> guess.c:215:67: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘long unsigned int’ [-Wformat=]
>   215 |                fprintf(stderr, "Couldn't allocate enough memory (%d 
> Bytes) for a string.\n", sizeof("dd.hh.mm.ss+"));
>       |                                                                  ~^   
>                        ~~~~~~~~~~~~~~~~~~~~~~
>       |                                                                   |   
>                        |
>       |                                                                   int 
>                        long unsigned int
>       |                                                                  %ld
> gcc -Wl,-z,relro  guess.o byteops.o bios.o tools.o   -o guess
> gcc -O2 -Wall -Wstrict-prototypes -g -pedantic -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -c -o cat_nvram.o cat_nvram.c
> gcc -Wl,-z,relro  cat_nvram.o tools.o nvramops.o   -o cat_nvram
> msgfmt `basename guess-helper.mo .mo`.po -o guess-helper.mo
> msgfmt: input file doesn't contain a header entry with a charset specification
> make[1]: *** [Makefile:77: guess-helper.mo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/nvram-wakeup_1.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to