#65646 closed defect (fixed)
yencode @0.46: error: use of undeclared identifier 'EXIT_FAILURE'
Reported by: | rehall | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | yencode |
Description
Lots of compile errors trying to install yencode on MacOS.
Never seen a port fail this spectacularly.
Is there some obvious dependency that is missing?
$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/main.log version:1 :debug:main Starting logging for yencode @0.46_1 :debug:sysinfo macOS 11.6.8 (darwin/20.6.0) arch i386 :debug:sysinfo MacPorts 2.7.2 :debug:sysinfo Xcode 13.2.1 :debug:sysinfo SDK 11 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.0 :debug:main epoch: in tree: 0 installed: 0 :debug:main libiconv 1.17_0 exists in the ports tree :debug:main libiconv 1.17_0 is the latest installed :debug:main libiconv 1.17_0 is active :debug:main Merging existing requested variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv :debug:main OS darwin/20.6.0 (macOS 11.6.8) arch i386 :debug:main Re-registering default for configure.universal_args :debug:main Re-registering default for configure.cc_archflags :debug:main Re-registering default for configure.objc_archflags :debug:main Re-registering default for configure.cxx_archflags :debug:main Re-registering default for configure.objcxx_archflags :debug:main Re-registering default for configure.fc_archflags :debug:main Re-registering default for configure.f90_archflags :debug:main Re-registering default for configure.f77_archflags :debug:main Re-registering default for configure.ld_archflags :debug:main Re-registering default for configure.universal_cflags :debug:main Re-registering default for configure.universal_objcflags :debug:main Re-registering default for configure.universal_cxxflags :debug:main Re-registering default for configure.universal_objcxxflags :debug:main Re-registering default for configure.universal_cppflags :debug:main Re-registering default for configure.universal_ldflags :debug:main Sourcing PortGroup muniversal 1.1 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.1.tcl :debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl :debug:main muniversal: adding universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Running callback portstartupitem::add_notes :debug:main Finished running callback portstartupitem::add_notes :debug:main Running callback muniversal::add_compiler_flags :debug:main Finished running callback muniversal::add_compiler_flags :debug:main No need to upgrade! libiconv 1.17_0 >= libiconv 1.17_0 :msg:main ---> Computing dependencies for yencode:info:main .:debug:main yencode has no conflicts :debug:main Searching for dependency: libiconv :debug:main Found Dependency: receipt exists for libiconv :debug:main Executing org.macports.main (yencode) :debug:main dropping privileges: euid changed to 502, egid changed to 501. :debug:archivefetch archivefetch phase started at Wed Aug 10 09:33:22 AEST 2022 :msg:archivefetch ---> Fetching archive for yencode :debug:archivefetch Executing org.macports.archivefetch (yencode) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 502/501 :info:archivefetch ---> yencode-0.46_1.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch yencode-0.46_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/yencode :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 :msg:archivefetch ---> Attempting to fetch yencode-0.46_1.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/yencode :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch yencode-0.46_1.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/yencode :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Wed Aug 10 09:33:26 AEST 2022 :notice:fetch ---> Fetching distfiles for yencode :debug:fetch Executing org.macports.fetch (yencode) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Wed Aug 10 09:33:26 AEST 2022 :notice:checksum ---> Verifying checksums for yencode :debug:checksum Executing org.macports.checksum (yencode) :info:checksum ---> Checksumming yencode-0.46.tar.gz :debug:checksum Calculated (md5) is 6af054f69c781cafa620063878a831ea :debug:checksum Correct (md5) checksum for yencode-0.46.tar.gz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Wed Aug 10 09:33:26 AEST 2022 :notice:extract ---> Extracting yencode :debug:extract Executing org.macports.extract (yencode) :info:extract ---> Extracting yencode-0.46.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/yencode/yencode-0.46.tar.gz' :debug:extract Environment: :debug:extract CC_PRINT_OPTIONS='YES' :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/.CC_PRINT_OPTIONS' :debug:extract CPATH='/opt/local/include' :debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:extract LIBRARY_PATH='/opt/local/lib' :debug:extract MACOSX_DEPLOYMENT_TARGET='11.0' :debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/yencode/yencode-0.46.tar.gz' | /usr/bin/tar -xf - :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/yencode/yencode-0.46.tar.gz' | /usr/bin/tar -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work to macports :debug:extract euid/egid changed to: 502/501 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Wed Aug 10 09:33:26 AEST 2022 :debug:patch Executing org.macports.patch (yencode) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Wed Aug 10 09:33:26 AEST 2022 :notice:configure ---> Configuring yencode :debug:configure Preferred compilers: clang macports-clang-14 macports-clang-13 macports-clang-12 macports-clang-11 macports-clang-10 macports-clang-9.0 :debug:configure Using compiler 'Xcode Clang' :debug:configure Executing org.macports.configure (yencode) :debug:configure Environment: :debug:configure CC='/usr/bin/clang' :debug:configure CC_PRINT_OPTIONS='YES' :debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/.CC_PRINT_OPTIONS' :debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64' :debug:configure CPATH='/opt/local/include' :debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :debug:configure CXX='/usr/bin/clang++' :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64' :debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:configure F90FLAGS='-pipe -Os -m64' :debug:configure FCFLAGS='-pipe -Os -m64' :debug:configure FFLAGS='-pipe -Os -m64' :debug:configure INSTALL='/usr/bin/install -c' :debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -multiply_defined suppress -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64' :debug:configure LIBRARY_PATH='/opt/local/lib' :debug:configure MACOSX_DEPLOYMENT_TARGET='11.0' :debug:configure OBJC='/usr/bin/clang' :debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64' :debug:configure OBJCXX='/usr/bin/clang++' :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64' :debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :info:configure Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46" && ./configure --prefix=/opt/local --with-libiconv-prefix=/opt/local :debug:configure system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46" && ./configure --prefix=/opt/local --with-libiconv-prefix=/opt/local :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking for mawk... no :info:configure checking for gawk... no :info:configure checking for nawk... no :info:configure checking for awk... awk :info:configure checking whether make sets ${MAKE}... yes :info:configure checking for mawk... (cached) awk :info:configure checking for gcc... /usr/bin/clang :info:configure checking for C compiler default output... a.out :info:configure checking whether the C compiler works... yes :info:configure checking whether we are cross compiling... no :info:configure checking for executable suffix... :info:configure checking for object suffix... o :info:configure checking whether we are using the GNU C compiler... yes :info:configure checking whether /usr/bin/clang accepts -g... yes :info:configure checking for style of include used by make... GNU :info:configure checking dependency style of /usr/bin/clang... gcc3 :info:configure checking for a BSD compatible install... /usr/bin/install -c :info:configure checking whether ln -s works... yes :info:configure checking for ranlib... ranlib :info:configure checking how to run the C preprocessor... /usr/bin/clang -E :info:configure checking for ANSI C header files... no :info:configure checking for errno.h... yes :info:configure checking for getopt.h... yes :info:configure checking for libintl.h... yes :info:configure checking for memory.h... yes :info:configure checking for stdarg.h... yes :info:configure checking for stddef.h... yes :info:configure checking for stdlib.h... yes :info:configure checking for string.h... yes :info:configure checking for strings.h... yes :info:configure checking for termios.h... yes :info:configure checking for time.h... yes :info:configure checking for sys/time.h... yes :info:configure checking for unistd.h... yes :info:configure checking for arpa/inet.h... yes :info:configure checking for netdb.h... yes :info:configure checking for netinet/in.h... yes :info:configure checking for pwd.h... yes :info:configure checking for signal.h... yes :info:configure checking for sys/socket.h... yes :info:configure checking for sys/utsname.h... yes :info:configure checking for /usr/bin/clang option to accept ANSI C... none needed :info:configure checking for an ANSI C-conforming const... yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for working malloc... yes :info:configure checking return type of signal handlers... void :info:configure checking for gettimeofday... yes :info:configure checking for memset... yes :info:configure checking for setlocale... yes :info:configure checking for strchr... yes :info:configure checking for strdup... yes :info:configure checking for strerror... yes :info:configure checking for strstr... yes :info:configure checking build system type... i386-apple-darwin20.6.0 :info:configure checking host system type... i386-apple-darwin20.6.0 :info:configure checking for strerror in -lcposix... no :info:configure checking for inline... inline :info:configure checking for sys/types.h... yes :info:configure checking for sys/stat.h... yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for string.h... (cached) yes :info:configure checking for memory.h... (cached) yes :info:configure checking for strings.h... (cached) yes :info:configure checking for inttypes.h... yes :info:configure checking for stdint.h... yes :info:configure checking for unistd.h... (cached) yes :info:configure checking for off_t... yes :info:configure checking for size_t... yes :info:configure checking for working alloca.h... yes :info:configure checking for alloca... yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for unistd.h... (cached) yes :info:configure checking for getpagesize... yes :info:configure checking for working mmap... yes :info:configure checking whether we are using the GNU C Library 2.1 or newer... no :info:configure checking for argz.h... no :info:configure checking for limits.h... yes :info:configure checking for locale.h... yes :info:configure checking for nl_types.h... yes :info:configure checking for malloc.h... no :info:configure checking for stddef.h... (cached) yes :info:configure checking for stdlib.h... (cached) yes :info:configure checking for string.h... (cached) yes :info:configure checking for unistd.h... (cached) yes :info:configure checking for sys/param.h... yes :info:configure checking for feof_unlocked... yes :info:configure checking for fgets_unlocked... no :info:configure checking for getcwd... yes :info:configure checking for getegid... yes :info:configure checking for geteuid... yes :info:configure checking for getgid... yes :info:configure checking for getuid... yes :info:configure checking for mempcpy... no :info:configure checking for munmap... yes :info:configure checking for putenv... yes :info:configure checking for setenv... yes :info:configure checking for setlocale... (cached) yes :info:configure checking for stpcpy... yes :info:configure checking for strchr... (cached) yes :info:configure checking for strcasecmp... yes :info:configure checking for strdup... (cached) yes :info:configure checking for strtoul... yes :info:configure checking for tsearch... yes :info:configure checking for __argz_count... no :info:configure checking for __argz_stringify... no :info:configure checking for __argz_next... no :info:configure checking for iconv... yes :info:configure checking for iconv declaration... :info:configure extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); :info:configure checking for nl_langinfo and CODESET... yes :info:configure checking for LC_MESSAGES... yes :info:configure checking whether NLS is requested... yes :info:configure checking whether included gettext is requested... no :info:configure checking for libintl.h... (cached) yes :info:configure checking for GNU gettext in libc... no :info:configure checking for GNU gettext in libintl... yes :info:configure checking for dcgettext... yes :info:configure checking for msgfmt... /opt/local/bin/msgfmt :info:configure checking for gmsgfmt... /opt/local/bin/msgfmt :info:configure checking for xgettext... /opt/local/bin/xgettext :info:configure checking for bison... bison :info:configure checking version of bison... 3.8.2, ok :info:configure configure: creating ./config.status :info:configure config.status: creating Makefile :info:configure config.status: creating intl/Makefile :info:configure config.status: creating po/Makefile.in :info:configure config.status: creating lib/Makefile :info:configure config.status: creating src/Makefile :info:configure config.status: creating src/ypost/Makefile :info:configure config.status: creating doc/Makefile :info:configure config.status: creating config.h :info:configure config.status: creating po/POTFILES :info:configure config.status: creating po/Makefile :info:configure yencode version 0.46 configured for i386-apple-darwin20.6.0 :info:configure ---------------------------------------------------------------------------- :info:configure Type `make' to build the package. :info:configure Type `make install' to install the package. :debug:configure Executing portconfigure::configure_finish :warn:configure Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: :msg:configure exit: found in yencode-0.46/config.log :debug:configure Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Wed Aug 10 09:33:35 AEST 2022 :notice:build ---> Building yencode :debug:build Executing org.macports.build (yencode) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='11.0' :debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46" && /usr/bin/make -j16 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46" && /usr/bin/make -j16 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46' :info:build cd . \ :info:build && CONFIG_FILES= CONFIG_HEADERS=config.h \ :info:build /bin/sh ./config.status :info:build config.status: creating config.h :info:build config.status: config.h is unchanged :info:build /Library/Developer/CommandLineTools/usr/bin/make all-recursive :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46' :info:build Making all in intl :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/intl' :info:build make[2]: Nothing to be done for `all'. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/intl' :info:build Making all in po :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/po' :info:build make[2]: Nothing to be done for `all'. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/po' :info:build Making all in lib :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/lib' :info:build source='alloca.c' object='alloca.o' libtool=no \ :info:build depfile='.deps/alloca.Po' tmpdepfile='.deps/alloca.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f alloca.c || echo './'`alloca.c :info:build source='xmalloc.c' object='xmalloc.o' libtool=no \ :info:build depfile='.deps/xmalloc.Po' tmpdepfile='.deps/xmalloc.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f xmalloc.c || echo './'`xmalloc.c :info:build source='xstrdup.c' object='xstrdup.o' libtool=no \ :info:build depfile='.deps/xstrdup.Po' tmpdepfile='.deps/xstrdup.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f xstrdup.c || echo './'`xstrdup.c :info:build source='getopt1.c' object='getopt1.o' libtool=no \ :info:build depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f getopt1.c || echo './'`getopt1.c :info:build source='getopt.c' object='getopt.o' libtool=no \ :info:build depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f getopt.c || echo './'`getopt.c :info:build source='getoptstr.c' object='getoptstr.o' libtool=no \ :info:build depfile='.deps/getoptstr.Po' tmpdepfile='.deps/getoptstr.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f getoptstr.c || echo './'`getoptstr.c :info:build source='error.c' object='error.o' libtool=no \ :info:build depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f error.c || echo './'`error.c :info:build source='input.c' object='input.o' libtool=no \ :info:build depfile='.deps/input.Po' tmpdepfile='.deps/input.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f input.c || echo './'`input.c :info:build source='path.c' object='path.o' libtool=no \ :info:build depfile='.deps/path.Po' tmpdepfile='.deps/path.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f path.c || echo './'`path.c :info:build source='screen.c' object='screen.o' libtool=no \ :info:build depfile='.deps/screen.Po' tmpdepfile='.deps/screen.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f screen.c || echo './'`screen.c :info:build source='string.c' object='string.o' libtool=no \ :info:build depfile='.deps/string.Po' tmpdepfile='.deps/string.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f string.c || echo './'`string.c :info:build source='timer.c' object='timer.o' libtool=no \ :info:build depfile='.deps/timer.Po' tmpdepfile='.deps/timer.TPo' \ :info:build depmode=gcc3 /bin/sh ../depcomp \ :info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -I/opt/local/include -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -c `test -f timer.c || echo './'`timer.c :info:build getopt.c:410:30: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration] :info:build if (optind != argc && !strcmp (argv[optind], "--")) :info:build ^ :info:build getopt.c:410:30: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' :info:build getopt.c:488:32: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration] :info:build if (nameend - nextchar == strlen (p->name)) :info:build ^ :info:build getopt.c:488:32: note: include the header <string.h> or explicitly provide a declaration for 'strlen' :info:build 2 errors generated. :info:build make[2]: *** [getopt.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build xmalloc.c:78:3: error: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] :info:build abort (); :info:build ^ :info:build xmalloc.c:78:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort' :info:build 1 error generated. :info:build make[2]: *** [xmalloc.o] Error 1 :info:build screen.c:39:6: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build if (ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&size) < 0) :info:build ^ :info:build string.c:65:20: error: implicitly declaring library function 'strtoul' with type 'unsigned long (const char *, char **, int)' [-Werror,-Wimplicit-function-declaration] :info:build numeric = (size_t)strtoul(str, (char **)NULL, 10); :info:build ^ :info:build string.c:65:20: note: include the header <stdlib.h> or explicitly provide a declaration for 'strtoul' :info:build 1 error generated. :info:build string.c:246:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build destlen = (d) ? strlen(d) : 0; :info:build ^ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here :info:build size_t strlen(const char *__s); :info:build ^ :info:build error.c:76:8: error: implicit declaration of function 'realpath' is invalid in C99 [-Werror,-Wimplicit-function-declaration] :info:build if (!(realpath(name, resolved_path))) :info:build ^ :info:build 1 warning and 1 error generated. :info:build error.c:119:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build vsnprintf(msg, sizeof(msg), fmt, ap); :info:build ^~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/secure/_stdio.h:75:30: note: expanded from macro 'vsnprintf' :info:build __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap) :info:build ^~~ :info:build error.c:131:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] :info:build fputs(msg, stderr); // message :info:build ^~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/stdio.h:157:35: note: passing argument to parameter here :info:build int fputs(const char * __restrict, FILE * __restrict) __DARWIN_ALIAS(fputs); :info:build ^ :info:build error.c:155:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] :info:build exit(EXIT_FAILURE); :info:build ^ :info:build error.c:155:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' :info:build error.c:155:8: error: use of undeclared identifier 'EXIT_FAILURE' :info:build exit(EXIT_FAILURE); :info:build ^ :info:build 2 warnings and 3 errors generated. :info:build make[2]: *** [screen.o] Error 1 :info:build make[2]: *** [string.o] Error 1 :info:build make[2]: *** [error.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46/lib' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/work/yencode-0.46" && /usr/bin/make -j16 -w all :info:build Exit code: 2 :error:build Failed to build yencode: command execution failed :debug:build Error code: CHILDSTATUS 69735 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_news_yencode/yencode/main.log for details.
Change History (4)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | error: use of undeclared identifier 'EXIT_FAILURE' → yencode @0.46: error: use of undeclared identifier 'EXIT_FAILURE' |
---|
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 2 years ago by rehall
Nice Work! That's the best kind of fix: more lines out than in.
Note: See
TracTickets for help on using
tickets.
This software is 20½ years old so it's not surprising it's having trouble compiling on modern systems. Implicit declaration of functions became an error in Xcode 12; this software was evidently not written with that in mind. I will see what I can do.