Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63074 closed defect (fixed)

configure: error: "Failed to run sqlite3_libversion_number test program" during `port selfupdate` on linux

Reported by: arjunsalyan (Arjun Salyan) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc: arjunsalyan (Arjun Salyan), mojca (Mojca Miklavec), evanmiller (Evan Miller)
Port:

Description

I have an installation of base 2.6.99 on Linux.

Now port selfupdate is failing while trying to install 2.7.1

checking for SQLite version at runtime... configure: error: "Failed to run sqlite3_libversion_number test program"
Command failed: ./configure --prefix=/opt/local --with-install-user=root --with-install-group=root --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 1
Error: Error installing new MacPorts base: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

Change History (17)

comment:1 Changed 3 years ago by arjunsalyan (Arjun Salyan)

Cc: arjunsalyan added

comment:2 Changed 3 years ago by jmroot (Joshua Root)

config.log will have the details of how it failed.

comment:3 Changed 3 years ago by arjunsalyan (Arjun Salyan)

Really sorry that I am posting the contents of the file as a whole, but I could not really make much out of it.

  $ ./configure --prefix=/opt/local --with-install-user=root --with-install-group=root --with-directory-mode=0755 --enable-readline

## --------- ##
## Platform. ##
## --------- ##

hostname = server1.arjunsalyan.com
uname -m = x86_64
uname -r = 5.4.0
uname -s = Linux
uname -v = #1 SMP Fri Nov 20 21:47:55 MSK 2020

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin/
PATH: /opt/local/sbin/
PATH: /bin/
PATH: /sbin/
PATH: /usr/bin/
PATH: /usr/sbin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2587: looking for aux files: install-sh config.guess config.sub
configure:2600:  trying ./
configure:2611:   ./install-sh found
configure:2629:   ./config.guess found
configure:2629:   ./config.sub found
configure:2751: checking build system type
configure:2766: result: x86_64-pc-linux-gnu
configure:2786: checking host system type
configure:2800: result: x86_64-pc-linux-gnu
configure:2820: checking target system type
configure:2834: result: x86_64-pc-linux-gnu
configure:2862: checking MacPorts version
configure:2865: result: 2.7.1
configure:2985: checking for sw_vers
configure:3023: result: no
configure:3030: checking for defaults
configure:3068: result: no
configure:3075: checking for xcode-select
configure:3113: result: no
configure:3161: checking Xcode location
configure:3173: result: /Developer
configure:3284: checking for clang
configure:3319: result: no
configure:3284: checking for cc
configure:3305: found /usr/bin/cc
configure:3316: result: cc
configure:3347: checking for C compiler version
configure:3356: cc --version >&5
cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3367: $? = 0
configure:3356: cc -v >&5
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 
configure:3367: $? = 0
configure:3356: cc -V >&5
cc: error: unrecognized command line option '-V'
cc: fatal error: no input files
compilation terminated.
configure:3367: $? = 1
configure:3356: cc -qversion >&5
cc: error: unrecognized command line option '-qversion'; did you mean '--version'?
cc: fatal error: no input files
compilation terminated.
configure:3367: $? = 1
configure:3356: cc -version >&5
cc: error: unrecognized command line option '-version'
cc: fatal error: no input files
compilation terminated.
configure:3367: $? = 1
configure:3387: checking whether the C compiler works
configure:3409: cc    conftest.c  >&5
configure:3413: $? = 0
configure:3463: result: yes
configure:3466: checking for C compiler default output file name
configure:3468: result: a.out
configure:3474: checking for suffix of executables
configure:3481: cc -o conftest    conftest.c  >&5
configure:3485: $? = 0
configure:3508: result: 
configure:3530: checking whether we are cross compiling
configure:3538: cc -o conftest    conftest.c  >&5
configure:3542: $? = 0
configure:3549: ./conftest
configure:3553: $? = 0
configure:3568: result: no
configure:3573: checking for suffix of object files
configure:3596: cc -c   conftest.c >&5
configure:3600: $? = 0
configure:3622: result: o
configure:3626: checking whether the compiler supports GNU C
configure:3646: cc -c   conftest.c >&5
configure:3646: $? = 0
configure:3656: result: yes
configure:3667: checking whether cc accepts -g
configure:3688: cc -c -g  conftest.c >&5
configure:3688: $? = 0
configure:3732: result: yes
configure:3752: checking for cc option to enable C11 features
configure:3767: cc  -c -g -O2  conftest.c >&5
configure:3767: $? = 0
configure:3785: result: none needed
configure:3910: checking for a BSD-compatible install
configure:3983: result: /usr/bin/install -c
configure:3994: checking whether ln -s works
configure:3998: result: yes
configure:4005: checking whether make sets $(MAKE)
configure:4028: result: yes
configure:4158: checking for bsdmake
configure:4196: result: no
configure:4158: checking for pmake
configure:4196: result: no
configure:4206: checking for bzip2
configure:4229: found /bin/bzip2
configure:4241: result: /bin/bzip2
configure:4251: checking for bzr
configure:4289: result: no
configure:4296: checking for chown
configure:4320: found /bin/chown
configure:4332: result: /bin/chown
configure:4342: checking for cp
configure:4365: found /bin/cp
configure:4377: result: /bin/cp
configure:4387: checking for cpio
configure:4425: result: no
configure:4432: checking for cvs
configure:4470: result: no
configure:4477: checking for diff
configure:4500: found /usr/bin/diff
configure:4512: result: /usr/bin/diff
configure:4522: checking for dscl
configure:4560: result: no
configure:4567: checking for dseditgroup
configure:4606: result: no
configure:4613: checking for file
configure:4636: found /usr/bin/file
configure:4648: result: /usr/bin/file
configure:4658: checking for find
configure:4681: found /usr/bin/find
configure:4693: result: /usr/bin/find
configure:4703: checking for git
configure:4726: found /usr/bin/git
configure:4738: result: /usr/bin/git
configure:4750: checking for gnumake
configure:4773: found /usr/bin/gnumake
configure:4785: result: /usr/bin/gnumake
configure:4800: checking for gnupatch
configure:4838: result: no
configure:4800: checking for gpatch
configure:4838: result: no
configure:4850: checking for gnutar
configure:4888: result: no
configure:4850: checking for gtar
configure:4888: result: no
configure:4898: checking for gzip
configure:4921: found /bin/gzip
configure:4933: result: /bin/gzip
configure:4943: checking for hdiutil
configure:4981: result: no
configure:4988: checking for hg
configure:5026: result: no
configure:5033: checking for launchctl
configure:5071: result: no
configure:5078: checking for lipo
configure:5116: result: no
configure:5123: checking for lsbom
configure:5161: result: no
configure:5168: checking for lzma
configure:5191: found /usr/bin/lzma
configure:5203: result: /usr/bin/lzma
configure:5213: checking for make
configure:5236: found /usr/bin/make
configure:5248: result: /usr/bin/make
configure:5258: checking for man
configure:5296: result: no
configure:5303: checking for mdfind
configure:5341: result: no
configure:5348: checking for mdls
configure:5386: result: no
configure:5393: checking for mkbom
configure:5431: result: no
configure:5440: checking for mtree
configure:5479: result: no
configure:5440: checking for fmtree
configure:5464: found /usr/bin/fmtree
configure:5476: result: /usr/bin/fmtree
configure:5489: checking for open
configure:5527: result: no
configure:5534: checking for openssl
configure:5557: found /usr/bin/openssl
configure:5569: result: /usr/bin/openssl
configure:5579: checking for patch
configure:5602: found /usr/bin/patch
configure:5614: result: /usr/bin/patch
configure:5624: checking for pax
configure:5662: result: no
configure:5669: checking for rmdir
configure:5692: found /bin/rmdir
configure:5704: result: /bin/rmdir
configure:5714: checking for rsync
configure:5737: found /usr/bin/rsync
configure:5749: result: /usr/bin/rsync
configure:5759: checking for sandbox-exec
configure:5797: result: no
configure:5804: checking for sed
configure:5827: found /bin/sed
configure:5839: result: /bin/sed
configure:5849: checking for swig
configure:5887: result: no
configure:5894: checking for tar
configure:5917: found /bin/tar
configure:5929: result: /bin/tar
configure:5939: checking for unzip
configure:5962: found /usr/bin/unzip
configure:5974: result: /usr/bin/unzip
configure:5984: checking for xar
configure:6022: result: no
configure:6029: checking for xcodebuild
configure:6067: result: no
configure:6074: checking for xcrun
configure:6112: result: no
configure:6119: checking for xz
configure:6142: found /usr/bin/xz
configure:6154: result: /usr/bin/xz
configure:6164: checking for zip
configure:6187: found /usr/bin/zip
configure:6199: result: /usr/bin/zip
configure:6215: checking for tar
configure:6250: result: /bin/tar
configure:6259: checking whether tar supports -q
configure:6266: result: no (gnutar)
configure:6275: checking for tar
configure:6310: result: /bin/tar
configure:6320: checking for gnutar
configure:6358: result: no
configure:6364: checking for which tar variant to use
configure:6372: result: /bin/tar
configure:6376: checking for /bin/tar --no-same-owner support
configure:6383: result: yes
configure:6391: checking for patch
configure:6426: result: /usr/bin/patch
configure:6436: checking for gpatch
configure:6474: result: no
configure:6480: checking for GNU (FSF) patch
configure:6493: result: /usr/bin/patch
configure:6526: checking how to mark unused variables
configure:6532: cc -c -g -O2  conftest.c >&5
configure:6532: $? = 0
configure:6543: result: 
configure:6551: checking for CoreFoundation framework
configure:6580: cc -o conftest -g -O2   conftest.c -framework CoreFoundation  >&5
cc: error: CoreFoundation: No such file or directory
cc: error: unrecognized command line option '-framework'
configure:6580: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| /* end confdefs.h.  */
| 
| 
| 					#include <CoreFoundation/CoreFoundation.h>
| 
| int
| main (void)
| {
| 
| 					CFURLRef url = CFURLCreateWithFileSystemPath(NULL, CFSTR("/testing"), kCFURLPOSIXPathStyle, 1);
| 					CFArrayRef bundles = CFBundleCreateBundlesFromDirectory(NULL, url, CFSTR("pkg"));
| 
|   ;
|   return 0;
| }
| 
configure:6599: result: no
configure:6614: checking for SystemConfiguration framework
configure:6643: cc -o conftest -g -O2   conftest.c -framework SystemConfiguration  >&5
cc: error: SystemConfiguration: No such file or directory
cc: error: unrecognized command line option '-framework'
configure:6643: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| /* end confdefs.h.  */
| 
| 
| 					#include <SystemConfiguration/SystemConfiguration.h>
| 
| int
| main (void)
| {
| 
| 					int err = SCError();
| 					SCDynamicStoreRef dsRef = SCDynamicStoreCreate(NULL, NULL, NULL, NULL);
| 
|   ;
|   return 0;
| }
| 
configure:6662: result: no
configure:6677: checking for IOKit framework
configure:6707: cc -o conftest -g -O2   conftest.c -framework IOKit  >&5
cc: error: IOKit: No such file or directory
cc: error: unrecognized command line option '-framework'
configure:6707: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| /* end confdefs.h.  */
| 
| 
| 					#include <IOKit/IOKitLib.h>
| 					#include <IOKit/pwr_mgt/IOPMLib.h>
| 
| int
| main (void)
| {
| 
| 					IOCreateReceivePort(0, NULL);
| 					IORegisterForSystemPower(0, NULL, NULL, NULL);
| 
|   ;
|   return 0;
| }
| 
configure:6726: result: no
configure:6741: checking for CFNotificationCenterGetDarwinNotifyCenter
configure:6769: cc -o conftest -g -O2   conftest.c -framework CoreFoundation  >&5
cc: error: CoreFoundation: No such file or directory
cc: error: unrecognized command line option '-framework'
configure:6769: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| /* end confdefs.h.  */
| 
| 
| 					#include <CoreFoundation/CoreFoundation.h>
| 
| int
| main (void)
| {
| 
| 					CFNotificationCenterRef ref = CFNotificationCenterGetDarwinNotifyCenter();
| 
|   ;
|   return 0;
| }
| 
configure:6788: result: no
configure:6805: checking for whether we will build daemondo
configure:6822: result: no
configure:6846: checking for MacPorts config directory
configure:6851: result: ${sysconfdir}/macports
configure:6910: checking for install user
configure:6916: result: root
configure:6931: checking for install group
configure:6950: result: root
configure:6965: checking for macports user
configure:6971: result: macports
configure:6986: checking what permissions to use for installation directories
configure:6992: result: 0755
configure:7034: checking for Applications installation directory
configure:7045: result: /Applications/MacPorts
configure:7065: checking for Frameworks installation directory
configure:7072: result: /opt/local/Library/Frameworks
configure:7088: checking for startupitem_install
configure:7101: result: yes
configure:7141: checking for Universal CPU architectures
configure:7143: result: arm64 x86_64
configure:7154: checking for stdio.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for stdlib.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for string.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for inttypes.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for stdint.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for strings.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for sys/stat.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for sys/types.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7154: checking for unistd.h
configure:7154: cc -c -g -O2  conftest.c >&5
configure:7154: $? = 0
configure:7154: result: yes
configure:7179: checking for crt_externs.h
configure:7179: cc -c -g -O2  conftest.c >&5
conftest.c:48:10: fatal error: crt_externs.h: No such file or directory
 #include <crt_externs.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
