[MacPorts] #63831: Unable to Upgrade postgresql13 on Lion -- Configuration Stage Fails and Also BREAKS sudo port
MacPorts
noreply at macports.org
Sun Nov 7 15:31:24 UTC 2021
#63831: Unable to Upgrade postgresql13 on Lion -- Configuration Stage Fails and
Also BREAKS sudo port
--------------------+--------------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: lion | Port: postgresql13
--------------------+--------------------------
I am unable to upgrade postgresql13 on Lion. Fails the configuration
stage.
{{{
bash-3.2$ /usr/bin/sudo port -v upgrade postgresql13
---> Computing dependencies for postgresql13.
---> Fetching distfiles for postgresql13
---> Verifying checksums for postgresql13
---> Checksumming postgresql-13.4.tar.bz2
---> Extracting postgresql13
---> Extracting postgresql-13.4.tar.bz2
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/work"
&& /usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/postgresql13/postgresql-13.4.tar.bz2' |
/usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to postgresql13
---> Applying patch-no_doc.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/work/postgresql-13.4"
&& /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/postgresql13/files
/patch-no_doc.diff'
patching file GNUmakefile.in
---> Configuring postgresql13
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/work/postgresql-13.4"
&& ./configure --prefix=/opt/local PG_SYSROOT=disabled
--sysconfdir=/opt/local/etc/postgresql13
--bindir=/opt/local/lib/postgresql13/bin
--libdir=/opt/local/lib/postgresql13
--includedir=/opt/local/include/postgresql13
--datadir=/opt/local/share/postgresql13
--docdir=/opt/local/share/doc/postgresql13 --mandir=/opt/local/share/man
--with-includes=/opt/local/include --with-libraries=/opt/local/lib --with-
openssl --with-bonjour --with-readline --with-zlib --with-libxml --with-
libxslt --with-gssapi --enable-thread-safety --with-uuid=e2fs --with-icu
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
checking which template to use... darwin
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
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 we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking for /usr/bin/clang option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking for gawk... gawk
checking whether /usr/bin/clang supports -Wdeclaration-after-statement,
for CFLAGS... yes
checking whether /usr/bin/clang supports -Werror=vla, for CFLAGS... yes
checking whether /usr/bin/clang supports -Wendif-labels, for CFLAGS... yes
checking whether /usr/bin/clang++ supports -Wendif-labels, for CXXFLAGS...
yes
checking whether /usr/bin/clang supports -Wmissing-format-attribute, for
CFLAGS... yes
checking whether /usr/bin/clang++ supports -Wmissing-format-attribute, for
CXXFLAGS... yes
checking whether /usr/bin/clang supports -Wimplicit-fallthrough=3, for
CFLAGS... no
checking whether /usr/bin/clang++ supports -Wimplicit-fallthrough=3, for
CXXFLAGS... no
checking whether /usr/bin/clang supports -Wformat-security, for CFLAGS...
yes
checking whether /usr/bin/clang++ supports -Wformat-security, for
CXXFLAGS... yes
checking whether /usr/bin/clang supports -fno-strict-aliasing, for
CFLAGS... yes
checking whether /usr/bin/clang++ supports -fno-strict-aliasing, for
CXXFLAGS... yes
checking whether /usr/bin/clang supports -fwrapv, for CFLAGS... yes
checking whether /usr/bin/clang++ supports -fwrapv, for CXXFLAGS... yes
checking whether /usr/bin/clang supports -fexcess-precision=standard, for
CFLAGS... no
checking whether /usr/bin/clang++ supports -fexcess-precision=standard,
for CXXFLAGS... no
checking whether /usr/bin/clang supports -funroll-loops, for
CFLAGS_VECTOR... yes
checking whether /usr/bin/clang supports -ftree-vectorize, for
CFLAGS_VECTOR... no
checking whether /usr/bin/clang supports -Wunused-command-line-argument,
for NOT_THE_CFLAGS... yes
checking whether /usr/bin/clang supports -Wformat-truncation, for
NOT_THE_CFLAGS... no
checking whether /usr/bin/clang supports -Wstringop-truncation, for
NOT_THE_CFLAGS... no
checking whether the C compiler still works... yes
checking how to run the C preprocessor... /usr/bin/clang -E
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking allow thread-safe client libraries... yes
checking whether to build with ICU support... yes
checking for icu-uc icu-i18n... yes
checking whether to build with Tcl... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build with GSSAPI support... yes
checking whether to build with PAM support... no
checking whether to build with BSD Authentication support... no
checking whether to build with LDAP support... no
checking whether to build with Bonjour support... yes
checking whether to build with OpenSSL support... yes
checking whether to build with SELinux support... no
checking whether to build with systemd support... no
checking whether to build with XML support... yes
checking for libxml-2.0 >= 2.6.23... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for ranlib... ranlib
checking for strip... strip
checking whether it is possible to strip libraries... yes
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/install -c
checking for tar... /usr/bin/tar
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for bison... /opt/local/bin/bison
configure: using bison (GNU Bison) 3.8.2
checking for flex... /opt/local/bin/flex
configure: using flex 2.6.4
checking for perl... /opt/local/bin/perl
configure: using perl 5.28.3
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /opt/local/bin/ggrep
checking for egrep... /opt/local/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether /usr/bin/clang is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning
when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for strerror_r... yes
checking for getpwuid_r... yes
checking for gethostbyname_r... no
checking whether strerror_r returns int... yes
checking for main in -lm... yes
checking for library containing setproctitle... no
checking for library containing dlopen... none required
checking for library containing socket... none required
checking for library containing shl_load... no
checking for library containing getopt_long... none required
checking for library containing shm_open... none required
checking for library containing shm_unlink... none required
checking for library containing clock_gettime... no
checking for library containing fdatasync... none required
checking for library containing sched_yield... none required
checking for library containing gethostbyname_r... no
checking for library containing shmget... none required
checking for library containing backtrace_symbols... none required
checking for library containing readline... -lreadline
checking for inflate in -lz... yes
checking for library containing gss_init_sec_context... -lgssapi_krb5
checking for CRYPTO_new_ex_data in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for X509_get_signature_nid... yes
checking for OPENSSL_init_ssl... yes
checking for BIO_get_data... yes
checking for BIO_meth_new... yes
checking for ASN1_STRING_get0_data... yes
checking for CRYPTO_lock... no
checking for xmlSaveToBuffer in -lxml2... yes
checking for xsltCleanupGlobals in -lxslt... yes
checking for uuid_generate... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking atomic.h usability... no
checking atomic.h presence... no
checking for atomic.h... no
checking copyfile.h usability... yes
checking copyfile.h presence... yes
checking for copyfile.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbarrier.h usability... no
checking mbarrier.h presence... no
checking for mbarrier.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/procctl.h usability... no
checking sys/procctl.h presence... no
checking for sys/procctl.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/tas.h usability... no
checking sys/tas.h presence... no
checking for sys/tas.h... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for net/if.h... yes
checking for sys/ucred.h... yes
checking for netinet/tcp.h... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
checking libxslt/xslt.h usability... yes
checking libxslt/xslt.h presence... yes
checking for libxslt/xslt.h... yes
checking dns_sd.h usability... yes
checking dns_sd.h presence... yes
checking for dns_sd.h... yes
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for printf format archetype... printf
checking for __func__... yes
checking for _Static_assert... yes
checking for typeof... typeof
checking for __builtin_types_compatible_p... yes
checking for __builtin_constant_p... yes
checking for __builtin_unreachable... yes
checking for computed goto support... yes
checking for struct tm.tm_zone... yes
checking for union semun... yes
checking for struct sockaddr_un... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... yes
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... yes
checking for struct addrinfo... yes
checking for locale_t... yes (in xlocale.h)
checking for C/C++ restrict keyword... __restrict
checking for struct cmsgcred... no
checking for struct option... yes
checking for z_streamp... yes
checking whether assembler supports x86_64 popcntq... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of off_t... 0
checking size of bool... 0
checking for int timezone... yes
checking types of arguments for accept()... int, int, struct sockaddr *,
socklen_t *
checking whether gettimeofday takes only one argument... no
checking for wcstombs_l declaration... yes (in xlocale.h)
checking for backtrace_symbols... yes
checking for clock_gettime... no
checking for copyfile... yes
checking for fdatasync... yes
checking for getifaddrs... yes
checking for getpeerucred... no
checking for getrlimit... yes
checking for kqueue... yes
checking for mbstowcs_l... yes
checking for memset_s... no
checking for poll... yes
checking for posix_fallocate... no
checking for ppoll... no
checking for pstat... no
checking for pthread_is_threaded_np... yes
checking for readlink... yes
checking for setproctitle... no
checking for setproctitle_fast... no
checking for setsid... yes
checking for shm_open... yes
checking for strchrnul... no
checking for strsignal... yes
checking for symlink... yes
checking for sync_file_range... no
checking for uselocale... yes
checking for wcstombs_l... yes
checking for __builtin_bswap16... no
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_ctz... yes
checking for __builtin_popcount... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking how /usr/bin/clang reports undeclared, standard C functions...
warning
checking for posix_fadvise... no
checking whether posix_fadvise is declared... no
checking whether fdatasync is declared... no
checking whether strlcat is declared... yes
checking whether strlcpy is declared... yes
checking whether strnlen is declared... yes
checking whether F_FULLFSYNC is declared... yes
checking whether RTLD_GLOBAL is declared... yes
checking whether RTLD_NOW is declared... yes
checking for struct sockaddr_in6... yes
checking for PS_STRINGS... no
checking for dlopen... yes
checking for explicit_bzero... no
checking for fls... yes
checking for getopt... yes
checking for getpeereid... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for link... yes
checking for mkdtemp... yes
checking for pread... yes
checking for pwrite... yes
checking for random... yes
checking for srandom... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strnlen... yes
checking for strtof... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getaddrinfo... yes
checking for getopt_long... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for opterr... yes
checking for optreset... yes
checking for strtoll... yes
checking for strtoull... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... yes
checking unicode/ucol.h usability... yes
checking unicode/ucol.h presence... yes
checking for unicode/ucol.h... yes
checking for rl_completion_append_character... yes
checking for rl_completion_suppress_quote... yes
checking for rl_filename_quote_characters... yes
checking for rl_filename_quoting_function... yes
checking for rl_completion_matches... yes
checking for rl_filename_completion_function... yes
checking for rl_reset_screen_size... yes
checking for append_history... yes
checking for history_truncate_file... yes
checking test program... failed
configure: error:
Could not execute a simple test program. This may be a problem
related to locating shared libraries. Check the file 'config.log'
for the exact reason.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/work/postgresql-13.4"
&& ./configure --prefix=/opt/local PG_SYSROOT=disabled
--sysconfdir=/opt/local/etc/postgresql13
--bindir=/opt/local/lib/postgresql13/bin
--libdir=/opt/local/lib/postgresql13
--includedir=/opt/local/include/postgresql13
--datadir=/opt/local/share/postgresql13
--docdir=/opt/local/share/doc/postgresql13 --mandir=/opt/local/share/man
--with-includes=/opt/local/include --with-libraries=/opt/local/lib --with-
openssl --with-bonjour --with-readline --with-zlib --with-libxml --with-
libxslt --with-gssapi --enable-thread-safety --with-uuid=e2fs --with-icu
Exit code: 1
Error: Failed to configure postgresql13: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/work/postgresql-13.4/config.log
Error: Failed to configure postgresql13: configure failure: command
execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql13/postgresql13/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
bash-3.2$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63831>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list