* Package: x11-plugins/asclock-2.0.12-r3 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking asclock-2.0.12.tar.gz to /var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work >>> Source unpacked in /var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work >>> Preparing source in /var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work/asclock-2.0.12 ... * Applying asclock-gcc41.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work/asclock-2.0.12 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work/asclock-2.0.12 ... In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from asclock.h:3, from asclock.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ asclock.c: In function ‘main’: asclock.c:184:25: warning: implicit declaration of function ‘mytime’; did you mean ‘mktime’? [-Wimplicit-function-declaration] 184 | if (actualtime != mytime()) | ^~~~~~ | mktime In file included from asclock.c:1: asclock.c: At top level: asclock.h:46:14: warning: array ‘hour_xpm’ assumed to have one element 46 | static char *hour_xpm[]; | ^~~~~~~~ asclock.h:47:14: warning: array ‘minute_xpm’ assumed to have one element 47 | static char *minute_xpm[]; | ^~~~~~~~~~ asclock.h:48:14: warning: array ‘second_xpm’ assumed to have one element 48 | static char *second_xpm[]; | ^~~~~~~~~~ asclock.c: In function ‘main’: asclock.c:231:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 231 | system(exec_str); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from asclock.h:3, from parser.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from parser.c:1: asclock.h:41:14: warning: array ‘clock_xpm’ assumed to have one element 41 | static char *clock_xpm[]; | ^~~~~~~~~ asclock.h:42:14: warning: array ‘month_xpm’ assumed to have one element 42 | static char *month_xpm[]; | ^~~~~~~~~ asclock.h:43:14: warning: array ‘weekday_xpm’ assumed to have one element 43 | static char *weekday_xpm[]; | ^~~~~~~~~~~ asclock.h:44:14: warning: array ‘led_xpm’ assumed to have one element 44 | static char *led_xpm[]; | ^~~~~~~ asclock.h:45:14: warning: array ‘date_xpm’ assumed to have one element 45 | static char *date_xpm[]; | ^~~~~~~~ asclock.h:46:14: warning: array ‘hour_xpm’ assumed to have one element 46 | static char *hour_xpm[]; | ^~~~~~~~ asclock.h:47:14: warning: array ‘minute_xpm’ assumed to have one element 47 | static char *minute_xpm[]; | ^~~~~~~~~~ asclock.h:48:14: warning: array ‘second_xpm’ assumed to have one element 48 | static char *second_xpm[]; | ^~~~~~~~~~ asclock.h:49:14: warning: array ‘beats_xpm’ assumed to have one element 49 | static char *beats_xpm[]; | ^~~~~~~~~ parser.c: In function ‘read_init’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:20:3: note: in expansion of macro ‘GETNEXT’ 20 | GETNEXT; | ^~~~~~~ parser.c: In function ‘read_type’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:32:7: note: in expansion of macro ‘GETNEXT’ 32 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:36:4: note: in expansion of macro ‘GETNEXT’ 36 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:38:11: note: in expansion of macro ‘GETNEXT’ 38 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:43:4: note: in expansion of macro ‘GETNEXT’ 43 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:44:21: note: in expansion of macro ‘GETNEXT’ 44 | if(next=='\n') { GETNEXT; break; } | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:49:7: note: in expansion of macro ‘GETNEXT’ 49 | GETNEXT; | ^~~~~~~ parser.c: In function ‘read_token’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:60:5: note: in expansion of macro ‘GETNEXT’ 60 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:65:7: note: in expansion of macro ‘GETNEXT’ 65 | GETNEXT; | ^~~~~~~ parser.c: In function ‘read_assign’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:79:5: note: in expansion of macro ‘GETNEXT’ 79 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:81:3: note: in expansion of macro ‘GETNEXT’ 81 | GETNEXT; | ^~~~~~~ parser.c: In function ‘read_int’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:92:5: note: in expansion of macro ‘GETNEXT’ 92 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:97:5: note: in expansion of macro ‘GETNEXT’ 97 | GETNEXT; | ^~~~~~~ parser.c: In function ‘read_semicolon’: parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:113:5: note: in expansion of macro ‘GETNEXT’ 113 | GETNEXT; | ^~~~~~~ parser.c:3:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 3 | #define GETNEXT fread(&next, 1, sizeof(char), file); if(feof(file)) return FALSE | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:115:3: note: in expansion of macro ‘GETNEXT’ 115 | GETNEXT; | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from asclock.h:3, from symbols.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from symbols.c:1: asclock.h:41:14: warning: array ‘clock_xpm’ assumed to have one element 41 | static char *clock_xpm[]; | ^~~~~~~~~ asclock.h:42:14: warning: array ‘month_xpm’ assumed to have one element 42 | static char *month_xpm[]; | ^~~~~~~~~ asclock.h:43:14: warning: array ‘weekday_xpm’ assumed to have one element 43 | static char *weekday_xpm[]; | ^~~~~~~~~~~ asclock.h:44:14: warning: array ‘led_xpm’ assumed to have one element 44 | static char *led_xpm[]; | ^~~~~~~ asclock.h:45:14: warning: array ‘date_xpm’ assumed to have one element 45 | static char *date_xpm[]; | ^~~~~~~~ asclock.h:46:14: warning: array ‘hour_xpm’ assumed to have one element 46 | static char *hour_xpm[]; | ^~~~~~~~ asclock.h:47:14: warning: array ‘minute_xpm’ assumed to have one element 47 | static char *minute_xpm[]; | ^~~~~~~~~~ asclock.h:48:14: warning: array ‘second_xpm’ assumed to have one element 48 | static char *second_xpm[]; | ^~~~~~~~~~ asclock.h:49:14: warning: array ‘beats_xpm’ assumed to have one element 49 | static char *beats_xpm[]; | ^~~~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from asclock.h:3, from config.c:1: /usr/include/features.h:185:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from config.c:1: asclock.h:41:14: warning: array ‘clock_xpm’ assumed to have one element 41 | static char *clock_xpm[]; | ^~~~~~~~~ asclock.h:42:14: warning: array ‘month_xpm’ assumed to have one element 42 | static char *month_xpm[]; | ^~~~~~~~~ asclock.h:43:14: warning: array ‘weekday_xpm’ assumed to have one element 43 | static char *weekday_xpm[]; | ^~~~~~~~~~~ asclock.h:44:14: warning: array ‘led_xpm’ assumed to have one element 44 | static char *led_xpm[]; | ^~~~~~~ asclock.h:45:14: warning: array ‘date_xpm’ assumed to have one element 45 | static char *date_xpm[]; | ^~~~~~~~ asclock.h:46:14: warning: array ‘hour_xpm’ assumed to have one element 46 | static char *hour_xpm[]; | ^~~~~~~~ asclock.h:47:14: warning: array ‘minute_xpm’ assumed to have one element 47 | static char *minute_xpm[]; | ^~~~~~~~~~ asclock.h:48:14: warning: array ‘second_xpm’ assumed to have one element 48 | static char *second_xpm[]; | ^~~~~~~~~~ asclock.h:49:14: warning: array ‘beats_xpm’ assumed to have one element 49 | static char *beats_xpm[]; | ^~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: symbols.o:(.bss+0xf8): multiple definition of `itdocks'; asclock.o:(.bss+0x1c10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc collect2: error: ld returned 1 exit status * ERROR: x11-plugins/asclock-2.0.12-r3::gentoo failed (compile phase): * link asclock failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1974: Called die * The specific snippet of code: * $(tc-getCC) ${LDFLAGS} -o asclock asclock.o parser.o symbols.o config.o -L"${EPREFIX}"/usr/lib -L"${EPREFIX}"/usr/lib/X11 -lXpm -lXext -lX11 || die "link asclock failed" * * If you need support, post the output of `emerge --info '=x11-plugins/asclock-2.0.12-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-plugins/asclock-2.0.12-r3::gentoo'`. * The complete build log is located at '/var/log/portage/x11-plugins:asclock-2.0.12-r3:20200203-032732.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/asclock-2.0.12-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/asclock-2.0.12-r3/temp/environment'. * Working directory: '/var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work/asclock-2.0.12' * S: '/var/tmp/portage/x11-plugins/asclock-2.0.12-r3/work/asclock-2.0.12'