Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 3, 2021 23:26
Show Gist options
  • Save r-rmcgibbo/892bae9d65a20d2b6205c5bca83ba91f to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/892bae9d65a20d2b6205c5bca83ba91f to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 3 seconds | https://github.com/NixOS/nixpkgs/pull/115019
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/m634mdhm0mf64lncf19bw7ms1g6p1xxw-cvsps_2.1.orig.tar.gz
source root is cvsps-2.1
setting SOURCE_DATE_EPOCH to timestamp 1117078781 of file cvsps-2.1/cbtcommon/sio.h
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/hvcaggq6qwwj5m2srydgs7m9pa4k8gy9-01_ignoretrunk.patch
patching file cvsps.c
applying patch /nix/store/n1d4m89qcc7xkmdm4s50jdafpcwp1ra7-02_dynamicbufferalloc.patch
patching file cache.c
patching file cvsps.c
applying patch /nix/store/pnxh0kr2plpyy6wxrxb2a0w5pwp67k7w-03_diffoptstypo.patch
patching file cvsps.1
applying patch /nix/store/p9fww3igc72d1zxg4gahavjg4bj1v7hb-05-inet_addr_fix.patch
patching file cbtcommon/tcpsocket.c
applying patch /nix/store/v1vq4l9liq9ld57ryxzjqi2xlfp8w5yc-fix-makefile
patching file Makefile
applying patch /nix/store/cs79chv215gkd9v90axxiy39wd47jma4-fix-manpage
patching file cvsps.1
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: SHELL=/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cbtcommon/debug.o cbtcommon/debug.c
cbtcommon/debug.c: In function 'hexdump':
cbtcommon/debug.c:120:10: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wparentheses-Wparentheses8;;]
120 | if ( !debuglvl & DEBUG_STATUS )
| ^~~~~~~~~
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cbtcommon/hash.o cbtcommon/hash.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cbtcommon/text_util.o cbtcommon/text_util.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cbtcommon/sio.o cbtcommon/sio.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cbtcommon/tcpsocket.o cbtcommon/tcpsocket.c
cbtcommon/tcpsocket.c: In function 'tcp_accept_connection':
cbtcommon/tcpsocket.c:113:62: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
113 | if ((retval = accept(sockfd, (struct sockaddr *) &remaddr, &addrlen)) < 0)
| ^~~~~~~~
| |
| int *
In file included from cbtcommon/tcpsocket.c:16:
/nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
233 | socklen_t *__restrict __addr_len);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
cbtcommon/tcpsocket.c: In function 'tcp_get_client_ip':
cbtcommon/tcpsocket.c:141:63: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
141 | if ((retval = getpeername(fd, (struct sockaddr *) &remaddr, &addrlen)) < 0)
| ^~~~~~~~
| |
| int *
In file included from cbtcommon/tcpsocket.c:16:
/nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
131 | socklen_t *__restrict __len) __THROW;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
cbtcommon/tcpsocket.c: In function 'tcp_get_local_address':
cbtcommon/tcpsocket.c:247:54: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
247 | if(getsockname(sockfd, (struct sockaddr *)&addr, &addrlen) < 0)
| ^~~~~~~~
| |
| int *
In file included from cbtcommon/tcpsocket.c:16:
/nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/sys/socket.h:117:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
117 | socklen_t *__restrict __len) __THROW;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cvsps.o cvsps.c
cvsps.c: In function 'check_print_patch_set':
cvsps.c:1782:28: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=8;;]
1782 | sprintf(use_rep_path, "%s/", repository_path);
| ^
In file included from /nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/stdio.h:866,
from cvsps.c:6:
/nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 4097 bytes into a destination of size 4096
38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cvsps.c: In function 'load_from_cvs':
cvsps.c:2129:33: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 63 [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-truncation=-Wformat-truncation=8;;]
2129 | snprintf(rev, REV_STR_MAX, "%s.%d", rev2, leaf);
| ^~
In file included from /nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/stdio.h:866,
from cvsps.c:6:
/nix/store/f8ahd6cxx9ia4fzdiyczmhcv3c2qmd42-glibc-2.32-37-dev/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 3 and 76 bytes into a destination of size 64
70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cache.o cache.c
cache.c: In function 'read_cache':
cache.c:108:9: warning: variable 'tag_flags' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Wunused-but-set-variable8;;]
108 | int tag_flags = 0;
| ^~~~~~~~~
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o util.o util.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o stats.o stats.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cap.o cap.c
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o cvs_direct.o cvs_direct.c
cvs_direct.c: In function 'close_cvs_server':
cvs_direct.c:376:25: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
376 | ctx->zout.next_out = buff;
| ^
cvs_direct.c:444:20: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
444 | ctx->zin.next_in = ctx->zread_buff;
| ^
cvs_direct.c:456:24: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
456 | ctx->zin.next_out = buff;
| ^
cvs_direct.c: In function 'send_string':
cvs_direct.c:563:20: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
563 | ctx->zout.next_in = buff;
| ^
cvs_direct.c:571:25: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
571 | ctx->zout.next_out = zbuff;
| ^
cvs_direct.c: In function 'refill_buffer':
cvs_direct.c:633:20: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
633 | ctx->zin.next_in = ctx->zread_buff;
| ^
cvs_direct.c:637:24: warning: pointer targets in assignment from 'char *' to 'Bytef *' {aka 'unsigned char *'} differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-sign-Wpointer-sign8;;]
637 | ctx->zin.next_out = ctx->head;
| ^
cvs_direct.c: In function 'parse_patch_arg':
cvs_direct.c:778:15: warning: comparison of constant '45' with boolean expression is always false [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbool-compare-Wbool-compare8;;]
778 | if (!*tok == '-')
| ^~
cvs_direct.c:778:15: warning: logical not is only applied to the left hand side of comparison [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wlogical-not-parentheses-Wlogical-not-parentheses8;;]
cvs_direct.c:778:9: note: add parentheses around left hand side expression to silence this warning
778 | if (!*tok == '-')
| ^~~~~
| ( )
cvs_direct.c: In function 'open_ctx_forked':
cvs_direct.c:330:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result8;;]
330 | dup(to_cvs[0]);
| ^~~~~~~~~~~~~~
cvs_direct.c:332:2: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result8;;]
332 | dup(from_cvs[1]);
| ^~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -I. -DVERSION=\"2.1\" -c -o list_sort.o list_sort.c
gcc -o cvsps cbtcommon/debug.o cbtcommon/hash.o cbtcommon/text_util.o cbtcommon/sio.o cbtcommon/tcpsocket.o cvsps.o cache.o util.o stats.o cap.o cvs_direct.o list_sort.o -lz
@nix { "action": "setPhase", "phase": "installPhase" }
installing
install flags: SHELL=/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash prefix=\$\(out\) install
[ -d /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/bin ] || mkdir -p /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/bin
[ -d /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/share/man/man1 ] || mkdir -p /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/share/man/man1
install cvsps /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/bin
install -m 644 cvsps.1 /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/share/man/man1
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1
shrinking /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/bin/cvsps
gzipping man pages under /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/share/man/
strip is /nix/store/cp1sa3xxvl71cypiinw2c62i5s33chlr-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1/bin
patching script interpreter paths in /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1
checking for references to /build/ in /nix/store/mgdzdimzmpld3cj8addcqxw6grrn23ic-cvsps-2.1...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment