[MacPorts] #63346: vm-pop3d @1.1.6_2: error: implicitly declaring library function 'memcpy'

MacPorts noreply at macports.org
Sun Aug 8 05:16:14 UTC 2021


#63346: vm-pop3d @1.1.6_2: error: implicitly declaring library function 'memcpy'
-----------------------------+----------------------
 Reporter:  cooljeanius      |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.7.1
 Keywords:  bigsur catalina  |       Port:  vm-pop3d
-----------------------------+----------------------
 Another victim of `-Werror=implicit-function-declaration` being on by
 default now:
 {{{
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-
 pop3d-1.1.6'
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi apop.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi auth.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi capa.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi dele.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi extra.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi vm-pop3d.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi list.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi md5.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi noop.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi quit.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi retr.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi rset.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi stat.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi top.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi uidl.c
 /usr/bin/clang -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi user.c
 md5.c:117:3: error: implicitly declaring library function 'memcpy' with
 type 'void *(void *, const void *, unsigned long)' [-Werror,-Wimplicit-
 function-declaration]
   memcpy(&ctx->buffer[bytes], fillbuf, pad);
   ^
 md5.c:117:3: note: include the header <string.h> or explicitly provide a
 declaration for 'memcpy'
 1 error generated.
 make: *** [md5.o] Error 1
 make: *** Waiting for unfinished jobs....
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-
 pop3d-1.1.6'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_mail_vm-pop3d/vm-pop3d/work/vm-
 pop3d-1.1.6" && /usr/bin/make -j16 -w all
 Exit code: 2
 Error: Failed to build vm-pop3d: command execution failed
 DEBUG: Error code: CHILDSTATUS 58173 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63346>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list