* Package: net-news/snownews-1.6.10 * Repository: gentoo * Maintainer: gentoo@culot.org proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking snownews-1.6.10.tar.gz to /var/tmp/portage/net-news/snownews-1.6.10/work >>> Source unpacked in /var/tmp/portage/net-news/snownews-1.6.10/work >>> Preparing source in /var/tmp/portage/net-news/snownews-1.6.10/work/snownews-1.6.10 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-news/snownews-1.6.10/work/snownews-1.6.10 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-news/snownews-1.6.10/work/snownews-1.6.10 ... make -j1 CC=x86_64-gentoo-linux-musl-gcc 'EXTRA_CFLAGS=-O2 -pipe -march=native' 'EXTRA_LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' Compiling about.c ... Compiling categories.c ... categories.c: In function ‘CategoryListItemExists’: categories.c:24:7: warning: implicit declaration of function ‘strcasecmp’; did you mean ‘strncmp’? [-Wimplicit-function-declaration] 24 | if (strcasecmp (category->name, categoryname) == 0) | ^~~~~~~~~~ | strncmp categories.c: In function ‘CategoryListAddItem’: categories.c:39:20: warning: implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Wimplicit-function-declaration] 39 | category->name = strdup (categoryname); | ^~~~~~ | strcmp categories.c:39:18: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 39 | category->name = strdup (categoryname); | ^ categories.c: In function ‘FeedCategoryAdd’: categories.c:103:17: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 103 | category->name = strdup (categoryname); | ^ categories.c: In function ‘FeedCategoryDelete’: categories.c:138:18: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 138 | char* tmpname = strdup (categoryname); | ^~~~~~ Compiling conversions.c ... Compiling cookies.c ... cookies.c: In function ‘CookieCutter’: cookies.c:32:14: warning: implicit declaration of function ‘strdup’; did you mean ‘strcmp’? [-Wimplicit-function-declaration] 32 | char* url = strdup (cur_ptr->feedurl); | ^~~~~~ | strcmp cookies.c:32:14: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] cookies.c:35:2: warning: implicit declaration of function ‘strsep’; did you mean ‘strlen’? [-Wimplicit-function-declaration] 35 | strsep (&url, "/"); | ^~~~~~ | strlen cookies.c:48:15: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 48 | char* host = strdup (tmphost); // Current feed hostname. | ^~~~~~ cookies.c:54:15: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 54 | char* path = strdup (url); // Current feed path. | ^~~~~~ cookies.c:72:18: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 72 | char* cookie = strdup (buf); | ^~~~~~ cookies.c:87:25: warning: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 87 | const char* tmpstr = strsep (&cookie, "\t"); | ^~~~~~ cookies.c:93:17: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 93 | cookiehost = strdup (tmpstr); | ^ cookies.c:100:17: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 100 | cookiepath = strdup (tmpstr); | ^ cookies.c:104:10: warning: implicit declaration of function ‘strcasecmp’; did you mean ‘strncmp’? [-Wimplicit-function-declaration] 104 | if (strcasecmp (tmpstr, "TRUE") == 0) | ^~~~~~~~~~ | strncmp cookies.c:113:17: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 113 | cookiename = strdup (tmpstr); | ^ cookies.c:117:18: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 117 | cookievalue = strdup (tmpstr); | ^ cookies.c:151:20: error: ‘PATH_MAX’ undeclared (first use in this function) 151 | char expirebuf [PATH_MAX]; | ^~~~~~~~ cookies.c:151:20: note: each undeclared identifier is reported only once for each function it appears in cookies.c:151:9: warning: unused variable ‘expirebuf’ [-Wunused-variable] 151 | char expirebuf [PATH_MAX]; | ^~~~~~~~~ cookies.c: In function ‘LoadCookies’: cookies.c:176:13: error: ‘PATH_MAX’ undeclared (first use in this function) 176 | char file [PATH_MAX]; // File locations. | ^~~~~~~~ cookies.c:176:7: warning: unused variable ‘file’ [-Wunused-variable] 176 | char file [PATH_MAX]; // File locations. | ^~~~ make: *** [Makefile:30: .o/cookies.o] Error 1 * ERROR: net-news/snownews-1.6.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-news/snownews-1.6.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-news/snownews-1.6.10::gentoo'`. * The complete build log is located at '/var/log/portage/net-news:snownews-1.6.10:20200408-173511.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-news/snownews-1.6.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-news/snownews-1.6.10/temp/environment'. * Working directory: '/var/tmp/portage/net-news/snownews-1.6.10/work/snownews-1.6.10' * S: '/var/tmp/portage/net-news/snownews-1.6.10/work/snownews-1.6.10'