pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mail/metamail fails to build - conflicting types for getline()



On a nearly-current 5.99.18 machine, I'm trying to update my packages
and mail/metamail fails.  The install log is attached.


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
===> Cleaning for metamail-2.7nb9
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for mm2.7.tar.Z
=> Checksum RMD160 OK for mm2.7.tar.Z
===> Installing dependencies for metamail-2.7nb9
===> Overriding tools for metamail-2.7nb9
===> Extracting for metamail-2.7nb9
===> Patching for metamail-2.7nb9
=> Applying pkgsrc patches for metamail-2.7nb9
=> Adjusting the path to awk
=> Adjusting the path for PKG_SYSCONFDIR.
/bin/rm -f /build/pkgsrc/mail/metamail/work.x86_64/mm2.7/src/bin/*.orig
===> Creating toolchain wrappers for metamail-2.7nb9
===> Configuring for metamail-2.7nb9
set -e;                                                          if 
/usr/bin/grep putenv /usr/include/stdlib.h >/dev/null;               then       
                                                     cd 
/build/pkgsrc/mail/metamail/work.x86_64/mm2.7/src/metamail;                     
             /bin/mv Makefile Makefile.pre-sed;                      
/usr/bin/sed -e s/putenv.o//g Makefile.pre-sed >Makefile;       fi
=> Replacing csh interpreter in bin/audiocompose bin/audiosend bin/extcompose 
bin/getfilename bin/mailserver bin/mailto-hebrew bin/metasend 
bin/patch-metamail bin/showaudio bin/showexternal bin/shownonascii 
bin/showpartial bin/showpicture bin/sun-audio-file bin/sun-message.csh 
bin/sun-to-mime fonts/Xmailto-hebrew fonts/Xshownonascii.
WARNING: [replace-interpreter] Skipping non-existent file "bin/mailto-hebrew".
WARNING: [replace-interpreter] Skipping non-existent file "bin/shownonascii".
===> Building for metamail-2.7nb9
(cd metamail ; /usr/bin/make  CONFIGDIR=../.  CFLAGS="-O2 -I.  " CC="cc"  
LDLIBS="-s -lcompat")
rm -f metamail.o
cc -c  -I../. -O2 -I.   metamail.c
metamail.c:104: warning: conflicting types for built-in function 'malloc'
metamail.c: In function 'UnquoteString':
metamail.c:220: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c: In function 'ResetGlobals':
metamail.c:271: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c: In function 'modpath':
metamail.c:290: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c: In function 'main':
metamail.c:328: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:356: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:370: warning: incompatible implicit declaration of built-in function 
'exit'
metamail.c: In function 'HandleMessage':
metamail.c:449: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:450: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:558: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:560: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:571: warning: incompatible implicit declaration of built-in function 
'strcat'
metamail.c: In function 'ProcessArguments':
metamail.c:683: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:685: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:722: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:724: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:772: warning: incompatible implicit declaration of built-in function 
'strlen'
metamail.c:774: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c:903: warning: incompatible implicit declaration of built-in function 
'strcpy'
metamail.c: In function 'RunInNewWindow':
metamail.c:985: warning: incompatible implicit declaration of built-in function 
'strcat'
metamail.c:1014: warning: incompatible implicit declaration of built-in 
function 'exit'
metamail.c: In function 'ProcessMailcapFiles':
metamail.c:1060: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1062: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:1063: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1069: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1071: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'ShortCommand':
metamail.c:1149: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1158: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'ExecuteMailcapEntry':
metamail.c:1231: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1268: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1273: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1279: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:1348: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:1349: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c: In function 'GetCommand':
metamail.c:1391: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c: In function 'GetMailcapEntry':
metamail.c:1431: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1441: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1443: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1467: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1469: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'ExitWithError':
metamail.c:1514: warning: incompatible implicit declaration of built-in 
function 'exit'
metamail.c: In function 'FreshHeaderCopy':
metamail.c:1529: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1532: warning: incompatible implicit declaration of built-in 
function 'strncpy'
metamail.c: In function 'Read822Prefix':
metamail.c:1547: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'SetUpEnvironment':
metamail.c:1705: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:1727: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:1746: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:1758: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'StripTrailingSpace':
metamail.c:1854: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c: In function 'PrintHeader':
metamail.c:1975: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2025: warning: incompatible implicit declaration of built-in 
function 'strncpy'
metamail.c: In function 'BuildCommand':
metamail.c:2120: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2121: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:2174: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:2220: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2221: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:2225: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:2235: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2236: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c:2260: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c: In function 'CreateNewWindowPrefix':
metamail.c:2345: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2356: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2357: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:2361: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2364: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c: In function 'CtypeMatch':
metamail.c:2448: warning: incompatible implicit declaration of built-in 
function 'strcpy'
metamail.c:2449: warning: incompatible implicit declaration of built-in 
function 'strcat'
metamail.c:2452: warning: incompatible implicit declaration of built-in 
function 'strlen'
metamail.c: In function 'strcatquoting':
metamail.c:2648: warning: incompatible implicit declaration of built-in 
function 'strcat'
rm -f codes.o
cc -c  -I../. -O2 -I.   codes.c
codes.c: In function 'PendingBoundary':
codes.c:128: warning: incompatible implicit declaration of built-in function 
'strlen'
rm -f uue.o
cc -c  -I../. -O2 -I.   uue.c
uue.c:34: error: conflicting types for 'getline'
/usr/include/stdio.h:245: error: previous declaration of 'getline' was here
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/mail/metamail/work.x86_64/mm2.7/src/metamail
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/mail/metamail/work.x86_64/mm2.7/src
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/mail/metamail
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/mail/metamail


Home | Main Index | Thread Index | Old Index