Bug#963378: xcolorsel: FTBFS: /bin/sh: 1: col: not found
Source: xcolorsel
Version: 1.1a-22
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[2]: Entering directory '/<<PKGBUILDDIR>>'
> gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RgbText.o RgbText.c
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from RgbText.c:77:
> /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> RgbText.c: In function ‘printfile’:
> RgbText.c:549:7: warning: unused variable ‘fd’ [-Wunused-variable]
> 549 | FILE *fd;
> | ^~
> RgbText.c:545:21: warning: unused variable ‘ptn’ [-Wunused-variable]
> 545 | register char *ptr,*ptn;
> | ^~~
> RgbText.c: In function ‘query_geometry’:
> RgbText.c:883:16: warning: unused variable ‘requested’ [-Wunused-variable]
> 883 | XtGeometryMask requested;
> | ^~~~~~~~~
> RgbText.c: In function ‘grab_color’:
> RgbText.c:1135:8: warning: unused variable ‘mycolor’ [-Wunused-variable]
> 1135 | XColor mycolor;
> | ^~~~~~~
> gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RgbSink.o RgbSink.c
> In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
> from /usr/include/X11/Xlib.h:38,
> from /usr/include/X11/Intrinsic.h:53,
> from /usr/include/X11/IntrinsicP.h:51,
> from RgbSink.c:82:
> /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> RgbSink.c: In function ‘mydisp’:
> RgbSink.c:191:5: warning: unused variable ‘tile’ [-Wunused-variable]
> 191 | int tile,linum;
> | ^~~~
> gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RgbSrc.o RgbSrc.c
> In file included from /usr/include/x86_64-linux-gnu/sys/types.h:25,
> from /usr/include/X11/Xlib.h:38,
> from /usr/include/X11/Intrinsic.h:53,
> from /usr/include/X11/IntrinsicP.h:51,
> from RgbSrc.c:82:
> /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib/X11/xcolorsel/Xcolorsel.help\" -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xcolorsel.o xcolorsel.c
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/stdio.h:27,
> from xcolorsel.c:50:
> /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
> 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
> | ^~~~~~~
> xcolorsel.c: In function ‘main’:
> xcolorsel.c:271:1: warning: "/*" within comment [-Wcomment]
> 271 | /* Select normal fallbacks: */
> |
> xcolorsel.c: In function ‘nexthit’:
> xcolorsel.c:767:9: warning: unused variable ‘flag’ [-Wunused-variable]
> 767 | Boolean flag;
> | ^~~~
> xcolorsel.c:766:5: warning: unused variable ‘tmp’ [-Wunused-variable]
> 766 | int tmp;
> | ^~~
> xcolorsel.c:765:17: warning: unused variable ‘needed’ [-Wunused-variable]
> 765 | register size_t needed;
> | ^~~~~~
> xcolorsel.c:764:21: warning: unused variable ‘templ’ [-Wunused-variable]
> 764 | register String ptr,templ;
> | ^~~~~
> xcolorsel.c:764:17: warning: unused variable ‘ptr’ [-Wunused-variable]
> 764 | register String ptr,templ;
> | ^~~
> xcolorsel.c: In function ‘dispsel’:
> xcolorsel.c:806:8: warning: unused variable ‘ptr’ [-Wunused-variable]
> 806 | String ptr;
> | ^~~
> rm -f xcolorsel
> gcc -o xcolorsel -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wl,-z,relro -Wl,-z,now -Wl,--as-needed RgbText.o RgbSink.o RgbSrc.o xcolorsel.o -lXaw3d -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
> nroff -Tascii -man xcolorsel.man | col -b > Xcolorsel.help
> /bin/sh: 1: col: not found
> make[2]: *** [Makefile:1138: Xcolorsel.help] Error 127
The full build log is available from:
http://qa-logs.debian.net/2020/06/20/xcolorsel_1.1a-22_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: