Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64546 closed defect (invalid)

mailsend fails to install on 10.5 catalina

Reported by: pdvnl Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: mailsend

Description

mailsend fails to install on 10.5 catalina

make[1]: Entering directory `/opt/local/var/macports/build/_usr_local_macports_mailsend_mail_mailsend/mailsend/work/muquit-mailsend-9595d72/libs/libmutils'
rm -f mutils_time.o
/usr/bin/clang -O -I.  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SYSLIMITS_H=1 -DHAVE_FLOCK=1 -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_RES_SEARCH=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_MKSTEMP=1 -DHAVE_GETADDRINFO=1 -DSYS_UNIX=1 -c mutils_time.c
mutils_time.c:26:8: error: implicit declaration of function 'gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    rc=gettimeofday(&tv,NULL);
       ^
1 error generated.
make[1]: *** [mutils_time.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_usr_local_macports_mailsend_mail_mailsend/mailsend/work/muquit-mailsend-9595d72/libs/libmutils'
make: *** [libmutils] Error 2
make: *** Waiting for unfinished jobs....
main.c:964:21: error: implicit declaration of function 'show_mime_types' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                    show_mime_types();
                    ^
main.c:964:21: note: did you mean 'get_mime_type'?
./mailsend.h:332:14: note: 'get_mime_type' declared here
char        *get_mime_type(char *path);
             ^
1 error generated.
make: *** [main.o] Error 1
make: Leaving directory `/opt/local/var/macports/build/_usr_local_macports_mailsend_mail_mailsend/mailsend/work/muquit-mailsend-9595d72'
Command failed:  cd "/opt/local/var/macports/build/_usr_local_macports_mailsend_mail_mailsend/mailsend/work/mailsend-1.19" && /usr/bin/make -j8 -w all
Exit code: 2
Error: Failed to build mailsend: command execution failed

Change History (1)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

We don't have a mailsend port. You need to talk to whoever wrote the Portfile you're using, and/or the upstream project. Looks like the code neglects to include the header for gettimeofday, and also doesn't declare show_mime_types, which I guess is its own internal function, before using it.

Last edited 3 years ago by jmroot (Joshua Root) (previous) (diff)
Note: See TracTickets for help on using tickets.