configure:7179: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <crt_externs.h>
configure:7179: result: no
configure:7185: checking for err.h
configure:7185: cc -c -g -O2  conftest.c >&5
configure:7185: $? = 0
configure:7185: result: yes
configure:7191: checking for fcntl.h
configure:7191: cc -c -g -O2  conftest.c >&5
configure:7191: $? = 0
configure:7191: result: yes
configure:7197: checking for libkern/OSAtomic.h
configure:7197: cc -c -g -O2  conftest.c >&5
conftest.c:50:10: fatal error: libkern/OSAtomic.h: No such file or directory
 #include <libkern/OSAtomic.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7197: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libkern/OSAtomic.h>
configure:7197: result: no
configure:7203: checking for libproc.h
configure:7203: cc -c -g -O2  conftest.c >&5
conftest.c:50:10: fatal error: libproc.h: No such file or directory
 #include <libproc.h>
          ^~~~~~~~~~~
compilation terminated.
configure:7203: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libproc.h>
configure:7203: result: no
configure:7209: checking for limits.h
configure:7209: cc -c -g -O2  conftest.c >&5
configure:7209: $? = 0
configure:7209: result: yes
configure:7215: checking for paths.h
configure:7215: cc -c -g -O2  conftest.c >&5
configure:7215: $? = 0
configure:7215: result: yes
configure:7221: checking for pwd.h
configure:7221: cc -c -g -O2  conftest.c >&5
configure:7221: $? = 0
configure:7221: result: yes
configure:7227: checking for readline/history.h
configure:7227: cc -c -g -O2  conftest.c >&5
conftest.c:53:10: fatal error: readline/history.h: No such file or directory
 #include <readline/history.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7227: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <readline/history.h>
