[21:33:53 12/21/04][root@pts/0 - ~] # emerge -v di Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/di-3.9 to / >>> md5 src_uri ;-) di-3.9.tar.gz >>> Unpacking source... >>> Unpacking di-3.9.tar.gz to /var/tmp/portage/di-3.9/work >>> Source unpacked. /bin/zsh ./bin/iffe -c "gcc -Wall -Waggregate-return -Wconversion -Wformat -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wtraditional -Wunused -O2 -march=athlon-xp -pipe " -u -v -o config.h \ run features/di.iffe iffe: cc : not a C compiler: should compile 'int i = 1;' /bin/zsh ./bin/iffe -c "gcc -Wall -Waggregate-return -Wconversion -Wformat -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wtraditional -Wunused -O2 -march=athlon-xp -pipe " -u -v -o config.h \ run features/di.iffe iffe: cc : not a C compiler: should compile 'int i = 1;' gcc -c -Wall -Waggregate-return -Wconversion -Wformat -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wtraditional -Wunused -O2 -march=athlon-xp -pipe -DPROG=\"di\" -DMPROG=\"mi\" -DDI_LOCALE_DIR=\"/var/tmp/portage/di-3.9/image//lib/di/locale\" di.c di.c:193:20: config.h: No such file or directory In file included from di.c:194: di.h:12:20: config.h: No such file or directory In file included from di.c:194: di.h:368: error: syntax error before "No" di.h:410: error: syntax error before "_fs_size_t" di.h:410: warning: no semicolon at end of struct or union di.h:411: warning: type defaults to `int' in declaration of `freeBlocks' di.h:411: warning: data definition has no type or storage class di.h:412: error: syntax error before "availBlocks" di.h:412: warning: type defaults to `int' in declaration of `availBlocks' di.h:412: warning: data definition has no type or storage class di.h:413: error: syntax error before "blockSize" di.h:413: warning: type defaults to `int' in declaration of `blockSize' di.h:413: warning: data definition has no type or storage class di.h:414: error: syntax error before "totalInodes" di.h:414: warning: type defaults to `int' in declaration of `totalInodes' di.h:414: warning: data definition has no type or storage class di.h:415: error: syntax error before "freeInodes" di.h:415: warning: type defaults to `int' in declaration of `freeInodes' di.h:415: warning: data definition has no type or storage class di.h:416: error: syntax error before "availInodes" di.h:416: warning: type defaults to `int' in declaration of `availInodes' di.h:416: warning: data definition has no type or storage class di.h:431: error: syntax error before '}' token di.h:431: warning: type defaults to `int' in declaration of `di_DiskInfo' di.h:431: warning: data definition has no type or storage class di.h:433: error: syntax error before "_" di.h:434: error: syntax error before "_" di.h:435: error: syntax error before "_" di.h:436: error: syntax error before "_" di.h:441: error: syntax error before "_" di.c:349: error: syntax error before "_" di.c:422: error: syntax error before "_" di.c:423: error: syntax error before "_" di.c:424: error: syntax error before "_" di.c:425: error: syntax error before "_" di.c:426: error: syntax error before "_" di.c:427: error: syntax error before "_" di.c:428: error: syntax error before "_" di.c:429: error: syntax error before "_" di.c:430: error: syntax error before "_" di.c:431: error: syntax error before "_" di.c:432: error: syntax error before "_" di.c:433: error: syntax error before "_" di.c:434: error: syntax error before "_" di.c:435: error: syntax error before "_" di.c:436: error: syntax error before "_" di.c:437: error: syntax error before "_" di.c:438: error: syntax error before "_" di.c:439: error: syntax error before "_" di.c:440: error: syntax error before "_" di.c:441: error: syntax error before "_" di.c:442: error: syntax error before "_" di.c:444: error: syntax error before "_" di.c:452: warning: function declaration isn't a prototype di.c: In function `main': di.c:456: error: `diskInfo' undeclared (first use in this function) di.c:456: error: (Each undeclared identifier is reported only once di.c:456: error: for each function it appears in.) di.c:456: error: syntax error before '{' token di.c: At top level: di.c:464: warning: type defaults to `int' in declaration of `dbsstr' di.c:464: error: conflicting types for `dbsstr' di.c:462: error: previous declaration of `dbsstr' di.c:464: warning: data definition has no type or storage class di.c:465: error: syntax error before '.' token di.c:478: warning: type defaults to `int' in declaration of `baseDispSize' di.c:478: error: conflicting types for `baseDispSize' di.c:392: error: previous declaration of `baseDispSize' di.c:478: warning: data definition has no type or storage class di.c:480: warning: type defaults to `int' in declaration of `ptr' di.c:480: error: conflicting types for `ptr' di.c:461: error: previous declaration of `ptr' di.c:480: error: `argv' undeclared here (not in a function) di.c:480: warning: implicit declaration of function `strlen' di.c:480: error: `argv' undeclared here (not in a function) di.c:480: warning: data definition has no type or storage class di.c:481: error: syntax error before "if" di.c:511: error: syntax error before '&' token di.c:511: warning: type defaults to `int' in declaration of `processArgs' di.c:511: warning: function declaration isn't a prototype di.c:511: warning: data definition has no type or storage class di.c:514: error: syntax error before '.' token di.c:519: error: syntax error before '[' token di.c:524: warning: type defaults to `int' in declaration of `setDispBlockSize' di.c:524: warning: parameter names (without types) in function declaration di.c:524: warning: data definition has no type or storage class di.c:527: error: syntax error before '.' token di.c:528: error: syntax error before '.' token di.c:529: error: syntax error before '.' token di.c:530: error: syntax error before '.' token di.c:534: error: syntax error before '.' token di.c:535: error: syntax error before '.' token di.c:548: error: syntax error before string constant di.c:548: warning: type defaults to `int' in declaration of `printf' di.c:548: warning: function declaration isn't a prototype di.c:548: warning: conflicting types for built-in function `printf' di.c:548: warning: data definition has no type or storage class di.c:549: error: syntax error before string constant di.c:549: warning: type defaults to `int' in declaration of `printf' di.c:549: warning: function declaration isn't a prototype di.c:549: warning: data definition has no type or storage class di.c:550: error: syntax error before string constant di.c:550: warning: type defaults to `int' in declaration of `printf' di.c:550: warning: function declaration isn't a prototype di.c:550: warning: data definition has no type or storage class di.c:553: error: syntax error before string constant di.c:553: warning: type defaults to `int' in declaration of `printf' di.c:553: warning: function declaration isn't a prototype di.c:553: warning: data definition has no type or storage class di.c:557: error: syntax error before string constant di.c:557: warning: type defaults to `int' in declaration of `printf' di.c:557: warning: function declaration isn't a prototype di.c:557: warning: data definition has no type or storage class di.c:558: error: syntax error before string constant di.c:558: warning: type defaults to `int' in declaration of `printf' di.c:558: warning: function declaration isn't a prototype di.c:558: warning: data definition has no type or storage class di.c:559: error: syntax error before string constant di.c:559: warning: type defaults to `int' in declaration of `printf' di.c:559: warning: function declaration isn't a prototype di.c:559: warning: data definition has no type or storage class di.c:560: error: syntax error before string constant di.c:560: warning: type defaults to `int' in declaration of `printf' di.c:560: warning: function declaration isn't a prototype di.c:560: warning: data definition has no type or storage class di.c:561: error: syntax error before string constant di.c:561: warning: type defaults to `int' in declaration of `printf' di.c:561: warning: function declaration isn't a prototype di.c:561: warning: data definition has no type or storage class di.c:568: error: syntax error before numeric constant di.c:568: warning: type defaults to `int' in declaration of `exit' di.c:568: warning: function declaration isn't a prototype di.c:568: warning: data definition has no type or storage class di.c:571: error: syntax error before '&' token di.c:571: warning: type defaults to `int' in declaration of `preCheckDiskInfo' di.c:571: warning: function declaration isn't a prototype di.c:571: warning: data definition has no type or storage class di.c:575: warning: type defaults to `int' in declaration of `checkFileInfo' di.c:575: warning: parameter names (without types) in function declaration di.c:575: warning: data definition has no type or storage class di.c:576: error: syntax error before '}' token di.c:577: error: syntax error before '&' token di.c:577: warning: type defaults to `int' in declaration of `di_getDiskInfo' di.c:577: warning: function declaration isn't a prototype di.c:577: warning: data definition has no type or storage class di.c:578: warning: type defaults to `int' in declaration of `getDiskSpecialInfo' di.c:578: warning: parameter names (without types) in function declaration di.c:578: warning: data definition has no type or storage class di.c:579: error: syntax error before '&' token di.c:579: warning: type defaults to `int' in declaration of `checkDiskInfo' di.c:579: warning: function declaration isn't a prototype di.c:579: warning: data definition has no type or storage class di.c:580: warning: type defaults to `int' in declaration of `printDiskInfo' di.c:580: warning: parameter names (without types) in function declaration di.c:580: warning: data definition has no type or storage class di.c:582: error: syntax error before '&' token di.c:582: warning: type defaults to `int' in declaration of `cleanup' di.c:582: warning: function declaration isn't a prototype di.c:582: warning: data definition has no type or storage class di.c:583: error: syntax error before numeric constant di.c:583: warning: type defaults to `int' in declaration of `exit' di.c:583: warning: function declaration isn't a prototype di.c:583: warning: data definition has no type or storage class di.c:598: error: syntax error before "di_DiskInfo" di.c:598: warning: type defaults to `int' in declaration of `diskInfo' di.c:598: error: `diskInfo' used prior to declaration di.c:598: warning: data definition has no type or storage class di.c:599: error: conflicting types for `ignoreList' di.c:459: error: previous declaration of `ignoreList' di.c:600: error: conflicting types for `includeList' di.c:460: error: previous declaration of `includeList' di.c:602: error: syntax error before '{' token di.c:634: error: syntax error before "di_DiskInfo" di.c:634: warning: type defaults to `int' in declaration of `diskInfo' di.c:634: warning: data definition has no type or storage class di.c:637: error: syntax error before '{' token di.c:639: warning: type defaults to `int' in declaration of `totals' di.c:639: warning: data definition has no type or storage class di.c:642: error: syntax error before '(' token di.c:644: error: syntax error before '.' token di.c:644: warning: type defaults to `int' in declaration of `strncpy' di.c:644: warning: function declaration isn't a prototype di.c:701: error: syntax error before "di_DiskInfo" di.c:701: warning: type defaults to `int' in declaration of `diskInfo' di.c:701: warning: data definition has no type or storage class di.c:703: error: syntax error before '{' token di.c:705: warning: type defaults to `int' in declaration of `totAvail' di.c:705: warning: data definition has no type or storage class di.c:706: error: conflicting types for `ptr' di.c:480: error: previous declaration of `ptr' di.c:712: warning: type defaults to `int' in declaration of `idx' di.c:712: warning: data definition has no type or storage class di.c:713: warning: type defaults to `int' in declaration of `temp' di.c:713: error: conflicting types for `temp' di.c:708: error: previous declaration of `temp' di.c:713: warning: data definition has no type or storage class di.c:714: error: syntax error before "if" di.c:718: warning: type defaults to `int' in declaration of `ptr' di.c:718: error: conflicting types for `ptr' di.c:706: error: previous declaration of `ptr' di.c:718: warning: data definition has no type or storage class di.c:719: error: syntax error before "while" di.c:728: warning: type defaults to `int' in declaration of `valid' di.c:728: warning: data definition has no type or storage class di.c:729: error: syntax error before "break" di.c:736: warning: type defaults to `int' in declaration of `valid' di.c:736: error: redefinition of `valid' di.c:728: error: `valid' previously defined here di.c:736: warning: data definition has no type or storage class di.c:737: error: syntax error before "break" di.c:743: warning: type defaults to `int' in declaration of `valid' di.c:743: error: redefinition of `valid' di.c:736: error: `valid' previously defined here di.c:743: warning: data definition has no type or storage class di.c:744: error: syntax error before "break" di.c:750: warning: type defaults to `int' in declaration of `valid' di.c:750: error: redefinition of `valid' di.c:743: error: `valid' previously defined here di.c:750: warning: data definition has no type or storage class di.c:751: error: syntax error before "break" di.c:757: warning: type defaults to `int' in declaration of `valid' di.c:757: error: redefinition of `valid' di.c:750: error: `valid' previously defined here di.c:757: warning: data definition has no type or storage class di.c:758: error: syntax error before "break" di.c:764: warning: type defaults to `int' in declaration of `valid' di.c:764: error: redefinition of `valid' di.c:757: error: `valid' previously defined here di.c:764: warning: data definition has no type or storage class di.c:765: error: syntax error before "break" di.c:772: warning: type defaults to `int' in declaration of `tidx' di.c:772: warning: implicit declaration of function `findDispSize' di.c:772: error: initializer element is not constant di.c:772: warning: data definition has no type or storage class di.c:774: error: syntax error before "if" di.c:783: warning: type defaults to `int' in declaration of `ptr' di.c:783: warning: initialization makes integer from pointer without a cast di.c:783: error: initializer element is not constant di.c:783: warning: data definition has no type or storage class di.c:784: error: syntax error before "while" di.c:845: warning: type defaults to `int' in declaration of `totAvail' di.c:845: error: request for member `totalBlocks' in something not a structure or union di.c:845: warning: data definition has no type or storage class di.c:846: error: syntax error before string constant di.c:846: warning: type defaults to `int' in declaration of `printPerc' di.c:846: warning: function declaration isn't a prototype di.c:846: warning: data definition has no type or storage class di.c:853: warning: type defaults to `int' in declaration of `totAvail' di.c:853: error: redefinition of `totAvail' di.c:845: error: `totAvail' previously defined here di.c:853: error: request for member `totalBlocks' in something not a structure or union di.c:853: warning: data definition has no type or storage class di.c:854: error: syntax error before string constant di.c:854: warning: type defaults to `int' in declaration of `printPerc' di.c:854: warning: function declaration isn't a prototype di.c:854: warning: data definition has no type or storage class di.c:861: warning: type defaults to `int' in declaration of `totAvail' di.c:861: error: redefinition of `totAvail' di.c:853: error: `totAvail' previously defined here di.c:861: error: request for member `totalBlocks' in something not a structure or union di.c:862: error: request for member `freeBlocks' in something not a structure or union di.c:862: error: request for member `availBlocks' in something not a structure or union di.c:862: warning: data definition has no type or storage class di.c:863: error: syntax error before string constant di.c:863: warning: type defaults to `int' in declaration of `printPerc' di.c:863: warning: function declaration isn't a prototype di.c:863: warning: data definition has no type or storage class di.c:888: warning: type defaults to `int' in declaration of `totAvail' di.c:888: error: redefinition of `totAvail' di.c:861: error: `totAvail' previously defined here di.c:888: error: request for member `totalInodes' in something not a structure or union di.c:888: warning: data definition has no type or storage class di.c:889: error: syntax error before string constant di.c:889: warning: type defaults to `int' in declaration of `printPerc' di.c:889: warning: function declaration isn't a prototype di.c:889: warning: data definition has no type or storage class di.c:934: warning: type defaults to `int' in declaration of `valid' di.c:934: error: redefinition of `valid' di.c:764: error: `valid' previously defined here di.c:934: warning: data definition has no type or storage class di.c:935: error: syntax error before "break" di.c:946: error: syntax error before string constant di.c:946: warning: type defaults to `int' in declaration of `printf' di.c:946: warning: function declaration isn't a prototype di.c:946: warning: data definition has no type or storage class di.c:954: error: syntax error before "_fs_size_t" di.c:954: warning: type defaults to `int' in declaration of `blocks' di.c:954: warning: data definition has no type or storage class di.c:955: error: syntax error before "blockSize" di.c:955: warning: type defaults to `int' in declaration of `blockSize' di.c:955: warning: data definition has no type or storage class di.c:958: error: syntax error before '{' token di.c:961: error: conflicting types for `temp' di.c:713: error: previous declaration of `temp' di.c:966: warning: type defaults to `int' in declaration of `suffix' di.c:966: error: conflicting types for `suffix' di.c:962: error: previous declaration of `suffix' di.c:966: warning: data definition has no type or storage class di.c:967: warning: type defaults to `int' in declaration of `format' di.c:967: error: conflicting types for `format' di.c:963: error: previous declaration of `format' di.c:967: warning: data definition has no type or storage class di.c:968: warning: type defaults to `int' in declaration of `tdbs' di.c:968: error: initializer element is not constant di.c:968: warning: data definition has no type or storage class di.c:970: error: syntax error before "if" di.c:973: warning: type defaults to `int' in declaration of `idx' di.c:973: error: redefinition of `idx' di.c:712: error: `idx' previously defined here di.c:973: error: initializer element is not constant di.c:973: warning: data definition has no type or storage class di.c:974: error: syntax error before '}' token di.c:986: warning: type defaults to `int' in declaration of `format' di.c:986: warning: initialization makes integer from pointer without a cast di.c:986: error: initializer element is not constant di.c:986: warning: data definition has no type or storage class di.c:987: warning: type defaults to `int' in declaration of `suffix' di.c:987: warning: initialization makes integer from pointer without a cast di.c:987: error: initializer element is not constant di.c:987: warning: data definition has no type or storage class di.c:988: error: syntax error before '}' token di.c:991: warning: type defaults to `int' in declaration of `mult' di.c:991: error: conflicting types for `mult' di.c:960: error: previous declaration of `mult' di.c:991: warning: data definition has no type or storage class di.c:992: error: syntax error before '(' token di.c:992: warning: type defaults to `int' in declaration of `mult' di.c:992: error: conflicting types for `mult' di.c:991: error: previous declaration of `mult' di.c:992: warning: type defaults to `int' in declaration of `suffix' di.c:992: error: syntax error before ')' token di.c:1001: warning: function declaration isn't a prototype di.c:1001: warning: `findDispSize' was declared implicitly `extern' and later `static' di.c:772: warning: previous declaration of `findDispSize' di.c:1001: warning: static declaration for `findDispSize' follows non-static di.c: In function `findDispSize': di.c:1004: warning: declaration of `i' shadows a global declaration di.c:457: warning: shadowed declaration is here di.c: At top level: di.c:1029: error: syntax error before "di_DiskInfo" di.c:1029: warning: type defaults to `int' in declaration of `diskInfo' di.c:1029: warning: data definition has no type or storage class di.c:1030: error: syntax error before '*' token di.c:1030: warning: type defaults to `int' in declaration of `totals' di.c:1030: error: conflicting types for `totals' di.c:639: error: previous declaration of `totals' di.c:1030: warning: data definition has no type or storage class di.c:1032: error: syntax error before '{' token di.c:1035: warning: type defaults to `int' in declaration of `mult' di.c:1035: error: conflicting types for `mult' di.c:992: error: previous declaration of `mult' di.c:1035: error: request for member `blockSize' in something not a structure or union di.c:1035: error: request for member `blockSize' in something not a structure or union di.c:1035: warning: data definition has no type or storage class di.c:1037: error: syntax error before "if" di.c:1067: warning: function declaration isn't a prototype di.c: In function `printTitle': di.c:1068: warning: declaration of `ptr' shadows a global declaration di.c:783: warning: shadowed declaration is here di.c:1069: warning: declaration of `valid' shadows a global declaration di.c:934: warning: shadowed declaration is here di.c: At top level: di.c:1223: error: syntax error before "_fs_size_t" di.c:1223: warning: type defaults to `int' in declaration of `used' di.c:1223: warning: data definition has no type or storage class di.c:1224: error: syntax error before "totAvail" di.c:1224: warning: type defaults to `int' in declaration of `totAvail' di.c:1224: warning: data definition has no type or storage class di.c:1225: error: conflicting types for `format' di.c:986: error: previous declaration of `format' di.c:1227: error: syntax error before '{' token di.c:1240: warning: type defaults to `int' in declaration of `printf' di.c:1240: warning: parameter names (without types) in function declaration di.c:1240: warning: data definition has no type or storage class di.c:1241: error: syntax error before '}' token di.c:1250: error: syntax error before "di_DiskInfo" di.c:1250: warning: type defaults to `int' in declaration of `diskInfo' di.c:1250: warning: data definition has no type or storage class di.c:1256: error: syntax error before '{' token di.c:1262: error: syntax error before "for" di.c:1285: error: syntax error before string constant di.c:1285: warning: type defaults to `int' in declaration of `perror' di.c:1285: warning: function declaration isn't a prototype di.c:1285: error: conflicting types for `perror' /usr/include/stdio.h:740: error: previous declaration of `perror' di.c:1285: warning: data definition has no type or storage class di.c:1302: warning: function declaration isn't a prototype di.c: In function `sortArray': di.c:1303: error: syntax error before "Size_t" di.c:1305: error: syntax error before "DI_SORT_FUNC" di.c:1308: warning: declaration of `j' shadows a global declaration di.c:1258: warning: shadowed declaration is here di.c:1310: warning: declaration of `i' shadows a global declaration di.c:457: warning: shadowed declaration is here di.c:1319: warning: implicit declaration of function `malloc' di.c:1336: warning: implicit declaration of function `memcpy' di.c:1337: warning: passing arg 3 of `memcpy' as unsigned due to prototype di.c:1341: error: called object is not a function di.c:1344: warning: passing arg 3 of `memcpy' as unsigned due to prototype di.c:1352: warning: passing arg 3 of `memcpy' as unsigned due to prototype di.c:1357: warning: implicit declaration of function `free' di.c: At top level: di.c:1366: warning: function declaration isn't a prototype di.c: In function `diCompare': di.c:1370: error: `di1' undeclared (first use in this function) di.c:1371: error: `di2' undeclared (first use in this function) di.c:1375: error: syntax error before ')' token di.c:1376: error: syntax error before ')' token di.c:1388: warning: implicit declaration of function `strcmp' di.c: At top level: di.c:1423: error: syntax error before "di_DiskInfo" di.c:1423: warning: type defaults to `int' in declaration of `diskInfo' di.c:1423: warning: data definition has no type or storage class di.c:1426: error: syntax error before '{' token di.c:1430: error: syntax error before "for" di.c:1446: error: syntax error before string constant di.c:1446: warning: type defaults to `int' in declaration of `perror' di.c:1446: warning: function declaration isn't a prototype di.c:1446: warning: data definition has no type or storage class di.c:1463: error: syntax error before "di_DiskInfo" di.c:1463: warning: type defaults to `int' in declaration of `diskInfo' di.c:1463: warning: data definition has no type or storage class di.c:1466: error: syntax error before '{' token di.c:1470: error: syntax error before "for" di.c:1477: error: syntax error before '.' token di.c:1488: error: syntax error before '.' token di.c:1505: error: syntax error before "di_DiskInfo" di.c:1505: warning: type defaults to `int' in declaration of `diskInfo' di.c:1505: warning: data definition has no type or storage class di.c:1509: error: syntax error before '{' token di.c:1519: error: syntax error before "temp" di.c:1519: warning: type defaults to `int' in declaration of `temp' di.c:1519: error: conflicting types for `temp' di.c:961: error: previous declaration of `temp' di.c:1519: warning: data definition has no type or storage class di.c:1524: warning: type defaults to `int' in declaration of `maxMountString' di.c:1524: error: initializer element is not constant di.c:1524: warning: data definition has no type or storage class di.c:1525: warning: type defaults to `int' in declaration of `maxSpecialString' di.c:1525: error: initializer element is not constant di.c:1525: warning: data definition has no type or storage class di.c:1526: warning: type defaults to `int' in declaration of `maxTypeString' di.c:1526: error: initializer element is not constant di.c:1526: warning: data definition has no type or storage class di.c:1527: warning: type defaults to `int' in declaration of `maxOptString' di.c:1527: error: initializer element is not constant di.c:1527: warning: data definition has no type or storage class di.c:1528: warning: type defaults to `int' in declaration of `maxMntTimeString' di.c:1528: error: initializer element is not constant di.c:1528: warning: data definition has no type or storage class di.c:1530: error: syntax error before "for" di.c:1563: warning: type defaults to `int' in declaration of `temp' di.c:1563: error: `_fs_size_t' undeclared here (not in a function) di.c:1563: error: syntax error before '~' token di.c:1567: error: syntax error before '.' token di.c:1568: error: syntax error before '.' token di.c:1596: error: syntax error before '&' token di.c:1596: warning: type defaults to `int' in declaration of `checkIncludeList' di.c:1596: warning: function declaration isn't a prototype di.c:1596: warning: data definition has no type or storage class di.c:1610: warning: type defaults to `int' in declaration of `sp_rdev' di.c:1610: error: conflicting types for `sp_rdev' di.c:1521: error: previous declaration of `sp_rdev' di.c:1610: error: request for member `sp_rdev' in something not a structure or union di.c:1610: warning: data definition has no type or storage class di.c:1611: warning: type defaults to `int' in declaration of `dupCount' di.c:1611: warning: data definition has no type or storage class di.c:1613: error: syntax error before "for" di.c:1637: error: syntax error before string constant di.c:1638: warning: type defaults to `int' in declaration of `printf' di.c:1638: warning: function declaration isn't a prototype di.c:1638: warning: data definition has no type or storage class di.c:1665: warning: type defaults to `int' in declaration of `len' di.c:1665: error: request for member `special' in something not a structure or union di.c:1665: error: initializer element is not constant di.c:1665: warning: data definition has no type or storage class di.c:1666: error: syntax error before "if" di.c:1671: warning: type defaults to `int' in declaration of `len' di.c:1671: error: redefinition of `len' di.c:1665: error: `len' previously defined here di.c:1671: error: request for member `fsType' in something not a structure or union di.c:1671: error: initializer element is not constant di.c:1671: warning: data definition has no type or storage class di.c:1672: error: syntax error before "if" di.c:1677: warning: type defaults to `int' in declaration of `len' di.c:1677: error: redefinition of `len' di.c:1671: error: `len' previously defined here di.c:1677: error: request for member `options' in something not a structure or union di.c:1677: error: initializer element is not constant di.c:1677: warning: data definition has no type or storage class di.c:1678: error: syntax error before "if" di.c:1683: warning: type defaults to `int' in declaration of `len' di.c:1683: error: redefinition of `len' di.c:1677: error: `len' previously defined here di.c:1683: error: request for member `mountTime' in something not a structure or union di.c:1683: error: initializer element is not constant di.c:1683: warning: data definition has no type or storage class di.c:1684: error: syntax error before "if" di.c:1691: error: syntax error before '(' token di.c:1691: warning: type defaults to `int' in declaration of `Snprintf' di.c:1691: warning: function declaration isn't a prototype di.c:1693: error: syntax error before '(' token di.c:1693: warning: type defaults to `int' in declaration of `Snprintf' di.c:1693: warning: function declaration isn't a prototype di.c:1695: error: syntax error before '(' token di.c:1695: warning: type defaults to `int' in declaration of `Snprintf' di.c:1695: warning: function declaration isn't a prototype di.c:1697: error: syntax error before '(' token di.c:1697: warning: type defaults to `int' in declaration of `Snprintf' di.c:1697: warning: function declaration isn't a prototype di.c:1699: error: syntax error before '(' token di.c:1699: warning: type defaults to `int' in declaration of `Snprintf' di.c:1699: warning: function declaration isn't a prototype di.c:1718: error: syntax error before '(' token di.c:1718: warning: type defaults to `int' in declaration of `Snprintf' di.c:1718: warning: function declaration isn't a prototype di.c:1727: error: syntax error before '(' token di.c:1727: warning: type defaults to `int' in declaration of `Snprintf' di.c:1727: warning: function declaration isn't a prototype di.c:1732: error: syntax error before '(' token di.c:1732: warning: type defaults to `int' in declaration of `Snprintf' di.c:1732: warning: function declaration isn't a prototype di.c:1734: error: syntax error before '(' token di.c:1734: warning: type defaults to `int' in declaration of `Snprintf' di.c:1734: warning: function declaration isn't a prototype di.c:1752: error: syntax error before "di_DiskInfo" di.c:1752: warning: type defaults to `int' in declaration of `diskInfo' di.c:1752: warning: data definition has no type or storage class di.c:1757: error: syntax error before '{' token di.c:1777: error: syntax error before '&' token di.c:1777: warning: type defaults to `int' in declaration of `checkIgnoreList' di.c:1777: warning: function declaration isn't a prototype di.c:1777: warning: data definition has no type or storage class di.c:1778: error: syntax error before '&' token di.c:1778: warning: type defaults to `int' in declaration of `checkIncludeList' di.c:1778: warning: function declaration isn't a prototype di.c:1778: warning: data definition has no type or storage class di.c:1794: warning: function declaration isn't a prototype di.c:1831: warning: function declaration isn't a prototype di.c:1831: error: conflicting types for `processArgs' di.c:511: error: previous declaration of `processArgs' di.c: In function `processArgs': di.c:1831: warning: declaration of `argc' shadows a global declaration di.c:1253: warning: shadowed declaration is here di.c:1832: warning: declaration of `argv' shadows a global declaration di.c:1254: warning: shadowed declaration is here di.c:1833: warning: declaration of `ignoreList' shadows a global declaration di.c:1753: warning: shadowed declaration is here di.c:1834: warning: declaration of `includeList' shadows a global declaration di.c:1754: warning: shadowed declaration is here di.c:1835: warning: declaration of `dbsstr' shadows a global declaration di.c:464: warning: shadowed declaration is here di.c:1841: warning: implicit declaration of function `getopt' di.c:1863: warning: implicit declaration of function `isdigit' di.c:1865: warning: implicit declaration of function `atof' di.c:1911: warning: implicit declaration of function `parseList' di.c:1917: warning: function `parseList' was previously declared within a block di.c:1988: warning: implicit declaration of function `atoi' di.c:1994: warning: function `atoi' was previously declared within a block di.c:2000: warning: function `atoi' was previously declared within a block di.c: At top level: di.c:2013: warning: function declaration isn't a prototype di.c:2013: warning: `parseList' was declared implicitly `extern' and later `static' di.c:1917: warning: previous declaration of `parseList' di.c:2013: warning: type mismatch with previous implicit declaration di.c:1917: warning: previous implicit declaration of `parseList' di.c:2013: warning: `parseList' was previously implicitly declared to return `int' di.c: In function `parseList': di.c:2018: warning: declaration of `ptr' shadows a global declaration di.c:783: warning: shadowed declaration is here di.c:2023: warning: declaration of `i' shadows a global declaration di.c:457: warning: shadowed declaration is here di.c:2024: warning: declaration of `len' shadows a global declaration di.c:1683: warning: shadowed declaration is here di.c:2027: warning: function `malloc' was previously declared within a block di.c:2027: error: `Size_t' undeclared (first use in this function) di.c:2027: error: syntax error before "i" di.c:2031: error: syntax error before ')' token di.c:2034: error: syntax error before "i" di.c:2037: warning: implicit declaration of function `strtok' di.c:2037: warning: assignment makes pointer from integer without a cast di.c:2042: warning: assignment makes pointer from integer without a cast di.c:2048: warning: implicit declaration of function `Realloc' di.c:2053: error: syntax error before ')' token di.c:2061: error: syntax error before "len" di.c:2066: error: syntax error before ')' token di.c:2069: error: syntax error before "len" di.c:2075: warning: function `free' was previously declared within a block di.c: At top level: di.c:2084: error: syntax error before "di_DiskInfo" di.c:2084: warning: type defaults to `int' in declaration of `diskInfo' di.c:2084: warning: data definition has no type or storage class di.c:2087: error: syntax error before '{' token di.c:2092: error: syntax error before "if" di.c:2121: error: syntax error before "di_DiskInfo" di.c:2121: warning: type defaults to `int' in declaration of `diskInfo' di.c:2121: warning: data definition has no type or storage class di.c:2124: error: syntax error before '{' token di.c:2129: error: syntax error before "if" di.c:2163: warning: function declaration isn't a prototype di.c:2163: error: conflicting types for `setDispBlockSize' di.c:524: error: previous declaration of `setDispBlockSize' di.c: In function `setDispBlockSize': di.c:2163: warning: declaration of `ptr' shadows a global declaration di.c:783: warning: shadowed declaration is here di.c:2166: warning: declaration of `len' shadows a global declaration di.c:1683: warning: shadowed declaration is here di.c:2175: warning: function `isdigit' was previously declared within a block di.c:2177: error: `_fs_size_t' undeclared (first use in this function) di.c:2177: error: syntax error before "atof" di.c:2189: warning: declaration of `idx' shadows a global declaration di.c:973: warning: shadowed declaration is here di.c:2283: warning: implicit declaration of function `SPF' di.c:2291: warning: declaration of `i' shadows a global declaration di.c:2126: warning: shadowed declaration is here di.c:2308: warning: function `SPF' was previously declared within a block di.c: In function `fmod': di.c:2320: warning: traditional C rejects ISO C style function definitions di.c:2321: warning: declaration of `temp' shadows a global declaration di.c:1563: warning: shadowed declaration is here di.c: At top level: di.c:1254: warning: array `argv' assumed to have one element di.c:1468: error: storage size of `statBuf' isn't known di.c:382: warning: `mTimeFormat' defined but not used di.c:388: warning: `inodeFormat' defined but not used di.c:1837: warning: `processArgs' defined but not used di.c:2165: warning: `setDispBlockSize' defined but not used di.c:1067: warning: `printTitle' defined but not used di.c:1307: warning: `sortArray' defined but not used di.c:1369: warning: `diCompare' defined but not used di.c:2320: warning: `fmod' defined but not used {standard input}: Assembler messages: {standard input}:208: Error: symbol `valid' is already defined {standard input}:214: Error: symbol `valid' is already defined {standard input}:220: Error: symbol `valid' is already defined {standard input}:226: Error: symbol `valid' is already defined {standard input}:232: Error: symbol `valid' is already defined {standard input}:239: Error: symbol `valid' is already defined {standard input}:337: Error: symbol `totAvail' is already defined {standard input}:343: Error: symbol `totAvail' is already defined {standard input}:345: Error: symbol `totAvail' is already defined {standard input}:345: Warning: rest of line ignored; first ignored character is `,' {standard input}:365: Error: symbol `idx' is already defined {standard input}:412: Error: symbol `len' is already defined {standard input}:418: Error: symbol `len' is already defined {standard input}:424: Error: symbol `len' is already defined make: *** [di.o] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.27 i686) ================================================================= System uname: 2.4.27 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X X509 aac aalib acpi aim alsa audiofile avi berkdb bitmap-fonts bonobo cap cdparanoia cdr chroot cjk crypt cscope cups curl dga directfb doc dv dvd edl encode ethereal extensions f77 faad fam fbcon fbdev flac foomaticdb fortran gcj gdbm ggi gif ginac gmp gmtfull gmthigh gmtsuppl gmttria gnome gpg gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal hardened icq imagemagick imlib jabber jack java javascript jbig jpeg ladcaa lcms libcaca libg++ libwww live lzo lzw-tiff mad maildir mailwrapper md5sum mikmod mmx mmx2 mng motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg msn ncurses network nntp nodrm offensive oggvorbis opengl pam pcre pdflib perl pic plotutils png ppds python qhull quicktime readline real rtc sdl silc skey slang sndfile spell sse ssl svg svga tcltk tcpd tetex tga theora tiff truetype unicode usb uudeview vim-with-x wmf wxwindows x86 xanim xgetdefault xine xml xml2 xmms xv xvid xvmc yahoo zlib video_cards_radeon"
Created attachment 46653 [details, diff] Patch di-3.9.ebuild to use bash to build program I've looked at the problem some more, and apparently the build scripts aren't compatible with zsh. I tested it with bash and it compiles fine, so I've attached a patch that forces the ebuild to use bash to build everything.
fixed in 3.11, thanks :)
*** Bug 52735 has been marked as a duplicate of this bug. ***