* Package: dev-util/tinlink-1.0.0-r1:0 * Repository: gentoo * Maintainer: bircoph@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tinlink-1.0.0.tar.gz to /var/tmp/portage/dev-util/tinlink-1.0.0-r1/work >>> Source unpacked in /var/tmp/portage/dev-util/tinlink-1.0.0-r1/work >>> Preparing source in /var/tmp/portage/dev-util/tinlink-1.0.0-r1/work/tinlink-1.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-util/tinlink-1.0.0-r1/work/tinlink-1.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/tinlink-1.0.0-r1/work/tinlink-1.0.0 ... make -j4 CC=clang tinlink clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tinlink.c -o tinlink tinlink.c:122:23: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] n, DEFAULT_OUTPUT, (int)DEFAULT_START); ^~~~~~~~~~~~~~~~~~ tinlink.c:132:18: warning: initializing 'unsigned char *' with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *output=DEFAULT_OUTPUT; ^ ~~~~~~~~~~~~~~ tinlink.c:164:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] input=v[i]; ^~~~~ tinlink.c:181:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] output=v[i]; ^~~~~ tinlink.c:222:23: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (errno==ERANGE || strlen(v[i])==0 || *res!='\0') { ^ tinlink.c:222:23: note: include the header or explicitly provide a declaration for 'strlen' tinlink.c:239:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd=open(input, O_RDONLY))==-1) { ^~~~~ /usr/include/fcntl.h:209:30: note: passing argument to parameter '__file' here extern int open (const char *__file, int __oflag, ...) __nonnull ((1)); ^ tinlink.c:274:19: warning: passing '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] if (create_code(output, code, filesize, size, start)==-1) { ^~~~~~ tinlink.c:83:23: note: passing argument to parameter 'to' here int create_code(char *to, char *code, unsigned int filesize, unsigned in... ^ tinlink.c:274:27: warning: passing '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] if (create_code(output, code, filesize, size, start)==-1) { ^~~~ tinlink.c:83:33: note: passing argument to parameter 'code' here int create_code(char *to, char *code, unsigned int filesize, unsigned in... ^ 7 warnings and 1 error generated. make: *** [: tinlink] Error 1 * ERROR: dev-util/tinlink-1.0.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/tinlink-1.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/tinlink-1.0.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-util:tinlink-1.0.0-r1:20221005-135840.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/tinlink-1.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/tinlink-1.0.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/tinlink-1.0.0-r1/work/tinlink-1.0.0' * S: '/var/tmp/portage/dev-util/tinlink-1.0.0-r1/work/tinlink-1.0.0'