configure:7227: result: no
configure:7233: checking for readline/readline.h
configure:7233: cc -c -g -O2  conftest.c >&5
conftest.c:53:10: fatal error: readline/readline.h: No such file or directory
 #include <readline/readline.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7233: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <readline/readline.h>
configure:7233: result: no
configure:7239: checking for stdatomic.h
configure:7239: cc -c -g -O2  conftest.c >&5
configure:7239: $? = 0
configure:7239: result: yes
configure:7245: checking for spawn.h
configure:7245: cc -c -g -O2  conftest.c >&5
configure:7245: $? = 0
configure:7245: result: yes
configure:7251: checking for sys/cdefs.h
configure:7251: cc -c -g -O2  conftest.c >&5
configure:7251: $? = 0
configure:7251: result: yes
configure:7257: checking for sys/event.h
configure:7257: cc -c -g -O2  conftest.c >&5
conftest.c:56:10: fatal error: sys/event.h: No such file or directory
 #include <sys/event.h>
          ^~~~~~~~~~~~~
compilation terminated.
configure:7257: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/event.h>
configure:7257: result: no
configure:7263: checking for sys/fcntl.h
configure:7263: cc -c -g -O2  conftest.c >&5
configure:7263: $? = 0
configure:7263: result: yes
configure:7269: checking for sys/file.h
configure:7269: cc -c -g -O2  conftest.c >&5
configure:7269: $? = 0
configure:7269: result: yes
configure:7275: checking for sys/paths.h
configure:7275: cc -c -g -O2  conftest.c >&5
conftest.c:58:10: fatal error: sys/paths.h: No such file or directory
 #include <sys/paths.h>
          ^~~~~~~~~~~~~
