Source: tig
Version: 2.4.1-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>         CC  src/tig.o
>         CC  src/types.o
>         CC  src/string.o
>         CC  src/util.o
>         CC  src/map.o
>         CC  src/argv.o
>         CC  src/io.o
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from src/io.c:14:
> In function ‘strncpy’,
>     inlined from ‘encoding_open’ at src/io.c:52:2:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ 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));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/io.c: In function ‘encoding_open’:
> src/io.c:41:15: note: length computed here
>    41 |  size_t len = strlen(fromcode);
>       |               ^~~~~~~~~~~~~~~~
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from src/io.c:14:
> In function ‘strncpy’,
>     inlined from ‘io_from_string’ at src/io.c:649:2:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ 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));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/io.c: In function ‘io_from_string’:
> src/io.c:639:15: note: length computed here
>   639 |  size_t len = strlen(str);
>       |               ^~~~~~~~~~~
>         CC  src/refdb.o
>        GEN  src/builtin-config.c
>         CC  src/builtin-config.o
>         CC  src/request.o
>         CC  src/line.o
>         CC  src/keys.o
>         CC  src/repo.o
>         CC  src/options.o
>         CC  src/draw.o
>         CC  src/prompt.o
>         CC  src/display.o
> src/display.c: In function ‘update_status_window’:
> src/display.c:474:4: warning: ‘vwprintw’ is deprecated 
> [-Wdeprecated-declarations]
>   474 |    vwprintw(status_win, msg, args);
>       |    ^~~~~~~~
> In file included from include/tig/tig.h:77,
>                  from src/display.c:14:
> /usr/include/curses.h:776:28: note: declared here
>   776 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *,va_list) 
> GCC_DEPRECATED(use vw_printw); /* implemented */
>       |                            ^~~~~~~~
>         CC  src/view.o
>         CC  src/search.o
>         CC  src/parse.o
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from src/parse.c:14:
> In function ‘strncpy’,
>     inlined from ‘get_path’ at src/parse.c:264:3:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ 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));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/parse.c: In function ‘get_path’:
> src/parse.c:264:3: note: length computed here
>   264 |   strncpy(entry->path, path, strlen(path));
>       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         CC  src/watch.o
>         CC  src/pager.o
>         CC  src/log.o
>         CC  src/diff.o
>         CC  src/help.o
>         CC  src/tree.o
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from include/tig/util.h:17,
>                  from src/tree.c:14:
> In function ‘strncpy’,
>     inlined from ‘tree_entry’ at src/tree.c:132:2:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ 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));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/tree.c: In function ‘tree_entry’:
> src/tree.c:132:2: note: length computed here
>   132 |  strncpy(entry->name, path, strlen(path));
>       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         CC  src/blob.o
>         CC  src/blame.o
>         CC  src/refs.o
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from include/tig/io.h:17,
>                  from src/refs.c:14:
> In function ‘strncpy’,
>     inlined from ‘refs_open’ at src/refs.c:158:3:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ output truncated before terminating nul copying 14 bytes 
> from a string of the same length [-Wstringop-truncation]
>   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos 
> (__dest));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>         CC  src/status.o
>         CC  src/stage.o
>         CC  src/main.o
> In file included from /usr/include/string.h:495,
>                  from include/tig/tig.h:46,
>                  from include/tig/repo.h:17,
>                  from src/main.c:14:
> In function ‘strncpy’,
>     inlined from ‘main_add_commit’ at src/main.c:93:2:
> /usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:10: warning: 
> ‘__builtin_strncpy’ 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));
>       |          
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> src/main.c: In function ‘main_add_commit’:
> src/main.c:86:13: note: length computed here
>    86 |  titlelen = strlen(title);
>       |             ^~~~~~~~~~~~~
>         CC  src/stash.o
>         CC  src/grep.o
>         CC  src/ui.o
>         CC  src/apps.o
>         CC  src/graph.o
>         CC  src/graph-v1.o
>         CC  src/graph-v2.o
>         CC  compat/hashtab.o
>         CC  compat/utf8proc.o
>       LINK  src/tig
>         CC  test/tools/test-graph.o
>       LINK  test/tools/test-graph
>         CC  tools/doc-gen.o
>       LINK  tools/doc-gen
>   ASCIIDOC  doc/tig.1.xml
>      XMLTO  doc/tig.1
> Warn: meta author : no refentry/info/author                        tig
> Note: meta author : see http://www.docbook.org/tdg5/en/html/autho  tig
> Warn: meta author : no author data, so inserted a fixme            tig
> Note: Writing tig.1
>   ASCIIDOC  doc/tigrc.5.xml
>      XMLTO  doc/tigrc.5
> Warn: meta author : no refentry/info/author                        tigrc
> Note: meta author : see http://www.docbook.org/tdg5/en/html/autho  tigrc
> Warn: meta author : no author data, so inserted a fixme            tigrc
> Note: Writing tigrc.5
>   ASCIIDOC  doc/tigmanual.7.xml
>      XMLTO  doc/tigmanual.7
> Warn: meta author : no refentry/info/author                        tigmanual
> Note: meta author : see http://www.docbook.org/tdg5/en/html/autho  tigmanual
> Warn: meta author : no author data, so inserted a fixme            tigmanual
> Note: Writing tigmanual.7
>   ASCIIDOC  doc/tig.1.html
>   ASCIIDOC  doc/tigrc.5.html
>        GEN  doc/manual.toc
>   ASCIIDOC  doc/manual.html
>   ASCIIDOC  README.html
>   ASCIIDOC  INSTALL.html
>   ASCIIDOC  NEWS.html
>   ASCIIDOC  doc/manual.xml
>      XMLTO  doc/manual.html-chunked
> Writing ar01s02.html for section(viewer)
> Writing ar01s03.html for section(env-variables)
> Writing ar01s04.html for section(keys)
> Writing ar01s05.html for section(refspec)
> Writing ar01s06.html for section(_more_information)
> Writing ar01s07.html for section(copy-right)
> Writing ar01s08.html for section(references)
> Writing index.html for article
>     DB2PDF  doc/manual.pdf
> Using catalogs: /etc/sgml/catalog
> Using stylesheet: /usr/share/docbook-utils/docbook-utils.dsl#print
> Working on: /<<PKGBUILDDIR>>/doc/manual.xml
> This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) 
> (preloaded format=pdfjadetex)
>  restricted \write18 enabled.
> entering extended mode
> (/<<PKGBUILDDIR>>/doc/manual.tex
> JadeTeX 2003/04/27: 3.13
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1ptm.fd)
> Elements will be labelled
> Jade begin document sequence at 20
> No file manual.aux.
> (/usr/share/texmf/tex/latex/tipa/t3ptm.fd)
> 
> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is 
> use
> less on input line 109.
> 
> 
> Package Fancyhdr Warning: \fancyhead's `E' option without twoside option is 
> use
> less on input line 109.
> 
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1phv.fd)
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pcr.fd)
> ! Undefined control sequence.
> <recently read> \Hy@colorlink 
>                               
> l.480 {0:refspec}}
>                   specifying revisions\endLink{}\endNode{} for an 
> introducti...
> 
> ! Undefined control sequence.
> \close@pdflink ->\Hy@endcolorlink 
>                                   \Hy@VerboseLinkStop \pdfendlink 
> l.480 {0:refspec}}specifying revisions\endLink
>                                               {}\endNode{} for an 
> introducti...
> 
> 
> Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is 
> use
> less on input line 495.
> 
> [1.0.42{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2.0.42]
> ! Undefined control sequence.
> <recently read> \Hy@colorlink 
>                               
> l.1292 {0:env-variables}}
>                          environment variables\endLink{}\endNode{} as well 
> a...
> 
> ! Undefined control sequence.
> \close@pdflink ->\Hy@endcolorlink 
>                                   \Hy@VerboseLinkStop \pdfendlink 
> l.1292 ...variables}}environment variables\endLink
>                                                   {}\endNode{} as well as the
> ! Undefined control sequence.
> <recently read> \Hy@colorlink 
>                               
> l.1297 {0:external-commands}}
>                              external commands\endLink{}\endNode{}. These 
> us...
> 
> ! Undefined control sequence.
> \close@pdflink ->\Hy@endcolorlink 
>                                   \Hy@VerboseLinkStop \pdfendlink 
> l.1297 ...rnal-commands}}external commands\endLink
>                                                   {}\endNode{}. These 
> user-\...
> 
> 
> Overfull \hbox (46.79984pt too wide) in paragraph at lines 3414--3414
> []|[]\T1/pcr/m/n/9 %(repo:is-inside-work-tree) 
> [3.0.42]
> 
> Package longtable Warning: Column widths have changed
> (longtable)                in table 1 on input line 3460.
> 
> (/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1ptm.fd) [4.0.42] [5.0.42]
> [6.0.42] [7.0.42] [8.0.42] [9.0.42]
> Overfull \hbox (2.59985pt too wide) in paragraph at lines 10709--10709
> []|[]\T1/phv/b/n/10 Keymap 
> ! Undefined control sequence.
> <recently read> \Hy@colorlink 
>                               
> l.11149 {0:diff-options}}
>                          diff 
> options\endLink{}\endNode{}.\endPar{}\endNode{...
> 
> ! Undefined control sequence.
> \close@pdflink ->\Hy@endcolorlink 
>                                   \Hy@VerboseLinkStop \pdfendlink 
> l.11149 {0:diff-options}}diff options\endLink
>                                              
> {}\endNode{}.\endPar{}\endNode{...
> 
> [10.0.42] [11.0.42] [12.0.42]
> 
> Package longtable Warning: Table widths have changed. Rerun LaTeX.
> 
> (/<<PKGBUILDDIR>>/doc/manual.aux) )
> (see the transcript file for additional 
> information){/usr/share/texlive/texmf-d
> ist/fonts/enc/dvips/base/8r.enc}</usr/share/texlive/texmf-dist/fonts/type1/urw/
> courier/ucrr8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/helvetic/uhvb
> 8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/helvetic/uhvr8a.pfb></usr
> /share/texlive/texmf-dist/fonts/type1/urw/times/utmb8a.pfb></usr/share/texlive/
> texmf-dist/fonts/type1/urw/times/utmr8a.pfb></usr/share/texlive/texmf-dist/font
> s/type1/urw/times/utmri8a.pfb>
> Output written on manual.pdf (12 pages, 104305 bytes).
> Transcript written on manual.log.
> make[1]: *** [Makefile:401: doc/manual.pdf] Error 9

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/tig_2.4.1-1_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!

If you reassign this bug to another package, please marking 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 me
so that we can identify if something relevant changed in the meantime.

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 via email to