Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 20, 2021 11:52
Show Gist options
  • Save r-rmcgibbo/d1b8491e7a68e829b41b5fb5fa205826 to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/d1b8491e7a68e829b41b5fb5fa205826 to your computer and use it in GitHub Desktop.
system: aarch64-linux | build_time: 13 seconds | https://github.com/NixOS/nixpkgs/pull/117020
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/pldgr4kyn8qhd73h7q6f5dajj2dh09z9-libdv-1.0.0.tar.gz
source root is libdv-1.0.0
setting SOURCE_DATE_EPOCH to timestamp 1159215398 of file libdv-1.0.0/missing
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
Updating Autotools / GNU config script to a newer upstream version: ./config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config.guess
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing libtool script ./ltmain.sh
configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0 --disable-asm --disable-sdl --disable-gtk --disable-xv --disable-gprof
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c
checking for a sed that does not truncate output... /nix/store/qqzc8x6j6r3yj16ah871jx98ni4486xw-gnused-4.8/bin/sed
checking for grep that handles long lines and -e... /nix/store/cnv10625yiknb51mszrpgi6dl2603l8i-gnugrep-3.4/bin/grep
checking for egrep... /nix/store/cnv10625yiknb51mszrpgi6dl2603l8i-gnugrep-3.4/bin/grep -E
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse nm output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether to enable debugging... default=yes
checking for pthread_create in -lpthread... yes
checking for sqrt in -lm... yes
checking for poptGetContext in -lpopt... yes
checking for X... no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/videodev.h usability... no
checking linux/videodev.h presence... no
checking for linux/videodev.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gettimeofday... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libdv.spec
config.status: creating libdv.pc
config.status: creating libdv/Makefile
config.status: creating playdv/Makefile
config.status: creating encodedv/Makefile
config.status: creating config.h
config.status: executing depfiles commands
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash
make all-recursive
make[1]: Entering directory '/build/libdv-1.0.0'
Making all in libdv
make[2]: Entering directory '/build/libdv-1.0.0/libdv'
make all-am
make[3]: Entering directory '/build/libdv-1.0.0/libdv'
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o dv.lo dv.c
dv.c: In function 'dv_report_video_error':
dv.c:601:10: warning: variable 'error_code' set but not used [-Wunused-but-set-variable]
601 | int i, error_code;
| ^~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o dct.lo dct.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o idct_248.lo idct_248.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o weighting.lo weighting.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o quant.lo quant.c
quant.c:249:1: warning: 'quant_248_inverse_mmx' defined but not used [-Wunused-function]
249 | quant_248_inverse_mmx(dv_coeff_t *block,int qno,int klass,dv_248_coeff_t *co) {
| ^~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o vlc.lo vlc.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o place.lo place.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o parse.lo parse.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o bitstream.lo bitstream.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o YUY2.lo YUY2.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o YV12.lo YV12.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o rgb.lo rgb.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o audio.lo audio.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o util.lo util.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o encode.lo encode.c
encode.c: In function 'dv_encoder_loop':
encode.c:1425:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
1425 | snprintf(fbuf, 1024, filename, i);
| ^~~~
| |
| unsigned char *
In file included from /nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/features.h:465,
from /nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/time.h:25,
from encode.c:43:
/nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
encode.c:1431:19: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign]
1431 | if (input->skip(fbuf, &isPAL) < 0) {
| ^~~~
| |
| unsigned char *
encode.c:1431:19: note: expected 'const char *' but argument is of type 'unsigned char *'
encode.c:1440:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
1440 | snprintf(fbuf, 1024, filename, i);
| ^~~~
| |
| unsigned char *
In file included from /nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/features.h:465,
from /nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/time.h:25,
from encode.c:43:
/nix/store/5bjx1chzhf5ddf4z85sa4igjz1nq650l-glibc-2.31-74-dev/include/bits/stdio2.h:64:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
64 | __NTH (snprintf (char *__restrict __s, size_t __n,
| ^~~~~
encode.c:1451:20: warning: pointer targets in passing argument 1 of 'input->load' differ in signedness [-Wpointer-sign]
1451 | if (input->load(fbuf, &isPAL) < 0) {
| ^~~~
| |
| unsigned char *
encode.c:1451:20: note: expected 'const char *' but argument is of type 'unsigned char *'
encode.c:1455:20: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign]
1455 | if (input->skip(fbuf, &isPAL) < 0) {
| ^~~~
| |
| unsigned char *
encode.c:1455:20: note: expected 'const char *' but argument is of type 'unsigned char *'
encode.c: In function 'dv_show_statistics':
encode.c:1506:3: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations]
1506 | fprintf(stderr, "%2d: %8ld |%8ld |%8ld | "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1507 | "| |\n",
| ~~~~~~~~~~~~~~~~
1508 | i, cycles_used[i], runs_used[i], qnos_used[i]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encode.c:1505:2: note: within this loop
1505 | for (;i < 16; i++) {
| ^~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o headers.lo headers.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o enc_input.lo enc_input.c
enc_input.c: In function 'read_pgm_stream':
enc_input.c:645:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
645 | fgets(line, sizeof(line), f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:650:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
650 | fgets(line, sizeof(line), f); /* P5 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:667:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
667 | fgets(line, sizeof(line), f); /* 255 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:669:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
669 | fread(readbuf, 1, DV_WIDTH * height * 3 / 2, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c: In function 'read_ppm_stream':
enc_input.c:310:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
310 | fgets(line, sizeof(line), f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:315:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
315 | fgets(line, sizeof(line), f); /* P6 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:331:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
331 | fgets(line, sizeof(line), f); /* 255 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
enc_input.c:333:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
333 | fread(readbuf, 1, 3 * DV_WIDTH * height, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o enc_audio_input.lo enc_audio_input.c
enc_audio_input.c: In function 'parse_wave_header':
enc_audio_input.c:181:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
181 | fread(fmt_header_junk, 1, header_len - 16, in_wav);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c -o enc_output.lo enc_output.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o libdv.la -rpath /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib -version-info 4:3:0 dv.lo dct.lo idct_248.lo weighting.lo quant.lo vlc.lo place.lo parse.lo bitstream.lo YUY2.lo YV12.lo rgb.lo audio.lo util.lo encode.lo headers.lo enc_input.lo enc_audio_input.lo enc_output.lo -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c dovlc.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o dovlc dovlc.o libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c testvlc.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o testvlc testvlc.o libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c testbitstream.c
testbitstream.c: In function 'performance':
testbitstream.c:102:21: warning: variable 'value' set but not used [-Wunused-but-set-variable]
102 | static uint32_t value;
| ^~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o testbitstream testbitstream.o libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c recode.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o recode recode.o libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c reppm.c
reppm.c: In function 'main':
reppm.c:56:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
56 | fgets(line, sizeof(line), f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
reppm.c:61:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
61 | fgets(line, sizeof(line), f); /* P6 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
reppm.c:67:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
67 | fgets(line, sizeof(line), f); /* 255 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
reppm.c:69:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
69 | fread(pixels[0], 1, 3 * width * height, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reppm.c:95:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
95 | write(imagefile,"P6\n720 480\n255\n", 15);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reppm.c:96:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
96 | write(imagefile, video_buffer, width*height*3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o reppm reppm.o libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c enctest.c
enctest.c: In function 'main':
enctest.c:71:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
71 | write(1, frame[i].dv, sizeof(frame[i].dv));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o enctest enctest.o libdv.la -lpthread -lm
make[3]: Leaving directory '/build/libdv-1.0.0/libdv'
make[2]: Leaving directory '/build/libdv-1.0.0/libdv'
Making all in encodedv
make[2]: Entering directory '/build/libdv-1.0.0/encodedv'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c encodedv.c
encodedv.c: In function 'main':
encodedv.c:71:6: warning: variable 'err_code' set but not used [-Wunused-but-set-variable]
71 | int err_code;
| ^~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o encodedv encodedv.o ../libdv/libdv.la -lpopt -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c dvconnect.c
dvconnect.c: In function 'main':
dvconnect.c:1086:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
1086 | device = "/dev/video1394/0";
| ^
dvconnect.c:1090:33: warning: pointer targets in passing argument 8 of 'send_raw' differ in signedness [-Wpointer-sign]
1090 | verbose_mode, underrun_data, device);
| ^~~~~~
| |
| unsigned char *
dvconnect.c:689:46: note: expected 'char *' but argument is of type 'unsigned char *'
689 | const char * underrun_data_filename, char *device)
| ~~~~~~^~~~~~
dvconnect.c:1093:22: warning: pointer targets in passing argument 7 of 'capture_raw' differ in signedness [-Wpointer-sign]
1093 | verbose_mode, device);
| ^~~~~~
| |
| unsigned char *
dvconnect.c:335:9: note: expected 'char *' but argument is of type 'unsigned char *'
335 | char *device)
| ~~~~~~^~~~~~
dvconnect.c: In function 'sig_int_recv_handler':
dvconnect.c:328:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
328 | write(2, t, sizeof(t));
| ^~~~~~~~~~~~~~~~~~~~~~
dvconnect.c: In function 'sig_int_send_handler':
dvconnect.c:502:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
502 | write(2, t, sizeof(t));
| ^~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o dvconnect dvconnect.o -lpthread -lpopt -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c insert_audio.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o dubdv insert_audio.o ../libdv/libdv.la -lpopt -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c fix_headers.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o fix_headers fix_headers.o ../libdv/libdv.la -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c scan_packet_headers.c
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o scan_packet_headers scan_packet_headers.o -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c steal_header.c
steal_header.c: In function 'main':
steal_header.c:59:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
59 | write(STDOUT_FILENO, buf_cap, 80);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
steal_header.c:62:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
62 | write(STDOUT_FILENO, buf_ren, 80);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
steal_header.c:67:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
67 | write(STDOUT_FILENO, buf_ren, 80);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o steal_header steal_header.o -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c ppmqscale.c
ppmqscale.c: In function 'shrink_picture':
ppmqscale.c:168:16: warning: variable 'dst_scaled_height' set but not used [-Wunused-but-set-variable]
168 | unsigned long dst_scaled_height;
| ^~~~~~~~~~~~~~~~~
ppmqscale.c: In function 'read_ppm_stream':
ppmqscale.c:36:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
36 | fgets(line, sizeof(line), f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppmqscale.c:38:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
38 | fgets(line, sizeof(line), f); /* P6 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppmqscale.c:47:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
47 | fgets(line, sizeof(line), f); /* 255 */
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppmqscale.c:51:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
51 | fread(res, 1, 3 * *width * *height, f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o ppmqscale ppmqscale.o -lm
gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c dvavi.c
dvavi.c: In function 'read_avi':
dvavi.c:379:6: warning: variable 'frame_count' set but not used [-Wunused-but-set-variable]
379 | int frame_count;
| ^~~~~~~~~~~
dvavi.c:428:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
428 | fread(bn->buffer, 1, len, in_avi);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dvavi.c:434:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
434 | fread(bn->buffer + bn->usage, 1, len, in_avi);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dvavi.c:445:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
445 | fread(bn->buffer, 1, len, in_avi);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dvavi.c:457:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
457 | fread(bn->buffer, 1, len, in_avi);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -Wall -g -o dvavi dvavi.o ../libdv/libdv.la -lm
make[2]: Leaving directory '/build/libdv-1.0.0/encodedv'
make[2]: Entering directory '/build/libdv-1.0.0'
make[2]: Leaving directory '/build/libdv-1.0.0'
make[1]: Leaving directory '/build/libdv-1.0.0'
@nix { "action": "setPhase", "phase": "installPhase" }
installing
install flags: SHELL=/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash install
Making install in libdv
make[1]: Entering directory '/build/libdv-1.0.0/libdv'
make install-am
make[2]: Entering directory '/build/libdv-1.0.0/libdv'
make[3]: Entering directory '/build/libdv-1.0.0/libdv'
test -z "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib" || mkdir -p -- "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib"
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --mode=install /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c 'libdv.la' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib/libdv.la'
test -z "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/include/libdv" || mkdir -p -- "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/include/libdv"
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 'dv_types.h' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/include/libdv/dv_types.h'
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 'dv.h' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/include/libdv/dv.h'
make[3]: Leaving directory '/build/libdv-1.0.0/libdv'
make[2]: Leaving directory '/build/libdv-1.0.0/libdv'
make[1]: Leaving directory '/build/libdv-1.0.0/libdv'
Making install in encodedv
make[1]: Entering directory '/build/libdv-1.0.0/encodedv'
make[2]: Entering directory '/build/libdv-1.0.0/encodedv'
test -z "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin" || mkdir -p -- "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin"
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --mode=install /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c 'encodedv' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/encodedv'
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --mode=install /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c 'dvconnect' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/dvconnect'
/nix/store/152skhjwhl6hlli6m55zrzimmq7daa5w-bash-4.4-p23/bin/bash ../libtool --silent --mode=install /nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c 'dubdv' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/dubdv'
test -z "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/man1" || mkdir -p -- "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/man1"
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 './encodedv.1' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/man1/encodedv.1'
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 './dvconnect.1' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/man1/dvconnect.1'
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 './dubdv.1' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/man1/dubdv.1'
make[2]: Leaving directory '/build/libdv-1.0.0/encodedv'
make[1]: Leaving directory '/build/libdv-1.0.0/encodedv'
make[1]: Entering directory '/build/libdv-1.0.0'
make[2]: Entering directory '/build/libdv-1.0.0'
make[2]: Nothing to be done for 'install-exec-am'.
test -z "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib/pkgconfig" || mkdir -p -- "/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib/pkgconfig"
/nix/store/wljjnpq3c12r4sk5rvd8sxx1jk97fzj0-coreutils-8.31/bin/install -c -m 644 'libdv.pc' '/nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib/pkgconfig/libdv.pc'
make[2]: Leaving directory '/build/libdv-1.0.0'
make[1]: Leaving directory '/build/libdv-1.0.0'
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0
shrinking /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/encodedv
shrinking /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/dvconnect
shrinking /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin/dubdv
shrinking /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib/libdv.so.4.0.3
gzipping man pages under /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/share/man/
strip is /nix/store/sipnv3707dbf02lkjiixqixfiflj6pys-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/lib /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0/bin
patching script interpreter paths in /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0
checking for references to /build/ in /nix/store/64kcb4884p4sivnmk8mww1w1wv49azan-libdv-1.0.0...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment