[MacPorts] #27751: postgresql90 fails to build

MacPorts noreply at macports.org
Fri Jun 24 22:05:37 PDT 2011


#27751: postgresql90 fails to build
----------------------------------+-----------------------------------------
 Reporter:  swordangel@…          |       Owner:  jwa@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:  1.9.2           
 Keywords:                        |        Port:  postgresql90    
----------------------------------+-----------------------------------------

Comment(by info@…):

 Also failing for me.

 Manually running configure / make install works.

 Tail end of output from '''sudo port configure postgis +universal''':


 {{{
 --->  Configuring postgresql90
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Error: Failed to install postgresql90
 Log for postgresql90 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql90/main.log
 Error: The following dependencies were not installed: postgresql90
 Error: Status 1 encountered during processing.
 }}}

 The log doesn't have much more info.

 But when I try to configure manually with the same configure arguments:


 {{{
 ./configure --prefix=/opt/local --disable-dependency-tracking
 --sysconfdir=/opt/local/etc/postgresql90
 --bindir=/opt/local/lib/postgresql90/bin
 --libdir=/opt/local/lib/postgresql90
 --includedir=/opt/local/include/postgresql90
 --datadir=/opt/local/share/postgresql90 --mandir=/opt/local/share/man
 --with-includes=/opt/local/include --with-libraries=/opt/local/lib --with-
 openssl --with-bonjour --with-readline --with-zlib --with-libxml --with-
 libxslt --enable-thread-safety --enable-integer-datetimes --with-ossp-uuid
 }}}


 I get this:


 {{{
 configure: WARNING: unrecognized options: --disable-dependency-tracking
 checking build system type... x86_64-apple-darwin10.7.0
 checking host system type... x86_64-apple-darwin10.7.0
 checking which template to use... darwin
 checking whether to build with 64-bit integer date/time support... yes
 checking whether NLS is wanted... no
 checking for default port number... 5432
 checking for block size... 8kB
 checking for segment size... 1GB
 checking for WAL block size... 8kB
 checking for WAL segment size... 16MB
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking if gcc supports -Wdeclaration-after-statement... yes
 checking if gcc supports -Wendif-labels... yes
 checking if gcc supports -fno-strict-aliasing... yes
 checking if gcc supports -fwrapv... yes
 checking whether the C compiler still works... yes
 checking how to run the C preprocessor... gcc -E
 checking allow thread-safe client libraries... yes
 checking whether to build with Tcl... no
 checking whether to build Perl modules... no
 checking whether to build Python modules... no
 checking whether to build with GSSAPI support... no
 checking whether to build with Kerberos 5 support... no
 checking whether to build with PAM support... no
 checking whether to build with LDAP support... no
 checking whether to build with Bonjour support... yes
 checking whether to build with OpenSSL support... yes
 checking for xml2-config... xml2-config
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for ld used by GCC... /usr/libexec/gcc/i686-apple-
 darwin10/4.2.1/ld
 checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is
 GNU ld... no
 checking for ranlib... ranlib
 checking for strip... strip
 checking whether it is possible to strip libraries... no
 checking for ar... ar
 checking for tar... /usr/bin/tar
 checking whether ln -s works... yes
 checking for gawk... gawk
 checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
 checking for bison... /opt/local/bin/bison
 configure: using bison (GNU Bison) 2.5
 checking for flex... /usr/bin/flex
 configure: using flex 2.5.35
 checking for perl... /opt/local/bin/perl
 configure: using perl 5.12.3
 checking for main in -lm... yes
 checking for library containing setproctitle... no
 checking for library containing dlopen... none required
 checking for library containing socket... none required
 checking for library containing shl_load... no
 checking for library containing getopt_long... none required
 checking for library containing crypt... none required
 checking for library containing fdatasync... none required
 checking for library containing gethostbyname_r... no
 checking for library containing shmget... none required
 checking for -lreadline... yes (-lreadline)
 checking for inflate in -lz... yes
 checking for CRYPTO_new_ex_data in -lcrypto... yes
 checking for SSL_library_init in -lssl... yes
 checking for xmlSaveToBuffer in -lxml2... yes
 checking for xsltCleanupGlobals in -lxslt... yes
 checking for uuid_export in -lossp-uuid... no
 checking for uuid_export in -luuid... yes
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking crypt.h usability... no
 checking crypt.h presence... no
 checking for crypt.h... no
 checking dld.h usability... no
 checking dld.h presence... no
 checking for dld.h... no
 checking fp_class.h usability... no
 checking fp_class.h presence... no
 checking for fp_class.h... no
 checking getopt.h usability... yes
 checking getopt.h presence... yes
 checking for getopt.h... yes
 checking ieeefp.h usability... no
 checking ieeefp.h presence... no
 checking for ieeefp.h... no
 checking ifaddrs.h usability... yes
 checking ifaddrs.h presence... yes
 checking for ifaddrs.h... yes
 checking langinfo.h usability... yes
 checking langinfo.h presence... yes
 checking for langinfo.h... yes
 checking poll.h usability... yes
 checking poll.h presence... yes
 checking for poll.h... yes
 checking pwd.h usability... yes
 checking pwd.h presence... yes
 checking for pwd.h... yes
 checking sys/ioctl.h usability... yes
 checking sys/ioctl.h presence... yes
 checking for sys/ioctl.h... yes
 checking sys/ipc.h usability... yes
 checking sys/ipc.h presence... yes
 checking for sys/ipc.h... yes
 checking sys/poll.h usability... yes
 checking sys/poll.h presence... yes
 checking for sys/poll.h... yes
 checking sys/pstat.h usability... no
 checking sys/pstat.h presence... no
 checking for sys/pstat.h... no
 checking sys/resource.h usability... yes
 checking sys/resource.h presence... yes
 checking for sys/resource.h... yes
 checking sys/select.h usability... yes
 checking sys/select.h presence... yes
 checking for sys/select.h... yes
 checking sys/sem.h usability... yes
 checking sys/sem.h presence... yes
 checking for sys/sem.h... yes
 checking sys/shm.h usability... yes
 checking sys/shm.h presence... yes
 checking for sys/shm.h... yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking sys/sockio.h usability... yes
 checking sys/sockio.h presence... yes
 checking for sys/sockio.h... yes
 checking sys/tas.h usability... no
 checking sys/tas.h presence... no
 checking for sys/tas.h... no
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking sys/un.h usability... yes
 checking sys/un.h presence... yes
 checking for sys/un.h... yes
 checking termios.h usability... yes
 checking termios.h presence... yes
 checking for termios.h... yes
 checking ucred.h usability... no
 checking ucred.h presence... no
 checking for ucred.h... no
 checking utime.h usability... yes
 checking utime.h presence... yes
 checking for utime.h... yes
 checking wchar.h usability... yes
 checking wchar.h presence... yes
 checking for wchar.h... yes
 checking wctype.h usability... yes
 checking wctype.h presence... yes
 checking for wctype.h... yes
 checking kernel/OS.h usability... no
 checking kernel/OS.h presence... no
 checking for kernel/OS.h... no
 checking kernel/image.h usability... no
 checking kernel/image.h presence... no
 checking for kernel/image.h... no
 checking SupportDefs.h usability... no
 checking SupportDefs.h presence... no
 checking for SupportDefs.h... no
 checking for net/if.h... yes
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking for netinet/tcp.h... yes
 checking readline/readline.h usability... yes
 checking readline/readline.h presence... yes
 checking for readline/readline.h... yes
 checking readline/history.h usability... yes
 checking readline/history.h presence... yes
 checking for readline/history.h... yes
 checking zlib.h usability... yes
 checking zlib.h presence... yes
 checking for zlib.h... yes
 checking openssl/ssl.h usability... yes
 checking openssl/ssl.h presence... yes
 checking for openssl/ssl.h... yes
 checking openssl/err.h usability... yes
 checking openssl/err.h presence... yes
 checking for openssl/err.h... yes
 checking for ERR_set_mark... yes
 checking libxml/parser.h usability... yes
 checking libxml/parser.h presence... yes
 checking for libxml/parser.h... yes
 checking libxslt/xslt.h usability... yes
 checking libxslt/xslt.h presence... yes
 checking for libxslt/xslt.h... yes
 checking dns_sd.h usability... yes
 checking dns_sd.h presence... yes
 checking for dns_sd.h... yes
 checking ossp/uuid.h usability... no
 checking ossp/uuid.h presence... yes
 configure: WARNING: ossp/uuid.h: present but cannot be compiled
 configure: WARNING: ossp/uuid.h:     check for missing prerequisite
 headers?
 configure: WARNING: ossp/uuid.h: see the Autoconf documentation
 configure: WARNING: ossp/uuid.h:     section "Present But Cannot Be
 Compiled"
 configure: WARNING: ossp/uuid.h: proceeding with the preprocessor's result
 configure: WARNING: ossp/uuid.h: in the future, the compiler will take
 precedence
 configure: WARNING:     ## ---------------------------------------- ##
 configure: WARNING:     ## Report this to pgsql-bugs at postgresql.org ##
 configure: WARNING:     ## ---------------------------------------- ##
 checking for ossp/uuid.h... yes
 checking whether byte ordering is bigendian... no
 checking for an ANSI C-conforming const... yes
 checking for inline... inline
 checking for quiet inline (no complaint if unreferenced)... yes
 checking for preprocessor stringizing operator... yes
 checking for signed types... yes
 checking for working volatile... yes
 checking for __func__... yes
 checking whether struct tm is in sys/time.h or time.h... time.h
 checking for struct tm.tm_zone... yes
 checking for tzname... yes
 checking for union semun... yes
 checking for struct sockaddr_un... yes
 checking for struct sockaddr_storage... yes
 checking for struct sockaddr_storage.ss_family... yes
 checking for struct sockaddr_storage.__ss_family... no
 checking for struct sockaddr_storage.ss_len... yes
 checking for struct sockaddr_storage.__ss_len... no
 checking for struct sockaddr.sa_len... yes
 checking for struct addrinfo... yes
 checking for intptr_t... yes
 checking for uintptr_t... yes
 checking for long long int... yes
 checking for struct cmsgcred... no
 checking for struct fcred... no
 checking for struct sockcred... no
 checking for struct option... yes
 checking for z_streamp... yes
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking size of off_t... 8
 checking for int timezone... yes
 checking types of arguments for accept()... int, int, struct sockaddr *,
 socklen_t *
 checking whether gettimeofday takes only one argument... no
 checking for cbrt... yes
 checking for dlopen... yes
 checking for fcvt... yes
 checking for fdatasync... yes
 checking for getifaddrs... yes
 checking for getpeereid... yes
 checking for getpeerucred... no
 checking for getrlimit... yes
 checking for memmove... yes
 checking for poll... yes
 checking for pstat... no
 checking for readlink... yes
 checking for scandir... yes
 checking for setproctitle... no
 checking for setsid... yes
 checking for sigprocmask... yes
 checking for symlink... yes
 checking for sysconf... yes
 checking for towlower... yes
 checking for utime... yes
 checking for utimes... yes
 checking for waitpid... yes
 checking for wcstombs... yes
 checking for fseeko... yes
 checking for _LARGEFILE_SOURCE value needed for large files... no
 checking for posix_fadvise... no
 checking whether posix_fadvise is declared... no
 checking whether fdatasync is declared... no
 checking whether strlcat is declared... yes
 checking whether strlcpy is declared... yes
 checking whether F_FULLFSYNC is declared... yes
 checking for struct sockaddr_in6... yes
 checking for PS_STRINGS... no
 checking for snprintf... yes
 checking for vsnprintf... yes
 checking whether snprintf is declared... yes
 checking whether vsnprintf is declared... yes
 checking for isinf... yes
 checking for crypt... yes
 checking for erand48... yes
 checking for getopt... yes
 checking for getrusage... yes
 checking for inet_aton... yes
 checking for random... yes
 checking for rint... yes
 checking for srandom... yes
 checking for strdup... yes
 checking for strerror... yes
 checking for strlcat... yes
 checking for strlcpy... yes
 checking for strtol... yes
 checking for strtoul... yes
 checking for unsetenv... yes
 checking for getaddrinfo... yes
 checking for getopt_long... yes
 checking for rl_completion_append_character... yes
 checking for rl_completion_matches... yes
 checking for rl_filename_completion_function... yes
 checking for append_history... yes
 checking for history_truncate_file... yes
 checking for sigsetjmp... yes
 checking whether sys_siglist is declared... yes
 checking for syslog... yes
 checking syslog.h usability... yes
 checking syslog.h presence... yes
 checking for syslog.h... yes
 checking for opterr... yes
 checking for optreset... yes
 checking for strtoll... yes
 checking for strtoull... yes
 checking for atexit... yes
 checking for the pthreads library -lpthreads... no
 checking whether pthreads work without any flags... yes
 checking whether pthreads work with -Kthread... yes
 checking whether pthreads work with -kthread... yes
 checking for the pthreads library -llthread... no
 checking whether pthreads work with -pthread... yes
 checking whether pthreads work with -pthreads... yes
 checking whether pthreads work with -mthreads... no
 checking for the pthreads library -lpthread... yes
 checking whether pthreads work with --thread-safe... no
 checking whether pthreads work with -mt... no
 checking for the pthreads library -lpthreadGC2... no
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking for strerror_r... yes
 checking for getpwuid_r... yes
 checking for gethostbyname_r... no
 checking whether getpwuid_r takes a fifth argument... yes
 checking whether strerror_r returns int... yes
 checking test program... ok
 checking whether long int is 64 bits... yes
 checking size of void *... 8
 checking size of size_t... 8
 checking size of long... 8
 checking whether to build with float4 passed by value... yes
 checking whether to build with float8 passed by value... yes
 checking alignment of short... 2
 checking alignment of int... 4
 checking alignment of long... 8
 checking alignment of double... 8
 checking for int8... no
 checking for uint8... no
 checking for int64... no
 checking for uint64... no
 checking for sig_atomic_t... yes
 checking for POSIX signal interface... yes
 checking for working memcmp... yes
 checking for onsgmls... no
 checking for nsgmls... no
 checking for openjade... no
 checking for jade... no
 checking for DocBook V4.2... no
 checking for DocBook stylesheets... no
 checking for collateindex.pl... no
 checking for xsltproc... xsltproc
 checking for osx... no
 checking for sgml2xml... no
 checking for sx... no
 checking thread safety of required library functions... yes
 checking if gcc supports -Wl,-dead_strip_dylibs... yes
 configure: using CFLAGS=-O2 -Wall -Wmissing-prototypes -Wpointer-arith
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 configure: using CPPFLAGS= -I/opt/local/include/libxml2
 -I/opt/local/include
 configure: using LDFLAGS= -L/opt/local/lib  -L/opt/local/lib
 -Wl,-dead_strip_dylibs
 configure: creating ./config.status
 config.status: creating GNUmakefile
 config.status: creating src/Makefile.global
 config.status: creating src/include/pg_config.h
 config.status: src/include/pg_config.h is unchanged
 config.status: creating src/interfaces/ecpg/include/ecpg_config.h
 config.status: src/interfaces/ecpg/include/ecpg_config.h is unchanged
 config.status: linking src/backend/port/tas/dummy.s to
 src/backend/port/tas.s
 config.status: linking src/backend/port/dynloader/darwin.c to
 src/backend/port/dynloader.c
 config.status: linking src/backend/port/sysv_sema.c to
 src/backend/port/pg_sema.c
 config.status: linking src/backend/port/sysv_shmem.c to
 src/backend/port/pg_shmem.c
 config.status: linking src/backend/port/dynloader/darwin.h to
 src/include/dynloader.h
 config.status: linking src/include/port/darwin.h to
 src/include/pg_config_os.h
 config.status: linking src/makefiles/Makefile.darwin to src/Makefile.port
 configure: WARNING: unrecognized options: --disable-dependency-tracking
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27751#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list