* Package: net-misc/liveice-2000530-r2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking liveice-2000530.tar.gz to /var/tmp/portage/net-misc/liveice-2000530-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/liveice-2000530-r2/work >>> Preparing source in /var/tmp/portage/net-misc/liveice-2000530-r2/work/liveice ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/liveice-2000530-r2/work/liveice ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache FSSTD DISABLED checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for main in -lnsl... yes checking for main in -lresolv... yes checking for sqrt in -lm... yes checking for refresh in -lcurses... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for unistd.h... yes checking for sys/soundcard.h... yes checking for working const... yes checking for pid_t... yes checking for size_t... yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking return type of signal handlers... void checking for gethostname... yes checking for mkfifo... yes checking for socket... yes checking for basename... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/liveice-2000530-r2/work/liveice ... make -j1 'LLFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o setup.o setup.c setup.c: In function ‘read_config_file’: setup.c:491:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 491 | fscanf(in,"%s",cmd); | ^~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o streams.o streams.c streams.c: In function ‘create_content_id’: streams.c:570:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 570 | sprintf(g_conf.random_content_id,"%d%s",now,g_conf.icy_name); | ~^ ~~~ | | | | int time_t {aka long int} | %ld streams.c: In function ‘encoding’: streams.c:655:10: warning: implicit declaration of function ‘shout_streamer’ [-Wimplicit-function-declaration] 655 | shout_streamer(); | ^~~~~~~~~~~~~~ streams.c: In function ‘open_esdmon’: streams.c:186:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 186 | pipe(strm); | ^~~~~~~~~~ streams.c:195:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 195 | dup(strm[1]); | ^~~~~~~~~~~~ streams.c: In function ‘open_command’: streams.c:216:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 216 | pipe(strm); | ^~~~~~~~~~ streams.c:225:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 225 | dup(strm[1]); | ^~~~~~~~~~~~ streams.c: In function ‘read_soundcard’: streams.c:281:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 281 | read(g_conf.audio_fd,audiobuf,2*g_conf.rw_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:283:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 283 | write(g_conf.audio_fd,audiobuf,2*g_conf.rw_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c: In function ‘icy_login’: streams.c:369:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 369 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:372:2: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 372 | read(sd,buffer,3); /* "OK\n" */ | ^~~~~~~~~~~~~~~~~ streams.c:386:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 386 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:390:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 390 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:394:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 394 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:398:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 398 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:402:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 402 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:406:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 406 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c: In function ‘x_audio_login’: streams.c:417:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 417 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:421:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 421 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:431:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 431 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:435:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 435 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:439:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 439 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:443:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 443 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:447:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 447 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:449:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 449 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:452:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 452 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:457:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 457 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:460:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 460 | write(sd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c: In function ‘send_livestream’: streams.c:491:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 491 | fread(buffer, 1, MP_BUFF_SIZE, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:509:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 509 | fread(buffer, 1, MP_BUFF_SIZE, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o encoders.o encoders.c encoders.c: In function ‘exec_encoder_l3enc’: encoders.c:102:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 102 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_mp3enc’: encoders.c:176:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 176 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_AJ’: encoders.c:244:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 244 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_old_lame3’: encoders.c:318:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 318 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_gogo’: encoders.c:389:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 389 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_lame3’: encoders.c:463:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 463 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_lame31x’: encoders.c:548:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 548 | nice(-10); | ^~~~~~~~~ encoders.c: In function ‘exec_encoder_screamer’: encoders.c:624:4: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result] 624 | nice(-10); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o serverlib.o serverlib.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o mpeg.o mpeg.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o mixer.o mixer.c mixer.c: In function ‘parse_channel_metadata’: mixer.c:200:2: warning: implicit declaration of function ‘parse_file_metadata’; did you mean ‘parse_channel_metadata’? [-Wimplicit-function-declaration] 200 | parse_file_metadata(ch->curnt->filename,&title,&artist,&album,&url); | ^~~~~~~~~~~~~~~~~~~ | parse_channel_metadata mixer.c:206:10: warning: implicit declaration of function ‘getword’; did you mean ‘getwd’? [-Wimplicit-function-declaration] 206 | getword(value,buff,'&'); | ^~~~~~~ | getwd mixer.c:209:3: warning: implicit declaration of function ‘plustospace’ [-Wimplicit-function-declaration] 209 | plustospace(value); | ^~~~~~~~~~~ mixer.c:210:3: warning: implicit declaration of function ‘unescape_url’ [-Wimplicit-function-declaration] 210 | unescape_url(value); | ^~~~~~~~~~~~ mixer.c: In function ‘spawn_stream’: mixer.c:415:20: warning: implicit declaration of function ‘basename’; did you mean ‘my_basename’? [-Wimplicit-function-declaration] 415 | sprintf(name,"%s",basename(ch->curnt->filename)); | ^~~~~~~~ | my_basename mixer.c:415:17: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=] 415 | sprintf(name,"%s",basename(ch->curnt->filename)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | int | char * | %d mixer.c: In function ‘spawn_mp3_stream’: mixer.c:252:3: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 252 | pipe(strm); | ^~~~~~~~~~ mixer.c:253:3: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 253 | pipe(control); | ^~~~~~~~~~~~~ mixer.c:267:4: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 267 | dup(strm[1]); | ^~~~~~~~~~~~ mixer.c:273:4: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 273 | dup(control[0]); | ^~~~~~~~~~~~~~~ mixer.c: In function ‘spawn_sox_stream’: mixer.c:297:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 297 | pipe(strm); | ^~~~~~~~~~ mixer.c:298:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 298 | pipe(control); | ^~~~~~~~~~~~~ mixer.c:311:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 311 | dup(strm[1]); | ^~~~~~~~~~~~ mixer.c:317:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 317 | dup(control[0]); | ^~~~~~~~~~~~~~~ mixer.c: In function ‘spawn_cat_stream’: mixer.c:336:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 336 | pipe(strm); | ^~~~~~~~~~ mixer.c:348:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 348 | dup(strm[1]); | ^~~~~~~~~~~~ mixer.c: In function ‘spawn_executable’: mixer.c:365:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 365 | pipe(strm); | ^~~~~~~~~~ mixer.c:377:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 377 | dup(strm[1]); | ^~~~~~~~~~~~ mixer.c: In function ‘play_chunks’: mixer.c:566:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 566 | read(g_conf.audio_fd,audio_buffer,BUF_SIZE*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mixer.c:592:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 592 | write(g_conf.audio_fd,mixer.c_list[i]->inbuf,num*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mixer.c:621:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 621 | write(g_conf.audio_fd,audio_buffer,num*2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o display.o display.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o playlist.o playlist.c playlist.c: In function ‘load_playlist’: playlist.c:182:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 182 | fscanf(in,"%[^\n]c",trackname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o wav.o wav.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o audio_proc.o audio_proc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o controls.o controls.c controls.c: In function ‘get_frontend_command’: controls.c:39:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 39 | fscanf(stdin,"%d",&cmd); | ^~~~~~~~~~~~~~~~~~~~~~~ controls.c:45:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 45 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:48:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 48 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:51:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 51 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:54:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 54 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:57:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 57 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:60:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 60 | fscanf(stdin,"%d %f",channel,&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:63:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 63 | fscanf(stdin,"%f",&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:68:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 68 | fscanf(stdin,"%s",names); | ^~~~~~~~~~~~~~~~~~~~~~~~ controls.c:71:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 71 | fscanf(stdin,"%f",&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:74:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 74 | fscanf(stdin,"%f",&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c: In function ‘exec_seek’: controls.c:374:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 374 | write(mixer.c_list[channel]->control,"F",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:376:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 376 | write(mixer.c_list[channel]->control,"C",1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c: In function ‘check_command_file’: controls.c:475:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 475 | fscanf(mixer.control_file,"%lg",&next_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:479:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 479 | fscanf(mixer.control_file,"%d %d",&cmd,channel); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:485:4: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 485 | fscanf(mixer.control_file,"%g",&parms[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c:488:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 488 | fscanf(mixer.control_file,"%lg",&next_time); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.c: In function ‘simple_frontend’: controls.c:579:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 579 | fscanf(stdin,"%s",cmd); | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o meta_data.o meta_data.c meta_data.c: In function ‘execute_update_script’: meta_data.c:33:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 33 | sprintf(lptr,"%d",now); | ~^ ~~~ | | | | | time_t {aka long int} | int | %ld meta_data.c: In function ‘write_logfile’: meta_data.c:117:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 117 | sprintf(lptr,"%d",now); | ~^ ~~~ | | | | | time_t {aka long int} | int | %ld meta_data.c: In function ‘update_meta_info_on_server’: meta_data.c:292:153: warning: implicit declaration of function ‘url_encode’ [-Wimplicit-function-declaration] 292 | :%d\r\nUser-Agent: liveice-v%s\r\n\r\n", e_stream->password, url_encode(e_stream->mountpoint,&mount), url_encode (filename, &song),e_stream->server, e_stream->port,LIVEICE_VERSION); | ^~~~~~~~~~ meta_data.c:292:62: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] 292 | sprintf(mesg, "GET /admin.cgi?pass=%s&mode=updinfo&mount=%s&song=%s HTTP/1.0\r\nHost: %s:%d\r\nUser-Agent: liveice-v%s\r\n\r\n", e_stream->password, url_encode(e_stream->mountpoint,&mount), url_encode (filename, &song),e_stream->server, e_stream->port,LIVEICE_VERSION); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * int | %d meta_data.c:292:70: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat=] 292 | tf(mesg, "GET /admin.cgi?pass=%s&mode=updinfo&mount=%s&song=%s HTTP/1.0\r\nHost: %s:%d\r\nUser-Agent: liveice-v%s\r\n\r\n", e_stream->password, url_encode(e_stream->mountpoint,&mount), url_encode (filename, &song),e_stream->server, e_stream->port,LIVEICE_VERSION); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * int | %d meta_data.c:295:61: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] 295 | sprintf(mesg, "GET /admin.cgi?pass=%s&mode=updinfo&song=%s HTTP/1.0\r\nHost: %s:%d\r\nUser-Agent: liveice-v%s\r\n\r\n", e_stream->password, url_encode (filename, &song), e_stream->server, e_stream->port,LIVEICE_VERSION); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | char * int | %d meta_data.c:297:18: warning: format not a string literal and no format arguments [-Wformat-security] 297 | fprintf(stderr,mesg); | ^~~~ meta_data.c: In function ‘execute_update_script’: meta_data.c:85:7: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 85 | system(exec_line); | ^~~~~~~~~~~~~~~~~ meta_data.c: In function ‘parse_id3_v2’: meta_data.c:188:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 188 | fread(hdr,1,10,in); | ^~~~~~~~~~~~~~~~~~ meta_data.c:200:3: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 200 | fread(tag,1,tag_size,in); | ^~~~~~~~~~~~~~~~~~~~~~~~ meta_data.c: In function ‘parse_file_metadata’: meta_data.c:229:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 229 | fread(stat,4,1,in); | ^~~~~~~~~~~~~~~~~~ meta_data.c:242:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 242 | fread(stat,128,1,in); | ^~~~~~~~~~~~~~~~~~~~ meta_data.c: In function ‘update_meta_info_on_server’: meta_data.c:299:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 299 | write(sd,mesg,strlen(mesg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -c -o url.o url.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -I. -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o liveice setup.o streams.o encoders.o serverlib.o mpeg.o mixer.o display.o playlist.o wav.o audio_proc.o controls.o meta_data.o url.o -lcurses -lm -lresolv -lnsl liveice.c /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: streams.o:(.bss+0x20): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: encoders.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: serverlib.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mpeg.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mixer.o:(.bss+0x5020): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: display.o:(.bss+0x100): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: display.o:(.bss+0x60): multiple definition of `mixer'; mixer.o:(.bss+0x56c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: playlist.o:(.bss+0xa0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: playlist.o:(.bss+0x0): multiple definition of `mixer'; mixer.o:(.bss+0x56c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wav.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: audio_proc.o:(.bss+0x20000): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: audio_proc.o:(.bss+0x206a0): multiple definition of `mixer'; mixer.o:(.bss+0x56c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: controls.o:(.bss+0xa0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: controls.o:(.bss+0x0): multiple definition of `mixer'; mixer.o:(.bss+0x56c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: meta_data.o:(.bss+0xa0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: meta_data.o:(.bss+0x0): multiple definition of `mixer'; mixer.o:(.bss+0x56c0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: url.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/liveice-2000530-r2/temp/ccqk6Cml.o:(.bss+0x0): multiple definition of `g_conf'; setup.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: display.o: undefined reference to symbol 'nodelay' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefile:36: liveice] Error 1 * ERROR: net-misc/liveice-2000530-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/liveice-2000530-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/liveice-2000530-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:liveice-2000530-r2:20200207-110741.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/liveice-2000530-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/liveice-2000530-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/liveice-2000530-r2/work/liveice' * S: '/var/tmp/portage/net-misc/liveice-2000530-r2/work/liveice'