[MacPorts] #70993: mlmmj build error: implicit declaration of function 'vdprintf'; did you mean 'dprintf'?

MacPorts noreply at macports.org
Mon Sep 30 05:49:00 UTC 2024


#70993: mlmmj build error: implicit declaration of function 'vdprintf'; did you
mean 'dprintf'?
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  mlmmj
--------------------------+--------------------
 {{{
         ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I..
 -I../include -DDEFAULTTEXTDIR='"/opt/local/share/mlmmj/text.skel"'
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -g -Wall
 -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare    -pipe -Os
 -arch ppc -MT incindexfile.o -MD -MP -MF $depbase.Tpo -c -o incindexfile.o
 incindexfile.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo checkwait_smtpreply.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I..
 -I../include -DDEFAULTTEXTDIR='"/opt/local/share/mlmmj/text.skel"'
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -g -Wall
 -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare    -pipe -Os
 -arch ppc -MT checkwait_smtpreply.o -MD -MP -MF $depbase.Tpo -c -o
 checkwait_smtpreply.o checkwait_smtpreply.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo init_sockfd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I..
 -I../include -DDEFAULTTEXTDIR='"/opt/local/share/mlmmj/text.skel"'
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -g -Wall
 -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare    -pipe -Os
 -arch ppc -MT init_sockfd.o -MD -MP -MF $depbase.Tpo -c -o init_sockfd.o
 init_sockfd.c &&\
         mv -f $depbase.Tpo $depbase.Po
 depbase=`echo strgen.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
         ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I..
 -I../include -DDEFAULTTEXTDIR='"/opt/local/share/mlmmj/text.skel"'
 -isystem/opt/local/include/LegacySupport -I/opt/local/include -g -Wall
 -std=gnu99 -D_GNU_SOURCE=1 -Wextra -pedantic -Wsign-compare    -pipe -Os
 -arch ppc -MT strgen.o -MD -MP -MF $depbase.Tpo -c -o strgen.o strgen.c
 &&\
         mv -f $depbase.Tpo $depbase.Po
 mail-functions.c: In function 'write_sock':
 mail-functions.c:47:25: error: implicit declaration of function
 'vdprintf'; did you mean 'dprintf'? [-Wimplicit-function-declaration]
    47 |         bytes_written = vdprintf(sockfd, fmt, ap);
       |                         ^~~~~~~~
       |                         dprintf
 make[2]: *** [mail-functions.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mlmmj/mlmmj/work/RELEASE_1_4_7/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mlmmj/mlmmj/work/RELEASE_1_4_7'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mlmmj/mlmmj/work/RELEASE_1_4_7'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mlmmj/mlmmj/work/RELEASE_1_4_7"
 && /usr/bin/make -j6 -w all
 Exit code: 2
 Error: Failed to build mlmmj: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_mlmmj/mlmmj/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port mlmmj failed
 }}}

 Related #70118 #67598

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


More information about the macports-tickets mailing list