compilation terminated.
configure:7275: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/paths.h>
configure:7275: result: no
configure:7281: checking for sys/socket.h
configure:7281: cc -c -g -O2  conftest.c >&5
configure:7281: $? = 0
configure:7281: result: yes
configure:7287: checking for sys/sysctl.h
configure:7287: cc -c -g -O2  conftest.c >&5
configure:7287: $? = 0
configure:7287: result: yes
configure:7293: checking for utime.h
configure:7293: cc -c -g -O2  conftest.c >&5
configure:7293: $? = 0
configure:7293: result: yes
configure:7302: checking for OSAtomicCompareAndSwap32
configure:7302: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccLNH3rj.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:60: undefined reference to `OSAtomicCompareAndSwap32'
collect2: error: ld returned 1 exit status
configure:7302: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| /* end confdefs.h.  */
| /* Define OSAtomicCompareAndSwap32 to an innocuous variant, in case <limits.h> declares OSAtomicCompareAndSwap32.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define OSAtomicCompareAndSwap32 innocuous_OSAtomicCompareAndSwap32
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char OSAtomicCompareAndSwap32 (); below.  */
| 
| #include <limits.h>
| #undef OSAtomicCompareAndSwap32
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char OSAtomicCompareAndSwap32 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_OSAtomicCompareAndSwap32 || defined __stub___OSAtomicCompareAndSwap32
| choke me
| #endif
| 
| int
| main (void)
| {
| return OSAtomicCompareAndSwap32 ();
|   ;
|   return 0;
| }
configure:7302: result: no
configure:7308: checking for OSAtomicCompareAndSwap64
configure:7308: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccLEjsdn.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:60: undefined reference to `OSAtomicCompareAndSwap64'
collect2: error: ld returned 1 exit status
configure:7308: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| /* end confdefs.h.  */
| /* Define OSAtomicCompareAndSwap64 to an innocuous variant, in case <limits.h> declares OSAtomicCompareAndSwap64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define OSAtomicCompareAndSwap64 innocuous_OSAtomicCompareAndSwap64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char OSAtomicCompareAndSwap64 (); below.  */
| 
| #include <limits.h>
| #undef OSAtomicCompareAndSwap64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char OSAtomicCompareAndSwap64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_OSAtomicCompareAndSwap64 || defined __stub___OSAtomicCompareAndSwap64
| choke me
| #endif
| 
| int
| main (void)
| {
| return OSAtomicCompareAndSwap64 ();
|   ;
|   return 0;
| }
configure:7308: result: no
configure:7314: checking for OSAtomicCompareAndSwapPtr
configure:7314: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccRDgbFs.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:60: undefined reference to `OSAtomicCompareAndSwapPtr'
collect2: error: ld returned 1 exit status
configure:7314: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| /* end confdefs.h.  */
| /* Define OSAtomicCompareAndSwapPtr to an innocuous variant, in case <limits.h> declares OSAtomicCompareAndSwapPtr.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define OSAtomicCompareAndSwapPtr innocuous_OSAtomicCompareAndSwapPtr
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char OSAtomicCompareAndSwapPtr (); below.  */
| 
| #include <limits.h>
| #undef OSAtomicCompareAndSwapPtr
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char OSAtomicCompareAndSwapPtr ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_OSAtomicCompareAndSwapPtr || defined __stub___OSAtomicCompareAndSwapPtr
| choke me
| #endif
| 
| int
| main (void)
| {
| return OSAtomicCompareAndSwapPtr ();
|   ;
|   return 0;
| }
configure:7314: result: no
configure:7320: checking for __getdirentries64
configure:7320: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccUatSuB.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:60: undefined reference to `__getdirentries64'
collect2: error: ld returned 1 exit status
configure:7320: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| /* end confdefs.h.  */
| /* Define __getdirentries64 to an innocuous variant, in case <limits.h> declares __getdirentries64.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define __getdirentries64 innocuous___getdirentries64
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char __getdirentries64 (); below.  */
| 
| #include <limits.h>
| #undef __getdirentries64
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __getdirentries64 ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub___getdirentries64 || defined __stub_____getdirentries64
| choke me
| #endif
| 
| int
| main (void)
| {
| return __getdirentries64 ();
|   ;
|   return 0;
| }
configure:7320: result: no
configure:7326: checking for clearenv
configure:7326: cc -o conftest -g -O2   conftest.c  >&5
configure:7326: $? = 0
configure:7326: result: yes
configure:7332: checking for copyfile
configure:7332: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccGGrunM.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:61: undefined reference to `copyfile'
collect2: error: ld returned 1 exit status
configure:7332: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| /* end confdefs.h.  */
| /* Define copyfile to an innocuous variant, in case <limits.h> declares copyfile.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define copyfile innocuous_copyfile
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char copyfile (); below.  */
| 
| #include <limits.h>
| #undef copyfile
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char copyfile ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_copyfile || defined __stub___copyfile
| choke me
| #endif
| 
| int
| main (void)
| {
| return copyfile ();
|   ;
|   return 0;
| }
configure:7332: result: no
configure:7338: checking for _dyld_shared_cache_contains_path
configure:7338: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccfFapIR.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:61: undefined reference to `_dyld_shared_cache_contains_path'
collect2: error: ld returned 1 exit status
configure:7338: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| /* end confdefs.h.  */
| /* Define _dyld_shared_cache_contains_path to an innocuous variant, in case <limits.h> declares _dyld_shared_cache_contains_path.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define _dyld_shared_cache_contains_path innocuous__dyld_shared_cache_contains_path
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char _dyld_shared_cache_contains_path (); below.  */
| 
| #include <limits.h>
| #undef _dyld_shared_cache_contains_path
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char _dyld_shared_cache_contains_path ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub__dyld_shared_cache_contains_path || defined __stub____dyld_shared_cache_contains_path
| choke me
| #endif
| 
| int
| main (void)
| {
| return _dyld_shared_cache_contains_path ();
|   ;
|   return 0;
| }
configure:7338: result: no
configure:7344: checking for flock
configure:7344: cc -o conftest -g -O2   conftest.c  >&5
configure:7344: $? = 0
configure:7344: result: yes
configure:7350: checking for fls
configure:7350: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccfAhKE5.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:62: undefined reference to `fls'
collect2: error: ld returned 1 exit status
configure:7350: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| /* end confdefs.h.  */
| /* Define fls to an innocuous variant, in case <limits.h> declares fls.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define fls innocuous_fls
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char fls (); below.  */
| 
| #include <limits.h>
| #undef fls
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fls ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_fls || defined __stub___fls
| choke me
| #endif
| 
| int
| main (void)
| {
| return fls ();
|   ;
|   return 0;
| }
configure:7350: result: no
configure:7356: checking for kqueue
configure:7356: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccRsAkYa.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:62: undefined reference to `kqueue'
collect2: error: ld returned 1 exit status
configure:7356: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| /* end confdefs.h.  */
| /* Define kqueue to an innocuous variant, in case <limits.h> declares kqueue.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define kqueue innocuous_kqueue
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char kqueue (); below.  */
| 
| #include <limits.h>
| #undef kqueue
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char kqueue ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_kqueue || defined __stub___kqueue
| choke me
| #endif
| 
| int
| main (void)
| {
| return kqueue ();
|   ;
|   return 0;
| }
configure:7356: result: no
configure:7362: checking for posix_spawn
configure:7362: cc -o conftest -g -O2   conftest.c  >&5
configure:7362: $? = 0
configure:7362: result: yes
configure:7368: checking for setmode
configure:7368: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccpkrDGb.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:63: undefined reference to `setmode'
collect2: error: ld returned 1 exit status
configure:7368: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| /* end confdefs.h.  */
| /* Define setmode to an innocuous variant, in case <limits.h> declares setmode.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define setmode innocuous_setmode
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char setmode (); below.  */
| 
| #include <limits.h>
| #undef setmode
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char setmode ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_setmode || defined __stub___setmode
| choke me
| #endif
| 
| int
| main (void)
| {
| return setmode ();
|   ;
|   return 0;
| }
configure:7368: result: no
configure:7374: checking for sysctlbyname
configure:7374: cc -o conftest -g -O2   conftest.c  >&5
/tmp/cc2lptPj.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:63: undefined reference to `sysctlbyname'
collect2: error: ld returned 1 exit status
configure:7374: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| /* end confdefs.h.  */
| /* Define sysctlbyname to an innocuous variant, in case <limits.h> declares sysctlbyname.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sysctlbyname innocuous_sysctlbyname
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char sysctlbyname (); below.  */
| 
| #include <limits.h>
| #undef sysctlbyname
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sysctlbyname ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sysctlbyname || defined __stub___sysctlbyname
| choke me
| #endif
| 
| int
| main (void)
| {
| return sysctlbyname ();
|   ;
|   return 0;
| }
configure:7374: result: no
configure:7383: checking for getline
configure:7383: cc -o conftest -g -O2   conftest.c  >&5
configure:7383: $? = 0
configure:7383: result: yes
configure:7389: checking for getdelim
configure:7389: cc -o conftest -g -O2   conftest.c  >&5
configure:7389: $? = 0
configure:7389: result: yes
configure:7395: checking for strlcat
configure:7395: cc -o conftest -g -O2   conftest.c  >&5
/tmp/ccVq06Jx.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:65: undefined reference to `strlcat'
collect2: error: ld returned 1 exit status
configure:7395: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| /* end confdefs.h.  */
| /* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strlcat innocuous_strlcat
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char strlcat (); below.  */
| 
| #include <limits.h>
| #undef strlcat
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strlcat ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strlcat || defined __stub___strlcat
| choke me
| #endif
| 
| int
| main (void)
| {
| return strlcat ();
|   ;
|   return 0;
| }
configure:7395: result: no
configure:7401: checking for strlcpy
configure:7401: cc -o conftest -g -O2   conftest.c  >&5
/tmp/cciVutgG.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:65: undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status
configure:7401: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| /* end confdefs.h.  */
| /* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strlcpy innocuous_strlcpy
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char strlcpy (); below.  */
| 
| #include <limits.h>
| #undef strlcpy
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char strlcpy ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_strlcpy || defined __stub___strlcpy
| choke me
| #endif
| 
| int
| main (void)
| {
| return strlcpy ();
|   ;
|   return 0;
| }
configure:7401: result: no
configure:7417: checking for cc options needed to detect all undeclared functions
configure:7439: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:42:8: error: 'strchr' undeclared (first use in this function)
 (void) strchr;
        ^~~~~~
conftest.c:42:8: note: each undeclared identifier is reported only once for each function it appears in
configure:7439: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| (void) strchr;
|   ;
|   return 0;
| }
configure:7466: cc -c -g -O2   conftest.c >&5
configure:7466: $? = 0
configure:7483: result: none needed
configure:7497: checking whether atomic_compare_exchange_strong_explicit is declared
configure:7497: cc -c -g -O2   conftest.c >&5
configure:7497: $? = 0
configure:7497: result: yes
configure:7509: checking for CommonCrypto/CommonDigest.h
configure:7509: cc -c -g -O2  conftest.c >&5
conftest.c:67:10: fatal error: CommonCrypto/CommonDigest.h: No such file or directory
 #include <CommonCrypto/CommonDigest.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7509: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| /* end confdefs.h.  */
| #include <stddef.h>
| #ifdef HAVE_STDIO_H
| # include <stdio.h>
| #endif
| #ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <CommonCrypto/CommonDigest.h>
configure:7509: result: no
configure:7518: checking for MD5File in -lmd
configure:7541: cc -o conftest -g -O2   conftest.c -lmd   >&5
/usr/bin/ld: cannot find -lmd
collect2: error: ld returned 1 exit status
configure:7541: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char MD5File ();
| int
| main (void)
| {
| return MD5File ();
|   ;
|   return 0;
| }
configure:7551: result: no
configure:7605: checking for MD5_Update in -lcrypto
configure:7628: cc -o conftest -g -O2   conftest.c -lcrypto   >&5
configure:7628: $? = 0
configure:7638: result: yes
configure:7646: checking for openssl/md5.h
configure:7646: cc -c -g -O2  conftest.c >&5
configure:7646: $? = 0
configure:7646: result: yes
configure:7646: checking for openssl/sha.h
configure:7646: cc -c -g -O2  conftest.c >&5
configure:7646: $? = 0
configure:7646: result: yes
configure:7660: checking for openssl/ripemd.h
configure:7660: cc -c -g -O2  conftest.c >&5
configure:7660: $? = 0
configure:7660: result: yes
configure:7669: checking for SHA256_Update
configure:7669: cc -o conftest -g -O2   conftest.c -lcrypto  >&5
configure:7669: $? = 0
configure:7669: result: yes
configure:7698: checking for readline in -lreadline
configure:7721: cc -o conftest -g -O2   conftest.c -lreadline   >&5
/usr/bin/ld: cannot find -lreadline
collect2: error: ld returned 1 exit status
configure:7721: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char readline ();
| int
| main (void)
| {
| return readline ();
|   ;
|   return 0;
| }
configure:7731: result: no
configure:7743: checking whether rl_username_completion_function is declared
configure:7743: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:58:10: error: 'rl_username_completion_function' undeclared (first use in this function)
   (void) rl_username_completion_function;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:58:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7743: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef rl_username_completion_function
| #ifdef __cplusplus
|   (void) rl_username_completion_function;
| #else
|   (void) rl_username_completion_function;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7743: result: no
configure:7757: checking whether rl_filename_completion_function is declared
configure:7757: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:59:10: error: 'rl_filename_completion_function' undeclared (first use in this function)
   (void) rl_filename_completion_function;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:59:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7757: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef rl_filename_completion_function
| #ifdef __cplusplus
|   (void) rl_filename_completion_function;
| #else
|   (void) rl_filename_completion_function;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7757: result: no
configure:7771: checking whether rl_completion_matches is declared
configure:7771: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:60:10: error: 'rl_completion_matches' undeclared (first use in this function)
   (void) rl_completion_matches;
          ^~~~~~~~~~~~~~~~~~~~~
conftest.c:60:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7771: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef rl_completion_matches
| #ifdef __cplusplus
|   (void) rl_completion_matches;
| #else
|   (void) rl_completion_matches;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7771: result: no
configure:7785: checking whether username_completion_function is declared
configure:7785: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:61:10: error: 'username_completion_function' undeclared (first use in this function)
   (void) username_completion_function;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:61:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7785: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef username_completion_function
| #ifdef __cplusplus
|   (void) username_completion_function;
| #else
|   (void) username_completion_function;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7785: result: no
configure:7799: checking whether filename_completion_function is declared
configure:7799: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:62:10: error: 'filename_completion_function' undeclared (first use in this function)
   (void) filename_completion_function;
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:62:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7799: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| #define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef filename_completion_function
| #ifdef __cplusplus
|   (void) filename_completion_function;
| #else
|   (void) filename_completion_function;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7799: result: no
configure:7813: checking whether completion_matches is declared
configure:7813: cc -c -g -O2   conftest.c >&5
conftest.c: In function 'main':
conftest.c:63:10: error: 'completion_matches' undeclared (first use in this function)
   (void) completion_matches;
          ^~~~~~~~~~~~~~~~~~
conftest.c:63:10: note: each undeclared identifier is reported only once for each function it appears in
configure:7813: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| #define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_FILENAME_COMPLETION_FUNCTION 0
| /* end confdefs.h.  */
| 
| 	#include <stdio.h>
| 	#if HAVE_READLINE_READLINE_H
| 	# include <readline/readline.h>
| 	#endif
| 
| 
| int
| main (void)
| {
| #ifndef completion_matches
| #ifdef __cplusplus
|   (void) completion_matches;
| #else
|   (void) completion_matches;
| #endif
| #endif
| 
|   ;
|   return 0;
| }
configure:7813: result: no
configure:7844: checking for target platform
configure:7848: result: linux 5
configure:7867: checking for curl-config
configure:7890: found /usr/bin/curl-config
configure:7902: result: /usr/bin/curl-config
configure:7991: checking for sqlite3.h
configure:7991: cc -c -g -O2  conftest.c >&5
configure:7991: $? = 0
configure:7991: result: yes
configure:8065: checking for sqlite3ext.h
configure:8065: cc -c -g -O2   conftest.c >&5
configure:8065: $? = 0
configure:8065: result: yes
configure:8083: checking how to run the C preprocessor
configure:8109: cc -E  conftest.c
configure:8109: $? = 0
configure:8124: cc -E  conftest.c
conftest.c:53:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:8124: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| #define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_COMPLETION_MATCHES 0
| #define MIN_USABLE_UID 501
| #define MIN_USABLE_GID 501
| #define HAVE_SQLITE3EXT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8151: result: cc -E
configure:8165: cc -E  conftest.c
configure:8165: $? = 0
configure:8180: cc -E  conftest.c
conftest.c:53:10: fatal error: ac_nonexistent.h: No such file or directory
 #include <ac_nonexistent.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:8180: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| #define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_COMPLETION_MATCHES 0
| #define MIN_USABLE_UID 501
| #define MIN_USABLE_GID 501
| #define HAVE_SQLITE3EXT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:8214: checking for SQLite version in header
configure:8239: cc -E   conftest.c
configure:8239: $? = 0
configure:8251: result: 
configure:8255: checking for SQLite version at runtime
configure:8283: cc -o conftest -g -O2    -lsqlite3 conftest.c  >&5
/tmp/ccbZ5F6h.o: In function `main':
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/conftest.c:58: undefined reference to `sqlite3_libversion_number'
collect2: error: ld returned 1 exit status
configure:8283: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "MacPorts"
| #define PACKAGE_TARNAME "macports"
| #define PACKAGE_VERSION "2.7.1"
| #define PACKAGE_STRING "MacPorts 2.7.1"
| #define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
| #define PACKAGE_URL ""
| #define UNUSED __attribute__((unused))
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_STDATOMIC_H 1
| #define HAVE_SPAWN_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FCNTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_SYSCTL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_CLEARENV 1
| #define HAVE_FLOCK 1
| #define HAVE_POSIX_SPAWN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETDELIM 1
| #define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
| #define HAVE_OPENSSL_MD5_H 1
| #define HAVE_OPENSSL_SHA_H 1
| #define HAVE_OPENSSL_RIPEMD_H 1
| #define HAVE_SHA256_UPDATE 1
| #define HAVE_LIBCRYPTO /**/
| #define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_RL_COMPLETION_MATCHES 0
| #define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_FILENAME_COMPLETION_FUNCTION 0
| #define HAVE_DECL_COMPLETION_MATCHES 0
| #define MIN_USABLE_UID 501
| #define MIN_USABLE_GID 501
| #define HAVE_SQLITE3EXT_H 1
| /* end confdefs.h.  */
| 
| 				    #include <stdio.h>
| 					#include <sqlite3.h>
| 					int main(int argc, char* argv[])
| 					{
| 					    int vers = sqlite3_libversion_number();
| 					    if (argc > 1) {
| 					        printf("%d\n", vers);
| 					    }
| 					    return 0;
| 					}
| 
| 
configure:8287: error: "Failed to run sqlite3_libversion_number test program"

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_OSAtomicCompareAndSwap32=no
ac_cv_func_OSAtomicCompareAndSwap64=no
ac_cv_func_OSAtomicCompareAndSwapPtr=no
ac_cv_func_SHA256_Update=yes
ac_cv_func___getdirentries64=no
ac_cv_func__dyld_shared_cache_contains_path=no
ac_cv_func_clearenv=yes
ac_cv_func_copyfile=no
ac_cv_func_flock=yes
ac_cv_func_fls=no
ac_cv_func_getdelim=yes
ac_cv_func_getline=yes
ac_cv_func_kqueue=no
ac_cv_func_posix_spawn=yes
ac_cv_func_setmode=no
ac_cv_func_strlcat=no
ac_cv_func_strlcpy=no
ac_cv_func_sysctlbyname=no
ac_cv_have_decl_atomic_compare_exchange_strong_explicit=yes
ac_cv_have_decl_completion_matches=no
ac_cv_have_decl_filename_completion_function=no
ac_cv_have_decl_rl_completion_matches=no
ac_cv_have_decl_rl_filename_completion_function=no
ac_cv_have_decl_rl_username_completion_function=no
ac_cv_have_decl_username_completion_function=no
ac_cv_header_CommonCrypto_CommonDigest_h=no
ac_cv_header_crt_externs_h=no
ac_cv_header_err_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libkern_OSAtomic_h=no
ac_cv_header_libproc_h=no
ac_cv_header_limits_h=yes
ac_cv_header_openssl_md5_h=yes
ac_cv_header_openssl_ripemd_h=yes
ac_cv_header_openssl_sha_h=yes
ac_cv_header_paths_h=yes
ac_cv_header_pwd_h=yes
ac_cv_header_readline_history_h=no
ac_cv_header_readline_readline_h=no
ac_cv_header_spawn_h=yes
ac_cv_header_sqlite3_h=yes
ac_cv_header_sqlite3ext_h=yes
ac_cv_header_stdatomic_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_cdefs_h=yes
ac_cv_header_sys_event_h=no
ac_cv_header_sys_fcntl_h=yes
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_paths_h=no
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_sysctl_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_MD5_Update=yes
ac_cv_lib_md_MD5File=no
ac_cv_lib_readline_readline=no
ac_cv_objext=o
ac_cv_path_BZIP2_BIN=/bin/bzip2
ac_cv_path_CHOWN=/bin/chown
ac_cv_path_CP=/bin/cp
ac_cv_path_CURL_CONFIG=/usr/bin/curl-config
ac_cv_path_DIFF=/usr/bin/diff
ac_cv_path_FILE=/usr/bin/file
ac_cv_path_FIND=/usr/bin/find
ac_cv_path_GIT=/usr/bin/git
ac_cv_path_GNUMAKE=/usr/bin/gnumake
ac_cv_path_GZIP_BIN=/bin/gzip
ac_cv_path_LZMA=/usr/bin/lzma
ac_cv_path_MAKE=/usr/bin/make
ac_cv_path_MTREE=/usr/bin/fmtree
ac_cv_path_OPENSSL=/usr/bin/openssl
ac_cv_path_PATCH=/usr/bin/patch
ac_cv_path_RMDIR=/bin/rmdir
ac_cv_path_RSYNC=/usr/bin/rsync
ac_cv_path_SED=/bin/sed
ac_cv_path_TAR=/bin/tar
ac_cv_path_UNZIP=/usr/bin/unzip
ac_cv_path_XZ=/usr/bin/xz
ac_cv_path_ZIP=/usr/bin/zip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='cc -E'
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-pc-linux-gnu
mp_cv_have_framework_corefoundation=no
mp_cv_have_framework_iokit=no
mp_cv_have_framework_systemconfiguration=no
mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter=no
mp_cv_sqlite_version=

## ----------------- ##
## Output variables. ##
## ----------------- ##

BSDMAKE=''
BZIP2_BIN='/bin/bzip2'
BZR=''
CC='cc'
CFLAGS='-g -O2'
CFLAGS_LIBCURL=''
CFLAGS_PEDANTIC='-pedantic'
CFLAGS_QUICHEEATERS='-Wextra -Wall'
CFLAGS_SQLITE3=''
CFLAGS_WERROR=''
CHOWN='/bin/chown'
CP='/bin/cp'
CPIO=''
CPP='cc -E'
CPPFLAGS=' '
CURL_CONFIG='/usr/bin/curl-config'
CVS=''
DARWINTRACE_SIP_WORKAROUND_PATH=''
DEFAULTS=''
DEFS=''
DEVELOPER_DIR='/Developer'
DIFF='/usr/bin/diff'
DSCL=''
DSEDITGROUP=''
DSTGRP='root'
DSTMODE='0755'
DSTUSR='root'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_PROGS=''
FILE='/usr/bin/file'
FIND='/usr/bin/find'
GIT='/usr/bin/git'
GNUMAKE='/usr/bin/gnumake'
GNUPATCH='/usr/bin/patch'
GNUTAR=''
GREP=''
GZIP_BIN='/bin/gzip'
HAVE_FRAMEWORK_COREFOUNDATION='no'
HAVE_FRAMEWORK_IOKIT='no'
HAVE_FRAMEWORK_SYSTEMCONFIGURATION='no'
HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER=''
HAVE_GETDELIM='yes'
HAVE_GETLINE='yes'
HAVE_STRLCAT='no'
HAVE_STRLCPY='no'
HDIUTIL=''
HG=''
INCLUDES=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INTREE_TCLSH=''
LAUNCHCTL=''
LDFLAGS=' -lsqlite3'
LDFLAGS_LIBCURL='-lcurl'
LDFLAGS_SQLITE3='-lsqlite3'
LIBOBJS=''
LIBS=''
LIPO=''
LN_S='ln -s'
LSBOM=''
LTLIBOBJS=''
LZMA='/usr/bin/lzma'
MACPORTS_VERSION='2.7.1'
MAKE='/usr/bin/make'
MAN=''
MD5_LIBS='-lcrypto'
MDFIND=''
MDLS=''
MKBOM=''
MPAPPLICATIONSDIR='/Applications/MacPorts'
MPCONFIGDIR='${sysconfdir}/macports'
MPCONFIGDIR_EXPANDED=''
MPFRAMEWORKSDIR='/opt/local/Library/Frameworks'
MTREE='/usr/bin/fmtree'
OBJEXT='o'
OPEN=''
OPENSSL='/usr/bin/openssl'
OS_MAJOR='5'
OS_PLATFORM='linux'
PACKAGE_BUGREPORT='macports-dev@lists.macports.org'
PACKAGE_NAME='MacPorts'
PACKAGE_STRING='MacPorts 2.7.1'
PACKAGE_TARNAME='macports'
PACKAGE_URL=''
PACKAGE_VERSION='2.7.1'
PATCH='/usr/bin/patch'
PATH_CLEANED='/bin:/sbin:/usr/bin:/usr/sbin'
PATH_SEPARATOR=':'
PAX=''
PKG_CONFIG=''
READLINE_LIBS=''
RMDIR='/bin/rmdir'
RSYNC='/usr/bin/rsync'
RUNUSR='macports'
SANDBOX_EXEC=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SHLIB_CFLAGS=''
SHLIB_LD=''
SHLIB_SUFFIX=''
STLIB_LD=''
SWIG=''
SW_VERS=''
TAR='/bin/tar'
TAR_CMD='/bin/tar --no-same-owner'
TAR_Q=''
TCLSH=''
TCL_BIN_DIR=''
TCL_LIB_FILE=''
TCL_LIB_FLAG=''
TCL_LIB_SPEC=''
TCL_PACKAGE_PATH=''
TCL_PREFIX=''
TCL_SRC_DIR=''
TCL_STUB_LIB_FILE=''
TCL_STUB_LIB_FLAG=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TRACEMODE_SUPPORT=''
UNIVERSAL_ARCHFLAGS=' -arch arm64 -arch x86_64'
UNIVERSAL_ARCHS='arm64 x86_64'
UNZIP='/usr/bin/unzip'
VENDOR_DESTROOT=''
VENDOR_TCLLIB_INSTALL=''
VENDOR_TCLLIB_SUBDIR=''
VENDOR_TCLTHREAD_INSTALL=''
VENDOR_TCLTHREAD_SUBDIR=''
VENDOR_TCLX_INSTALL=''
VENDOR_TCLX_SUBDIR=''
VENDOR_TCL_INSTALL=''
VENDOR_TCL_SUBDIR=''
XAR=''
XCODEBUILD=''
XCODE_SELECT=''
XCRUN=''
XZ='/usr/bin/xz'
ZIP='/usr/bin/zip'
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
localstatedir_expanded=''
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
prefix_expanded=''
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
startupitem_install='#startupitem_install	yes'
sysconfdir='${prefix}/etc'
target='x86_64-pc-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "MacPorts"
#define PACKAGE_TARNAME "macports"
#define PACKAGE_VERSION "2.7.1"
#define PACKAGE_STRING "MacPorts 2.7.1"
#define PACKAGE_BUGREPORT "macports-dev@lists.macports.org"
#define PACKAGE_URL ""
#define UNUSED __attribute__((unused))
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_ERR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_LIMITS_H 1
#define HAVE_PATHS_H 1
#define HAVE_PWD_H 1
#define HAVE_STDATOMIC_H 1
#define HAVE_SPAWN_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_UTIME_H 1
#define HAVE_CLEARENV 1
#define HAVE_FLOCK 1
#define HAVE_POSIX_SPAWN 1
#define HAVE_GETLINE 1
#define HAVE_GETDELIM 1
#define HAVE_DECL_ATOMIC_COMPARE_EXCHANGE_STRONG_EXPLICIT 1
#define HAVE_OPENSSL_MD5_H 1
#define HAVE_OPENSSL_SHA_H 1
#define HAVE_OPENSSL_RIPEMD_H 1
#define HAVE_SHA256_UPDATE 1
#define HAVE_LIBCRYPTO /**/
#define HAVE_DECL_RL_USERNAME_COMPLETION_FUNCTION 0
#define HAVE_DECL_RL_FILENAME_COMPLETION_FUNCTION 0
#define HAVE_DECL_RL_COMPLETION_MATCHES 0
#define HAVE_DECL_USERNAME_COMPLETION_FUNCTION 0
#define HAVE_DECL_FILENAME_COMPLETION_FUNCTION 0
#define HAVE_DECL_COMPLETION_MATCHES 0
#define MIN_USABLE_UID 501
#define MIN_USABLE_GID 501
#define HAVE_SQLITE3EXT_H 1

configure: exit 1

comment:4 Changed 3 years ago by mojca (Mojca Miklavec)

Wait ... at some point we tried to make the Dockerfile use a slightly smaller subset of dependencies for running MacPorts compared to those for building MacPorts.

Maybe it makes sense to try to figure out what this issue is about exactly, but in the meantime, I guess that the docker image needs to be made from the latest MacPorts release, rather than starting out with 2.6.x and trying to compile the new version as part of livecheck.

Are you willing to try that?

comment:5 in reply to:  4 Changed 3 years ago by arjunsalyan (Arjun Salyan)

Replying to mojca:

Wait ... at some point we tried to make the Dockerfile use a slightly smaller subset of dependencies for running MacPorts compared to those for building MacPorts.

Maybe it makes sense to try to figure out what this issue is about exactly, but in the meantime, I guess that the docker image needs to be made from the latest MacPorts release, rather than starting out with 2.6.x and trying to compile the new version as part of livecheck.

Are you willing to try that?

I tried building from source, the error and outcome was exactly same as the one produced by port -v selfupdate

Last edited 3 years ago by arjunsalyan (Arjun Salyan) (previous) (diff)

comment:6 Changed 3 years ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:7 Changed 3 years ago by mojca (Mojca Miklavec)

Owner: set to jmroot
Status: newassigned

The problematic command is this one:

cc -o conftest -g -O2 -lsqlite3 conftest.c >&5

which apparently doesn't work. It works for me if I make -lsqlite3 the last argument.

Basically, the following would work:

cc -o conftest -g -O2 conftest.c -lsqlite3 >&5

The test program is:

#include <stdio.h>
#include <sqlite3.h>
int main(int argc, char* argv[])
{
    int vers = sqlite3_libversion_number();
    if (argc > 1) {
        printf("%d\n", vers);
    }
    return 0;
}

comment:8 Changed 3 years ago by mojca (Mojca Miklavec)

After some basic fixes (maybe I didn't apply them properly, I need to double-check) I run into the following:

entry.c: In function 'reg_entry_open':
entry.c:190:23: error: operator '>=' has no left operand
 #if MP_SQLITE_VERSION >= 3006004
                       ^~
entry.c:196:23: error: operator '>=' has no left operand
 #if MP_SQLITE_VERSION >= 3006004
                       ^~
entry.c: In function 'reg_entry_installed':
entry.c:515:23: error: operator '>=' has no left operand
 #if MP_SQLITE_VERSION >= 3006004
                       ^~
entry.c: In function 'reg_entry_owner':
entry.c:546:23: error: operator '>=' has no left operand
 #if MP_SQLITE_VERSION >= 3003013

The file config.log says:

configure:8214: checking for SQLite version in header
configure:8239: cc -E   conftest.c
configure:8239: $? = 0
configure:8251: result:
configure:8255: checking for SQLite version at runtime
configure:8283: cc -o conftest -g -O2    conftest.c  -lsqlite3 >&5
configure:8283: $? = 0
configure:8283: ./conftest
configure:8283: $? = 0
configure:8296: result: 3022000
configure:8315: checking for grep that handles long lines and -e
configure:8379: result: /bin/grep
configure:8384: checking for egrep
configure:8452: result: /bin/grep -E
configure:8460: checking for kqueue
configure:8460: result: no
configure:8466: checking for kevent
configure:8466: cc -o conftest -g -O2   conftest.c  >&5

mp_cv_sqlite_run_version=3022000
mp_cv_sqlite_version=

Running cc -E test.c on the following source code:

#include <sqlite3.h>
#ifndef SQLITE_VERSION_NUMBER
#  error "SQLITE_VERSION_NUMBER undefined"
#else
int mp_sqlite_version = SQLITE_VERSION_NUMBER;
#endif

results in the following on Ubuntu where cc is in fact gcc:

# 5 "test.c"
int mp_sqlite_version = 
# 5 "test.c" 3 4
                       3022000
# 5 "test.c"
                                            ;

while clang would generate

int mp_sqlite_version = 3019003;

which works.

You can easily verify the behaviour easily by using any gcc-mp-X on macOS.

The following code seems weird to me:

	AC_CACHE_VAL([mp_cv_sqlite_version], [
		AC_PREPROC_IFELSE(
			[AC_LANG_SOURCE(
				[[
					#include <sqlite3.h>
					#ifndef SQLITE_VERSION_NUMBER
					#  error "SQLITE_VERSION_NUMBER undefined"
					#else
					int mp_sqlite_version = SQLITE_VERSION_NUMBER;
					#endif
				]]
			)],
			[mp_cv_sqlite_version=`grep '^[[[:space:]]]*int mp_sqlite_version = [[0-9]]*;$' conftest.i | sed -E 's/[[^0-9]]*([[0-9]]+);/\1/'`],
			[AC_MSG_ERROR("SQLITE_VERSION_NUMBER undefined or sqlite3.h not found")]
		)
	])

I'm pretty sure that we could replace the preprocessor followed by grep by printing something to the output and using that.

Last edited 3 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:9 Changed 3 years ago by jmroot (Joshua Root)

As a quick workaround you can set mp_cv_sqlite_version and mp_cv_sqlite_run_version to the right values as part of your configure command line.

comment:10 Changed 3 years ago by mojca (Mojca Miklavec)

In this case configure is run as part of sudo port selfupdate. Is it possible to tweak that one as well?

comment:11 Changed 3 years ago by jmroot (Joshua Root)

In b9a765ebcc4e5f62848566cfd59d69d9828a790a/macports-base (master):

Use simpler check for SQLITE_VERSION_NUMBER

Hopefully more portable too.

See: #63074

comment:12 Changed 3 years ago by jmroot (Joshua Root)

Please try with current master.

comment:13 in reply to:  10 Changed 3 years ago by jmroot (Joshua Root)

Replying to mojca:

In this case configure is run as part of sudo port selfupdate. Is it possible to tweak that one as well?

If you don't mind modifying the installed files, sure. Just append to configure_args in selfupdate.tcl.

comment:14 Changed 3 years ago by mojca (Mojca Miklavec)

Thanks a lot, your patches seem to work for me and also make more sense than mine.

comment:15 Changed 3 years ago by arjunsalyan (Arjun Salyan)

Thank you, the docker hub build succeeds as well.

comment:16 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

comment:17 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added
Note: See TracTickets for help on using tickets.