[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963403: mp3info: FTBFS: /bin/sh: 1: col: not found



Source: mp3info
Version: 0.8.5a-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200620 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -g -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mp3info.o mp3info.c
> gcc -g -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o textfunc.o textfunc.c
> gcc -g -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mp3curs.o mp3curs.c
> gcc -g -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mp3tech.o mp3tech.c
> mp3info.c: In function ‘main’:
> mp3info.c:287:3: warning: ignoring return value of ‘truncate’, declared with attribute warn_unused_result [-Wunused-result]
>   287 |   truncate(mp3.filename,mp3.datasize);
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c: In function ‘get_id3’:
> mp3tech.c:306:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   306 |     fread(fbuf,1,3,mp3->file); fbuf[3] = '\0';
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:316:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   316 |               fread(mp3->id3.title,1,30,mp3->file); mp3->id3.title[30] = '\0';
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:317:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   317 |               fread(mp3->id3.artist,1,30,mp3->file); mp3->id3.artist[30] = '\0';
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:318:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   318 |               fread(mp3->id3.album,1,30,mp3->file); mp3->id3.album[30] = '\0';
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:319:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   319 |               fread(mp3->id3.year,1,4,mp3->file); mp3->id3.year[4] = '\0';
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:320:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   320 |               fread(mp3->id3.comment,1,30,mp3->file); mp3->id3.comment[30] = '\0';
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3tech.c:324:15: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
>   324 |               fread(mp3->id3.genre,1,1,mp3->file);
>       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:111:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:111:4: note: length computed here
>   111 |    strncpy(tag->title,line,strlen(line));
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:113:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:113:4: note: length computed here
>   113 |    strncpy(tag->artist,line,strlen(line));
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:115:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:115:4: note: length computed here
>   115 |    strncpy(tag->album,line,strlen(line));
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:117:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:117:4: note: length computed here
>   117 |    strncpy(tag->year,line,strlen(line));
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:119:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:119:4: note: length computed here
>   119 |    strncpy(tag->comment,line,strlen(line));
>       |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:121:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:121:28: note: length computed here
>   121 |    strncpy(track_text,line,strlen(line) + (strlen(line) < strlen (track_text) ? 0 : 1));
>       |                            ^~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3curs.c:27:
> In function ‘strncpy’,
>     inlined from ‘tagedit_curs’ at mp3curs.c:124:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> mp3curs.c: In function ‘tagedit_curs’:
> mp3curs.c:124:28: note: length computed here
>   124 |    strncpy(genre_text,line,strlen(line) + (strlen(line) < strlen (genre_text) ? 0 : 1));
>       |                            ^~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from mp3info.h:31,
>                  from mp3info.c:31:
> In function ‘strncpy’,
>     inlined from ‘main’ at mp3info.c:239:5:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In function ‘strncpy’,
>     inlined from ‘main’ at mp3info.c:243:5:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In function ‘strncpy’,
>     inlined from ‘main’ at mp3info.c:247:5:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In function ‘strncpy’,
>     inlined from ‘main’ at mp3info.c:251:4:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 30 bytes from a string of length 30 [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In function ‘strncpy’,
>     inlined from ‘main’ at mp3info.c:262:5:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> groff -t -e -mandoc -Tascii mp3info.1 | col -bx > mp3info.txt
> /bin/sh: 1: col: not found
> make[1]: *** [Makefile:61: mp3info.txt] Error 127

The full build log is available from:
   http://qa-logs.debian.net/2020/06/20/mp3info_0.8.5a-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: