Build of ivtv-utils with vanilla toolchain

The build took 00h 01m 08s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
13,733 ansic
2,913 cpp
2,593 perl
71 makefile
19,310 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: ivtv-utils 1.4.1-7 (Wed Aug 24 12:31:21 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C utils all
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
# v4l2-ctl.cpp: In function 'void printjpegcomp(const v4l2_jpegcompression&)':
# v4l2-ctl.cpp:793:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type '__u32 {aka unsigned int}' [-Wformat=]
# printf("\tMarkers: 0x%08lx\n", jc.jpeg_markers);
# ^
# v4l2-ctl.cpp: In function 'void list_devices()':
# v4l2-ctl.cpp:1152:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
# while (ep = readdir(dp))
# ^
# v4l2-ctl.cpp: In function 'int main(int, char**)':
# v4l2-ctl.cpp:1780:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
# if (len > sizeof(jpegcomp.COM_data) - 1)
# ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# v4l2-ctl.cpp:1790:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
# if (len > sizeof(jpegcomp.APP_data) - 1)
# ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# v4l2-ctl.cpp: At global scope:
# v4l2-ctl.cpp:896:14: warning: 'char* pts_to_string(char*, long unsigned int)' defined but not used [-Wunused-function]
# static char *pts_to_string(char *str, unsigned long pts)
# ^~~~~~~~~~~~~
# v4l2-ctl.cpp: In function 'int main(int, char**)':
# v4l2-ctl.cpp:1565:37: warning: 'overlay_fmt_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
# overlay_fmt_ptr->fmt.win.field = parse_field(value);
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
# v4l2-ctl.cpp:1566:27: warning: 'set_overlay_fmt_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
# *set_overlay_fmt_ptr |= FmtField;
# ^
# g++ -lm -o v4l2-ctl v4l2-ctl.o
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o ivtv-ctl.o ivtv-ctl.c
# cc -lm -o ivtv-ctl ivtv-ctl.o
# cc -D_GNU_SOURCE -O2 -Wall -g -I. ivtv-radio.c -o ivtv-radio
# g++ -D_GNU_SOURCE -O2 -Wall -g -I. -lm -lpthread -o ivtvplay ivtvplay.cc
# cc -D_GNU_SOURCE -O2 -Wall -g -I. ivtv-mpegindex.c -o ivtv-mpegindex
# ivtv-mpegindex.c: In function 'process_packet':
# ivtv-mpegindex.c:294:8: warning: variable 'sid' set but not used [-Wunused-but-set-variable]
# int sid = 0;
# ^~~
# make CFLAGS="-D_GNU_SOURCE -O2 -Wall -g -I." -C ivtv-tune
# make[2]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/ivtv-tune'
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o ivtv-tune.o ivtv-tune.c
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o frequencies.o frequencies.c
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o xawtv_parseconfig.o xawtv_parseconfig.c
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o cmdline.o cmdline.c
# cmdline.c: In function 'cmdline_parser_internal':
# cmdline.c:310:13: warning: variable 'stop_char' set but not used [-Wunused-but-set-variable]
# char *stop_char;
# ^~~~~~~~~
# cc ivtv-tune.o frequencies.o xawtv_parseconfig.o cmdline.o -o ivtv-tune
# make[2]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/ivtv-tune'
# make CFLAGS="-D_GNU_SOURCE -O2 -Wall -g -I." -C cx25840ctl
# make[2]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/cx25840ctl'
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o cx25840ctl.o cx25840ctl.c
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o cx25840-registers.o cx25840-registers.c
# cc -D_GNU_SOURCE -O2 -Wall -g -I. -c -o cmdline.o cmdline.c
# cmdline.c: In function 'cmdline_parser_internal':
# cmdline.c:202:13: warning: variable 'stop_char' set but not used [-Wunused-but-set-variable]
# char *stop_char;
# ^~~~~~~~~
# cc cx25840ctl.o cx25840-registers.o cmdline.o -o cx25840ctl
# make[2]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/cx25840ctl'
# make[1]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# make -C test all
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/test'
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm vbi.c -o vbi
# vbi.c: In function 'teletext':
# vbi.c:449:13: warning: variable 'sub' set but not used [-Wunused-but-set-variable]
# static int sub = 0;
# ^~~
# vbi.c: In function 'cc_readback':
# vbi.c:533:6: warning: variable 'parity' set but not used [-Wunused-but-set-variable]
# int parity[2];
# ^~~~~~
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm wss.c -o wss
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm vbi-passthrough.c -o vbi-passthrough
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm vbi-detect.c -o vbi-detect
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm ivtv-pcm-tester.c -o ivtv-pcm-tester
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm mpeg-read-test.c -o mpeg-read-test
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm mpeg-freq-test.c -o mpeg-freq-test
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm mpeg-read-sleep-test.c -o mpeg-read-sleep-test
# mpeg-read-sleep-test.c: In function 'main':
# mpeg-read-sleep-test.c:48:40: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
# fprintf(stderr, "read %d, expected %u\n", sz, sizeof(buf));
# ^
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm mpeg-enc-stop-start-test.c -o mpeg-enc-stop-start-test
# mpeg-enc-stop-start-test.c: In function 'main':
# mpeg-enc-stop-start-test.c:51:41: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
# fprintf(stderr, "read %d, expected %u\n", sz, sizeof(buf));
# ^
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm ivtv-yuv-dma-test.c -o ivtv-yuv-dma-test
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm ivtv-osd-dma-test.c -o ivtv-osd-dma-test
# In file included from ivtv-osd-dma-test.c:9:0:
# ../utils/linux/ivtvfb.h:35:0: warning: "FBIO_WAITFORVSYNC" redefined
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t)
#
# In file included from ivtv-osd-dma-test.c:7:0:
# /usr/include/linux/fb.h:34:0: note: this is the location of the previous definition
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
#
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm ivtv-fb-colormap-test.c -o ivtv-fb-colormap-test
# In file included from ivtv-fb-colormap-test.c:10:0:
# ../utils/linux/ivtvfb.h:35:0: warning: "FBIO_WAITFORVSYNC" redefined
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t)
#
# In file included from ivtv-fb-colormap-test.c:8:0:
# /usr/include/linux/fb.h:34:0: note: this is the location of the previous definition
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
#
# cc -I../utils -D_GNU_SOURCE -O2 -Wall -lm ivtv-fb-16-bit-test.c -o ivtv-fb-16-bit-test
# In file included from ivtv-fb-16-bit-test.c:10:0:
# ../utils/linux/ivtvfb.h:35:0: warning: "FBIO_WAITFORVSYNC" redefined
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t)
#
# In file included from ivtv-fb-16-bit-test.c:8:0:
# /usr/include/linux/fb.h:34:0: note: this is the location of the previous definition
# #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
#
# g++ -I../utils -D_GNU_SOURCE -O2 -Wall -lm ps-analyzer.cpp -o ps-analyzer
# make[1]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/test'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# make -C utils install
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# make CFLAGS="-D_GNU_SOURCE -O2 -Wall -g -I." -C ivtv-tune
# make[2]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/ivtv-tune'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/ivtv-tune'
# make CFLAGS="-D_GNU_SOURCE -O2 -Wall -g -I." -C cx25840ctl
# make[2]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/cx25840ctl'
# make[2]: Nothing to be done for 'all'.
# make[2]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils/cx25840ctl'
# install -d /tmp/ivtv-utils/pkg/ivtv-utils//usr/include/linux
# install -m 0644 linux/ivtv.h linux/ivtvfb.h /tmp/ivtv-utils/pkg/ivtv-utils//usr/include/linux
# install -d /tmp/ivtv-utils/pkg/ivtv-utils//usr/bin
# install -m 0755 v4l2-ctl ivtv-ctl ivtv-radio ivtvplay ivtv-mpegindex ivtv-tune/ivtv-tune cx25840ctl/cx25840ctl /tmp/ivtv-utils/pkg/ivtv-utils//usr/bin
# make[1]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/utils'
# make -C test install
# make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# make[1]: Entering directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/test'
# make[1]: Nothing to be done for 'install'.
# make[1]: Leaving directory '/tmp/ivtv-utils/src/ivtv-utils-1.4.1/test'
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "ivtv-utils"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: ivtv-utils 1.4.1-7 (Wed Aug 24 12:31:33 UTC 2016)

