[MacPorts] #72049: rpcgen-mt fails to build with Xcode gcc
MacPorts
noreply at macports.org
Tue Feb 11 19:37:24 UTC 2025
#72049: rpcgen-mt fails to build with Xcode gcc
--------------------------+-----------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: rpcgen-mt
--------------------------+-----------------------
{{{
---> Configuring rpcgen-mt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4" && ./autogen.sh && ./configure --prefix=/opt/local
+ rm -rfv config.sub config.guess config.h.in aclocal.m4 config.rpath m4
+ autopoint --force
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of
AM_GNU_GETTEXT_VERSION
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/build-to-host.m4
Copying file m4/gettext.m4
Copying file m4/host-cpu-c-abi.m4
Copying file m4/iconv.m4
Copying file m4/intlmacosx.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/progtest.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
+ rm -fv po/Makevars.template po/ChangeLog m4/ChangeLog
po/Makevars.template
+ aclocal
+ autoheader
+ automake --add-missing --copy --force
configure.ac:11: installing './compile'
configure.ac:22: installing './config.guess'
configure.ac:22: installing './config.sub'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am: installing './INSTALL'
rpcgen/Makefile.am: installing './depcomp'
+ autoreconf --install
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of
AM_GNU_GETTEXT_VERSION
Copying file po/Makevars.template
configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:707: AM_CONFIG_HEADER is expanded from...
configure.ac:5: the top level
configure.ac:14: warning: The macro 'AC_GNU_SOURCE' is obsolete.
configure.ac:14: You should run autoupdate.
./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from...
configure.ac:14: the top level
configure.ac:17: warning: The macro 'AC_ISC_POSIX' is obsolete.
configure.ac:17: You should run autoupdate.
./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from...
configure.ac:17: the top level
configure.ac:26: warning: AC_OUTPUT should be used without arguments.
configure.ac:26: You should run autoupdate.
+ chmod 755 configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to enable C11 features... unsupported
checking for /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o
together... yes
checking dependency style of /usr/bin/gcc-4.2 -std=gnu99... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for /usr/bin/gcc-4.2 -std=gnu99 option to enable large file
support... none needed
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether the compiler supports GNU C... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to enable C11 features... (cached)
unsupported
checking for /usr/bin/gcc-4.2 option to enable C99 features... (cached)
-std=gnu99
checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o
together... (cached) yes
checking dependency style of /usr/bin/gcc-4.2 -std=gnu99... (cached) gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -std=gnu99 -E
checking for library containing strerror... none required
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking build system type... powerpc-apple-darwin10.8.0
checking host system type... powerpc-apple-darwin10.8.0
checking for ld used by /usr/bin/gcc-4.2 -std=gnu99... /usr/libexec/gcc
/powerpc-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking for egrep -e... /usr/bin/grep -E
checking for ELF binary format... no
checking for the common suffixes of directories in the library search
path... lib,lib,lib
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyPreferredLanguages... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework
-Wl,CoreFoundation -Wl,-framework -Wl,CoreServices
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating rpcgen/Makefile
config.status: creating rpcsvc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
---> Building rpcgen-mt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4" && /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4'
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4/missing' autoheader)
rm -f stamp-h1
touch config.h.in
rm -f stamp-h1
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/bin/make all-recursive
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4'
Making all in rpcgen
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4/rpcgen'
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_clntout.o -MD -MP -MF
.deps/rpc_clntout.Tpo -c -o rpc_clntout.o rpc_clntout.c
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_cout.o -MD -MP -MF
.deps/rpc_cout.Tpo -c -o rpc_cout.o rpc_cout.c
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_hout.o -MD -MP -MF
.deps/rpc_hout.Tpo -c -o rpc_hout.o rpc_hout.c
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_main.o -MD -MP -MF
.deps/rpc_main.Tpo -c -o rpc_main.o rpc_main.c
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_parse.o -MD -MP -MF
.deps/rpc_parse.Tpo -c -o rpc_parse.o rpc_parse.c
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_sample.o -MD -MP -MF
.deps/rpc_sample.Tpo -c -o rpc_sample.o rpc_sample.c
rpc_main.c: In function ‘mkfile_output’:
rpc_main.c:967: warning: implicit declaration of function ‘stpncpy’
rpc_main.c:967: warning: incompatible implicit declaration of built-in
function ‘stpncpy’
mv -f .deps/rpc_parse.Tpo .deps/rpc_parse.Po
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_scan.o -MD -MP -MF
.deps/rpc_scan.Tpo -c -o rpc_scan.o rpc_scan.c
mv -f .deps/rpc_clntout.Tpo .deps/rpc_clntout.Po
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_svcout.o -MD -MP -MF
.deps/rpc_svcout.Tpo -c -o rpc_svcout.o rpc_svcout.c
mv -f .deps/rpc_sample.Tpo .deps/rpc_sample.Po
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_tblout.o -MD -MP -MF
.deps/rpc_tblout.Tpo -c -o rpc_tblout.o rpc_tblout.c
mv -f .deps/rpc_tblout.Tpo .deps/rpc_tblout.Po
/usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
-I/opt/local/include -pipe -Os -arch ppc -MT rpc_util.o -MD -MP -MF
.deps/rpc_util.Tpo -c -o rpc_util.o rpc_util.c
mv -f .deps/rpc_hout.Tpo .deps/rpc_hout.Po
mv -f .deps/rpc_cout.Tpo .deps/rpc_cout.Po
mv -f .deps/rpc_scan.Tpo .deps/rpc_scan.Po
mv -f .deps/rpc_util.Tpo .deps/rpc_util.Po
mv -f .deps/rpc_main.Tpo .deps/rpc_main.Po
mv -f .deps/rpc_svcout.Tpo .deps/rpc_svcout.Po
/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc -o rpcgen rpc_clntout.o
rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o rpc_sample.o rpc_scan.o
rpc_svcout.o rpc_tblout.o rpc_util.o -lintl -Wl,-framework
-Wl,CoreFoundation -Wl,-framework -Wl,CoreServices
Undefined symbols:
"_stpncpy", referenced from:
_mkfile_output in rpc_main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [rpcgen] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4/rpcgen'
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_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4'
make: *** [all] Error 2
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_lang_rpcgen-mt/rpcgen-mt/work/rpcsvc-
proto-1.4.4" && /usr/bin/make -j6 -w all
Exit code: 2
Error: Failed to build rpcgen-mt: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72049>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list