Opened 6 weeks ago

#70993 new defect

mlmmj build error: implicit declaration of function 'vdprintf'; did you mean 'dprintf'?

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: inucat (inucat)
Port: mlmmj

Description

	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

Change History (0)

Note: See TracTickets for help on using tickets.