CMD: pacman --query --file ivtv-utils-1.4.1-7-x86_64.pkg.tar.xz
# ivtv-utils 1.4.1-7

Creating hybrid package for 'ivtv-utils'

Trying to find vanilla package 'ivtv-utils'...

CMD: pacman --query --file /mirror/ivtv-utils-1.4.1-7.pkg.tar.xz
# ivtv-utils 1.4.1-7

Package file has the following structure:
# /.PKGINFO
# /.MTREE
# /usr/bin/ivtv-ctl
# /usr/bin/ivtv-radio
# /usr/bin/ivtvplay
# /usr/bin/ivtv-mpegindex
# /usr/bin/ivtv-tune
# /usr/bin/cx25840ctl
# /usr/lib/firmware/v4l-cx2341x-dec.fw
# /usr/lib/firmware/v4l-cx2341x-enc.fw
# /usr/lib/firmware/v4l-pvrusb2-24xxx-01.fw
# /usr/lib/firmware/v4l-pvrusb2-29xxx-01.fw
# /usr/lib/firmware/v4l-cx2341x-init.mpg
# /sysroot/usr/lib/firmware/v4l-cx2341x-dec.fw
# /sysroot/usr/lib/firmware/v4l-cx2341x-enc.fw
# /sysroot/usr/lib/firmware/v4l-pvrusb2-24xxx-01.fw
# /sysroot/usr/lib/firmware/v4l-pvrusb2-29xxx-01.fw
# /sysroot/usr/lib/firmware/v4l-cx2341x-init.mpg

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf ivtv-utils.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/ivtv-utils.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/ivtv-utils.pkg.tar.xz
# ==> ERROR: Failed to acquire lockfile: /var/cache/pacman/pkg/tuscan.db.tar.lck.
# ==> ERROR: Held by process 407

Attempting to access local repository, attempt 2

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/ivtv-utils.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/ivtv-utils.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'