nix
these 2 derivations will be built:
ryokucha-0.3.1
/nix/store/k0m4rsxsa8sja5vk7b021isg9cvkl1jg-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1.drv
rtmpdump-2.6
/nix/store/m53csg28kgf8nfzahzb5z4v3rr02hn2j-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6.drv
nix
this path will be fetched (0.03 MiB download, 0.34 MiB unpacked):
/nix/store/0hqljj6mp477hhzdvdzp05jxin0f2yis-source
rtmpdump-2.6
Build started
→ unpackPhase
unpacking source archive /nix/store/s08hkbqwn469aljmvh1l5n7pczpw3m4i-rtmpdump-6f6bb13
source root is rtmpdump-6f6bb13
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
no configure script, doing nothing
→ buildPhase
build flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash prefix=\$\(out\) CROSS_COMPILE= CRYPTO=GNUTLS CC=clang
make[1]: Entering directory '/build/rtmpdump-6f6bb13/librtmp'
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -fPIC -c -o rtmp.o rtmp.c
ryokucha-0.3.1
Build started
→ unpackPhase
unpacking source archive /nix/store/0hqljj6mp477hhzdvdzp05jxin0f2yis-source
source root is source
→ patchPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
mesonConfigurePhase flags: --prefix=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1 --libdir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/lib --libexecdir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/libexec --bindir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/bin --sbindir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/sbin --includedir=/nix/store/nf3c6c3hf3lr06pffknhfkc68mk4m8y9-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1-dev/include --mandir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/man --infodir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/info --localedir=/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain --cross-file=/nix/store/ajw3xpilcx3bx1w4571cj4rllm7fgk9b-cross-file.conf
The Meson build system
Version: 1.7.2
Source dir: /build/source
Build dir: /build/source/build
Build type: cross build
Project name: ryokucha
Project version: 0.3.1
C compiler for the host machine: clang (clang 20.1.8 "clang version 20.1.8 (Fil-C 0.684)")
C linker for the host machine: clang ld.gold 2.43.1
Vala compiler for the host machine: valac (valac 0.56.18)
C compiler for the build machine: cc (clang 20.1.8 "clang version 20.1.8 (Fil-C 0.684)")
C linker for the build machine: cc ld.gold 2.43.1
Vala compiler for the build machine: valac (valac 0.56.18)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Found pkg-config: YES (/nix/store/f4iq3fjva198s44x56dwm0vpgymb67xg-x86_64-unknown-linux-gnufilc0-pkg-config-wrapper-0.29.2/bin/x86_64-unknown-linux-gnufilc0-pkg-config) 0.29.2
Run-time dependency glib-2.0 found: YES 2.80.4
Run-time dependency gio-2.0 found: YES 2.80.4
Run-time dependency gobject-2.0 found: YES 2.80.4
Run-time dependency gtk4 found: YES 4.14.5
Run-time dependency pango found: YES 1.56.3
Build targets in project: 1
ryokucha 0.3.1
User defined options
Cross files : /nix/store/ajw3xpilcx3bx1w4571cj4rllm7fgk9b-cross-file.conf
auto_features: enabled
bindir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/bin
buildtype : plain
includedir : /nix/store/nf3c6c3hf3lr06pffknhfkc68mk4m8y9-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1-dev/include
infodir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/info
libdir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/lib
libexecdir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/libexec
localedir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/locale
mandir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/share/man
prefix : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1
sbindir : /nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1/sbin
wrap_mode : nodownload
Found ninja-1.12.1 at /nix/store/0gk4i8rv9vppwwbig525k1fkhkph6vwx-ninja-1.12.1/bin/ninja
mesonConfigurePhase: enabled\ parallel\ building
→ buildPhase
build flags: -j6
[1/3] Compiling Vala source ../lib/DropDownText.vala
[2/3] Compiling C object lib/libryokucha.so.p/meson-generated_DropDownText.c.o
FAILED: lib/libryokucha.so.p/meson-generated_DropDownText.c.o
clang -Ilib/libryokucha.so.p -Ilib -I../lib -I/nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include/glib-2.0 -I/nix/store/n77xf8hgp29d8qycs4mj4k06cbj1ywn2-glib-2.80.4-x86_64-unknown-linux-gnufilc0/lib/glib-2.0/include -I/nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include -I/nix/store/nb61rymyi7ryksf0pnzkc47fb7n3srab-gtk4-4.14.5-x86_64-unknown-linux-gnufilc0-dev/include/gtk-4.0 -I/nix/store/sqj0pjlyr9n6g6i8igwrqx1bmib3qkm3-cairo-x86_64-unknown-linux-gnufilc0-1.18.2-dev/include/cairo -I/nix/store/cas60m051q3h3l93nlrnps20145x36qy-freetype-x86_64-unknown-linux-gnufilc0-2.13.3-dev/include/freetype2 -I/nix/store/cas60m051q3h3l93nlrnps20145x36qy-freetype-x86_64-unknown-linux-gnufilc0-2.13.3-dev/include -I/nix/store/8jj90zvylqcsayyjy66nvz3ab11kx7j1-gdk-pixbuf-x86_64-unknown-linux-gnufilc0-2.42.12-dev/include/gdk-pixbuf-2.0 -I/nix/store/5pnfndhh7nidmcwikjf962m4kf268g9n-graphene-x86_64-unknown-linux-gnufilc0-1.10.8-dev/include/graphene-1.0 -I/nix/store/536d9zq415v7x2ly2bs8fbwc25qq5qkx-graphene-x86_64-unknown-linux-gnufilc0-1.10.8/lib/graphene-1.0/include -I/nix/store/k201pf7alkw0rvn6i0gpax1nv6shxa0v-pango-x86_64-unknown-linux-gnufilc0-1.56.3-dev/include/pango-1.0 -I/nix/store/zkw8pjgidbd5405lfif0hlffhwq9scyh-harfbuzz-x86_64-unknown-linux-gnufilc0-10.2.0-dev/include/harfbuzz -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fPIC -mfpmath=sse -msse -msse2 -MD -MQ lib/libryokucha.so.p/meson-generated_DropDownText.c.o -MF lib/libryokucha.so.p/meson-generated_DropDownText.c.o.d -o lib/libryokucha.so.p/meson-generated_DropDownText.c.o -c lib/libryokucha.so.p/DropDownText.c
lib/libryokucha.so.p/DropDownText.c:702:3: error: incompatible pointer to integer conversion assigning to 'volatile gsize' (aka 'volatile unsigned long') from 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
702 | g_once_init_leave (&ryokucha_drop_down_text_list_store_item_type_id__once, ryokucha_drop_down_text_list_store_item_type_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include/glib-2.0/glib/gthread.h:278:29: note: expanded from macro 'g_once_init_leave'
278 | 0 ? (void) (*(location) = (result)) : (void) 0; \
| ^ ~~~~~~~~
lib/libryokucha.so.p/DropDownText.c:704:9: error: incompatible integer to pointer conversion returning 'volatile gsize' (aka 'volatile unsigned long') from a function with result type 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
704 | return ryokucha_drop_down_text_list_store_item_type_id__once;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/libryokucha.so.p/DropDownText.c:871:3: error: incompatible pointer to integer conversion assigning to 'volatile gsize' (aka 'volatile unsigned long') from 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
871 | g_once_init_leave (&ryokucha_drop_down_text_drop_down_row_type_id__once, ryokucha_drop_down_text_drop_down_row_type_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include/glib-2.0/glib/gthread.h:278:29: note: expanded from macro 'g_once_init_leave'
278 | 0 ? (void) (*(location) = (result)) : (void) 0; \
| ^ ~~~~~~~~
lib/libryokucha.so.p/DropDownText.c:873:9: error: incompatible integer to pointer conversion returning 'volatile gsize' (aka 'volatile unsigned long') from a function with result type 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
873 | return ryokucha_drop_down_text_drop_down_row_type_id__once;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/libryokucha.so.p/DropDownText.c:970:24: warning: variable 'self' set but not used [-Wunused-but-set-variable]
970 | RyokuchaDropDownText* self;
| ^
lib/libryokucha.so.p/DropDownText.c:1065:163: warning: comparison of function '___lambda6__gbinding_transform_func' equal to a null pointer is always false [-Wtautological-pointer-compare]
1065 | g_object_bind_property_with_closures ((GObject*) self, "ellipsize", (GObject*) _tmp19_, "tooltip_text", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((___lambda6__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda6__gbinding_transform_func, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
lib/libryokucha.so.p/DropDownText.c:1065:163: note: prefix with the address-of operator to silence this warning
1065 | g_object_bind_property_with_closures ((GObject*) self, "ellipsize", (GObject*) _tmp19_, "tooltip_text", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((___lambda6__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda6__gbinding_transform_func, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
| ^
| &
lib/libryokucha.so.p/DropDownText.c:1264:141: warning: comparison of function '__ryokucha_drop_down_text___lambda7__gbinding_transform_func' equal to a null pointer is always false [-Wtautological-pointer-compare]
1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
lib/libryokucha.so.p/DropDownText.c:1264:141: note: prefix with the address-of operator to silence this warning
1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^
| &
lib/libryokucha.so.p/DropDownText.c:1264:380: warning: comparison of function '__ryokucha_drop_down_text___lambda8__gbinding_transform_func' equal to a null pointer is always false [-Wtautological-pointer-compare]
1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
lib/libryokucha.so.p/DropDownText.c:1264:380: note: prefix with the address-of operator to silence this warning
1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^
| &
lib/libryokucha.so.p/DropDownText.c:1358:3: error: incompatible pointer to integer conversion assigning to 'volatile gsize' (aka 'volatile unsigned long') from 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
1358 | g_once_init_leave (&ryokucha_drop_down_text_type_id__once, ryokucha_drop_down_text_type_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include/glib-2.0/glib/gthread.h:278:29: note: expanded from macro 'g_once_init_leave'
278 | 0 ? (void) (*(location) = (result)) : (void) 0; \
| ^ ~~~~~~~~
lib/libryokucha.so.p/DropDownText.c:1360:9: error: incompatible integer to pointer conversion returning 'volatile gsize' (aka 'volatile unsigned long') from a function with result type 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
1360 | return ryokucha_drop_down_text_type_id__once;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings and 6 errors generated.
ninja: build stopped: subcommand failed.
rtmpdump-2.6
In file included from rtmp.c:153:
./handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable]
126 | unsigned int digestLen = 0;
| ^
rtmp.c:193:13: warning: result of comparison of constant 18446744073709551597 with expression of type 'uint32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
193 | if (nSize > SIZE_MAX - RTMP_MAX_HEADER_SIZE)
| ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rtmp.c:281:44: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations]
281 | gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx);
| ^
/nix/store/39q1fk2wxx74f4c2m1h4hkwp0g31ya6p-gnutls-x86_64-unknown-linux-gnufilc0-3.8.9-dev/include/gnutls/compat.h:87:2: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here
87 | _GNUTLS_GCC_ATTR_DEPRECATED;
| ^
/nix/store/39q1fk2wxx74f4c2m1h4hkwp0g31ya6p-gnutls-x86_64-unknown-linux-gnufilc0-3.8.9-dev/include/gnutls/compat.h:39:52: note: expanded from macro '_GNUTLS_GCC_ATTR_DEPRECATED'
39 | #define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__((__deprecated__))
| ^
rtmp.c:2456:23: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2456 | base64_encode_raw((uint8_t*) output, length, input);
| ^~~~~~~~~~~~~~~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/base64.h:117:25: note: passing argument to parameter 'dst' here
117 | base64_encode_raw(char *dst, size_t length, const uint8_t *src);
| ^
rtmp.c:2603:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2603 | MD5_Update(&md5ctx, user.av_val, user.av_len);
| ^~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2604:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2604 | MD5_Update(&md5ctx, salt.av_val, salt.av_len);
| ^~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2605:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2605 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2620:24: warning: passing 'char[56]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2620 | MD5_Update(&md5ctx, salted2, B64DIGEST_LEN);
| ^~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2623:26: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2623 | MD5_Update(&md5ctx, opaque.av_val, opaque.av_len);
| ^~~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2625:26: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2625 | MD5_Update(&md5ctx, challenge.av_val, challenge.av_len);
| ^~~~~~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2626:24: warning: passing 'char[16]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2626 | MD5_Update(&md5ctx, challenge2, B64INT_LEN);
| ^~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2769:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2769 | MD5_Update(&md5ctx, user.av_val, user.av_len);
| ^~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2770:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2770 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2771:24: warning: passing 'const char[5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2771 | MD5_Update(&md5ctx, realm, sizeof(realm)-1);
| ^~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2772:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2772 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2773:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2773 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2788:24: warning: passing 'const char[8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2788 | MD5_Update(&md5ctx, method, sizeof(method)-1);
| ^~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2789:24: warning: passing 'char[3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2789 | MD5_Update(&md5ctx, ":/", 2);
| ^~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2790:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2790 | MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len);
| ^~~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2792:26: warning: passing 'char[11]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2792 | MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1);| ^~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2801:24: warning: passing 'char[33]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2801 | MD5_Update(&md5ctx, hash1, HEXHASH_LEN);
| ^~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2802:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2802 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2803:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2803 | MD5_Update(&md5ctx, nonce.av_val, nonce.av_len);
| ^~~~~~~~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2804:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2804 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2805:24: warning: passing 'char[9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2805 | MD5_Update(&md5ctx, nchex, sizeof(nchex)-1);
| ^~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2806:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2806 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2807:24: warning: passing 'char[9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2807 | MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1);
| ^~~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2808:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2808 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2809:24: warning: passing 'const char[5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2809 | MD5_Update(&md5ctx, qop, sizeof(qop)-1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2810:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2810 | MD5_Update(&md5ctx, ":", 1);
| ^~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:2811:24: warning: passing 'char[33]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
2811 | MD5_Update(&md5ctx, hash2, HEXHASH_LEN);
| ^~~~~
rtmp.c:2494:53: note: expanded from macro 'MD5_Update'
2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data)
| ^~~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/md5.h:71:20: note: passing argument to parameter 'data' here
71 | const uint8_t *data);
| ^
rtmp.c:1906:1: warning: unused variable 'av_record' [-Wunused-const-variable]
1906 | SAVC(record);
| ^~~~~~~~~~~~
rtmp.c:1560:35: note: expanded from macro 'SAVC'
1560 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:60:1: note: expanded from here
60 | av_record
| ^~~~~~~~~
rtmp.c:2908:19: warning: unused variable 'av_NetConnection_Connect_Rejected' [-Wunused-const-variable]
2908 | static const AVal av_NetConnection_Connect_Rejected =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 warnings generated.
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -fPIC -c -o log.o log.c
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -fPIC -c -o amf.o amf.c
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -fPIC -c -o hashswf.o hashswf.c
hashswf.c:604:22: warning: passing 'char[31]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
604 | HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hashswf.c:52:66: note: expanded from macro 'HMAC_setup'
52 | #define HMAC_setup(ctx, key, len) hmac_sha256_set_key(&ctx, len, key)
| ^~~
/nix/store/ldfsnx17lzjmrkpy6fgac7l820h2wjw2-nettle-x86_64-unknown-linux-gnufilc0-3.10.1-dev/include/nettle/hmac.h:172:41: note: passing argument to parameter 'key' here
172 | size_t key_length, const uint8_t *key);
| ^
1 warning generated.
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -O2 -fPIC -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating librtmp.a
clang -shared -Wl,-soname,librtmp.so.1 -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o -lgnutls -lhogweed -lnettle -lgmp -lz
ln -sf librtmp.so.1 librtmp.so
make[1]: Leaving directory '/build/rtmpdump-6f6bb13/librtmp'
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpdump.o rtmpdump.c
clang -Wall -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpgw.o rtmpgw.c
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o thread.o thread.c
clang -Wall -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsrv.o rtmpsrv.c
rtmpsrv.c:155:1: warning: unused variable 'av_fpad' [-Wunused-const-variable]
155 | SAVC(fpad);
| ^~~~~~~~~~
rtmpsrv.c:147:35: note: expanded from macro 'SAVC'
147 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:190:1: note: expanded from here
190 | av_fpad
| ^~~~~~~
rtmpsrv.c:159:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable]
159 | SAVC(videoFunction);
| ^~~~~~~~~~~~~~~~~~~
rtmpsrv.c:147:35: note: expanded from macro 'SAVC'
147 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:198:1: note: expanded from here
198 | av_videoFunction
| ^~~~~~~~~~~~~~~~
rtmpsrv.c:170:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable]
170 | SAVC(secureToken);
| ^~~~~~~~~~~~~~~~~
rtmpsrv.c:147:35: note: expanded from macro 'SAVC'
147 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:220:1: note: expanded from here
220 | av_secureToken
| ^~~~~~~~~~~~~~
3 warnings generated.
clang -Wall -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz
clang -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsuck.o rtmpsuck.c
rtmpsuck.c:127:1: warning: unused variable 'av_fpad' [-Wunused-const-variable]
127 | SAVC(fpad);
| ^~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:190:1: note: expanded from here
190 | av_fpad
| ^~~~~~~
rtmpsuck.c:128:1: warning: unused variable 'av_capabilities' [-Wunused-const-variable]
128 | SAVC(capabilities);
| ^~~~~~~~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:192:1: note: expanded from here
192 | av_capabilities
| ^~~~~~~~~~~~~~~
rtmpsuck.c:131:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable]
131 | SAVC(videoFunction);
| ^~~~~~~~~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:198:1: note: expanded from here
198 | av_videoFunction
| ^~~~~~~~~~~~~~~~
rtmpsuck.c:133:1: warning: unused variable 'av__result' [-Wunused-const-variable]
133 | SAVC(_result);
| ^~~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:202:1: note: expanded from here
202 | av__result
| ^~~~~~~~~~
rtmpsuck.c:134:1: warning: unused variable 'av_createStream' [-Wunused-const-variable]
134 | SAVC(createStream);
| ^~~~~~~~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:204:1: note: expanded from here
204 | av_createStream
| ^~~~~~~~~~~~~~~
rtmpsuck.c:137:1: warning: unused variable 'av_fmsVer' [-Wunused-const-variable]
137 | SAVC(fmsVer);
| ^~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:210:1: note: expanded from here
210 | av_fmsVer
| ^~~~~~~~~
rtmpsuck.c:138:1: warning: unused variable 'av_mode' [-Wunused-const-variable]
138 | SAVC(mode);
| ^~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:212:1: note: expanded from here
212 | av_mode
| ^~~~~~~
rtmpsuck.c:141:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable]
141 | SAVC(secureToken);
| ^~~~~~~~~~~~~~~~~
rtmpsuck.c:119:35: note: expanded from macro 'SAVC'
119 | #define SAVC(x) static const AVal av_##x = AVC(#x)
| ^~~~~~
<scratch space>:218:1: note: expanded from here
218 | av_secureToken
| ^~~~~~~~~~~~~~
8 warnings generated.
clang -Wall -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz
→ installPhase
install flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash prefix=\$\(out\) CROSS_COMPILE= CRYPTO=GNUTLS CC=clang pkgconfigdir=/nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/lib/pkgconfig m4datadir=/nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/share/aclocal aclocaldir=/nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/share/aclocal install
make[1]: Entering directory '/build/rtmpdump-6f6bb13/librtmp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/rtmpdump-6f6bb13/librtmp'
mkdir -p /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man1 /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man8
cp rtmpdump /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin
cp rtmpgw rtmpsrv rtmpsuck /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin
cp rtmpdump.1 /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man1
cp rtmpgw.8 /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man8
make[1]: Entering directory '/build/rtmpdump-6f6bb13/librtmp'
sed -e "s;@prefix@;/nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6;" -e "s;@libdir@;/nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib;" \
-e "s;@VERSION@;v2.4;" \
-e "s;@CRYPTO_REQ@;gnutls,hogweed,nettle;" \
-e "s;@PUBLIC_LIBS@;-lgmp;" \
-e "s;@PRIVATE_LIBS@;;" librtmp.pc.in > librtmp.pc
mkdir -p /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/include/librtmp /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib/pkgconfig /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man3
cp amf.h http.h log.h rtmp.h /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/include/librtmp
cp librtmp.a /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib
cp librtmp.pc /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib/pkgconfig
cp librtmp.3 /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man/man3
mkdir -p /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib
cp librtmp.so.1 /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib
cd /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib; ln -sf librtmp.so.1 librtmp.so
make[1]: Leaving directory '/build/rtmpdump-6f6bb13/librtmp'
→ fixupPhase
moving /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/man to /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/share/man
Moving /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/include to /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/include
Moving /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib/pkgconfig to /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/lib/pkgconfig
Patching '/nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/lib/pkgconfig/librtmp.pc' includedir to output /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev
separating debug info from /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin/rtmpdump (build ID 1e51344cf0a29d55a3cb8f1872b5a2012c607936)
separating debug info from /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib/librtmp.so.1 (build ID 3f755d9043bfdbee75d7e622daff6b325b2cdb8d)
separating debug info from /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpgw (build ID 1c4ff79421022154b7b4705bf8e438c5bf7c668a)
separating debug info from /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpsrv (build ID edea6080ef5b762eaaa5353eae4dd094cb5755ef)
separating debug info from /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpsuck (build ID 66e34ef9d6e5536acd10ed78dba0fa86d4b6ed3b)
shrinking RPATHs of ELF executables and libraries in /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6
shrinking /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin/rtmpdump
shrinking /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpgw
shrinking /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpsrv
shrinking /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/rtmpsuck
shrinking /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib/librtmp.so.1
checking for references to /build/ in /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6...
gzipping man pages under /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/share/man/
moving /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin/* to /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin
patching script interpreter paths in /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6
stripping (with command strip and flags -S -p) in /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/lib /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/bin /nix/store/03yg7msgpgiyl21kapnvviacyqafhgl6-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6/sbin
shrinking RPATHs of ELF executables and libraries in /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev
checking for references to /build/ in /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev...
patching script interpreter paths in /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev
stripping (with command strip and flags -S -p) in /nix/store/a9n6k8b5m9gfy0x19ww2nbaf6pdvbhm0-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-dev/lib
shrinking RPATHs of ELF executables and libraries in /nix/store/bf33zp762xxvz8417vrmhg2vjd3xhl9i-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-debug
checking for references to /build/ in /nix/store/bf33zp762xxvz8417vrmhg2vjd3xhl9i-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-debug...
patching script interpreter paths in /nix/store/bf33zp762xxvz8417vrmhg2vjd3xhl9i-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-debug
stripping (with command strip and flags -S -p) in /nix/store/bf33zp762xxvz8417vrmhg2vjd3xhl9i-rtmpdump-x86_64-unknown-linux-gnufilc0-2.6-debug/lib
ryokucha-0.3.1
error: Cannot build '/nix/store/k0m4rsxsa8sja5vk7b021isg9cvkl1jg-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/hwv04czr0cwfpgwh791lddc8sssl62wp-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1
/nix/store/nf3c6c3hf3lr06pffknhfkc68mk4m8y9-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1-dev
Last 25 log lines:
> lib/libryokucha.so.p/DropDownText.c:1264:141: warning: comparison of function '__ryokucha_drop_down_text___lambda7__gbinding_transform_func' equal to a null pointer is always false [-Wtautological-pointer-compare]
> 1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
> lib/libryokucha.so.p/DropDownText.c:1264:141: note: prefix with the address-of operator to silence this warning
> 1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
> | ^
> | &
> lib/libryokucha.so.p/DropDownText.c:1264:380: warning: comparison of function '__ryokucha_drop_down_text___lambda8__gbinding_transform_func' equal to a null pointer is always false [-Wtautological-pointer-compare]
> 1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
> lib/libryokucha.so.p/DropDownText.c:1264:380: note: prefix with the address-of operator to silence this warning
> 1264 | g_object_bind_property_with_closures ((GObject*) _tmp11_, "selected", (GObject*) self, "active-id", G_BINDING_BIDIRECTIONAL, (GClosure*) ((__ryokucha_drop_down_text___lambda7__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda7__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((__ryokucha_drop_down_text___lambda8__gbinding_transform_func == NULL) ? NULL : g_cclosure_new ((GCallback) __ryokucha_drop_down_text___lambda8__gbinding_transform_func, g_object_ref (self), (GClosureNotify) g_object_unref)));
> | ^
> | &
> lib/libryokucha.so.p/DropDownText.c:1358:3: error: incompatible pointer to integer conversion assigning to 'volatile gsize' (aka 'volatile unsigned long') from 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
> 1358 | g_once_init_leave (&ryokucha_drop_down_text_type_id__once, ryokucha_drop_down_text_type_id);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /nix/store/k6yvz42inl4qskndrwvn4jri1pagm3hp-glib-2.80.4-x86_64-unknown-linux-gnufilc0-dev/include/glib-2.0/glib/gthread.h:278:29: note: expanded from macro 'g_once_init_leave'
> 278 | 0 ? (void) (*(location) = (result)) : (void) 0; \
> | ^ ~~~~~~~~
> lib/libryokucha.so.p/DropDownText.c:1360:9: error: incompatible integer to pointer conversion returning 'volatile gsize' (aka 'volatile unsigned long') from a function with result type 'GType' (aka 'struct _GTypeOpaque *') [-Wint-conversion]
> 1360 | return ryokucha_drop_down_text_type_id__once;
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 4 warnings and 6 errors generated.
> ninja: build stopped: subcommand failed.
For full logs, run:
nix log /nix/store/k0m4rsxsa8sja5vk7b021isg9cvkl1jg-ryokucha-x86_64-unknown-linux-gnufilc0-0.3.1.drvEnd of log