Created attachment 910336 [details] zip-3.0-r7 build log -DUNICODE_SUPPORT -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c ttyio.c: In function ‘getp’: ttyio.c:628:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 628 | read(f, &c, 1); | ^~~~~~~~~~~~~~ In file included from zipup.c:109: zipup.c: In function ‘file_read’: unix/zipup.h:21:22: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 21 | #define zread(f,b,n) read(f,b,n) | ^~~~~~~~~~~ zipup.c:1264:10: note: in expansion of macro ‘zread’ 1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */ | ^~~~~ fileio.c: In function ‘ask_for_split_read_path’: fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2120 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2143 | fgets(buf, SPLIT_MAXPATH, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -DUNIX -O2 -pipe -std=gnu89 -DLARGE_FILE_SUPPORT -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DCRYPT -DUNICODE_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c fileio.c: In function ‘ask_for_split_write_path’: fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2324 | fgets(buf, FNMAX, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I. -DUNIX -O2 -pipe -std=gnu89 -DLARGE_FILE_SUPPORT -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DCRYPT -DUNICODE_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c unix/unix.c:70:14: error: conflicting types for ‘DIR’; have ‘FILE’ 70 | typedef FILE DIR; | ^~~ In file included from unix/unix.c:29: /usr/include/dirent.h:127:28: note: previous declaration of ‘DIR’ with type ‘DIR’ 127 | typedef struct __dirstream DIR; | ^~~ unix/unix.c: In function ‘readdir’: unix/unix.c:79:6: error: argument ‘dirp’ doesn’t match prototype 79 | DIR *dirp; | ^~~~ In file included from /usr/include/features.h:511, from /usr/include/sys/types.h:25, from ./unix/osdep.h:30, from ./tailor.h:93, from ./zip.h:88, from unix/unix.c:11: /usr/include/dirent.h:167:23: error: prototype declaration 167 | extern struct dirent *__REDIRECT (readdir, (DIR *__dirp), readdir64) | ^~~~~~~~~~ unix/unix.c: In function ‘readd’: unix/unix.c:103:15: warning: passing argument 1 of ‘readdir’ from incompatible pointer type [-Wincompatible-pointer-types] 103 | e = readdir(d); | ^ | | | DIR * {aka FILE *} unix/unix.c:79:6: note: expected ‘DIR *’ but argument is of type ‘DIR *’ {aka ‘FILE *’} 79 | DIR *dirp; | ^~~~ unix/unix.c: In function ‘procname’: unix/unix.c:181:25: warning: passing argument 1 of ‘readd’ from incompatible pointer type [-Wincompatible-pointer-types] 181 | while ((e = readd(d)) != NULL) { | ^ | | | DIR * {aka FILE *} unix/unix.c:97:6: note: expected ‘DIR *’ but argument is of type ‘DIR *’ {aka ‘FILE *’} 97 | DIR *d; /* directory stream to read from */ | ^ make[1]: *** [unix/Makefile:117: unix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-arch/zip-3.0-r7/work/zip30' make: *** [unix/Makefile:202: generic] Error 2 * ERROR: app-arch/zip-3.0-r7::gentoo failed (compile phase): * emake failed
Created attachment 910337 [details] OldManSeph emerge --info
*** This bug has been marked as a duplicate of bug 943727 ***