#41012: postgresql84 does not build on 10.9 -------------------------------+----------------------- Reporter: simonblanchard@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: postgresql84 | -------------------------------+----------------------- Changes (by robertoschwald@…): * status: closed => reopened * resolution: fixed => Comment: The problem seems to be still emminent. Today performed a selfupdate and tried to upgrade outdated. PostgreSQL fails with this error. {{{ $ sudo port upgrade outdated ---> Fetching archive for postgresql81 ---> Attempting to fetch postgresql81-8.1.23_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/postgresql81 ---> Attempting to fetch postgresql81-8.1.23_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/postgresql81 ---> Attempting to fetch postgresql81-8.1.23_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/postgresql81 ---> Computing dependencies for postgresql81 ---> Fetching distfiles for postgresql81 ---> Verifying checksums for postgresql81 ---> Extracting postgresql81 ---> Applying patches to postgresql81 ---> Configuring postgresql81 Error: Failed to configure postgresql81, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql81/postgresql81/work/postgresql-8.1.23/config.log Error: org.macports.configure for port postgresql81 returned: configure failure: command execution failed Please see the log file for port postgresql81 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_postgresql81/postgresql81/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets }}} Configure error: {{{ | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <DNSServiceDiscovery/DNSServiceDiscovery.h> configure:10880: result: no configure:10884: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence configure:10894: /usr/bin/clang -no-cpp-precomp -E -I/opt/local/include -I/opt/local/include conftest.c conftest.c:56:10: fatal error: 'DNSServiceDiscovery/DNSServiceDiscovery.h' file not found #include <DNSServiceDiscovery/DNSServiceDiscovery.h> ^ 1 error generated. configure:10900: $? = 1 configure: failed program was: | /* confdefs.h. */ | }}} Compiler / Machine info: {{{ hostname = mavericks.home uname -m = x86_64 uname -r = 13.2.0 uname -s = Darwin uname -v = Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = Mach kernel version: Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 #define PG_VERSION_STR "PostgreSQL 8.1.23 on i686-apple-darwin13.2.0, compiled by GCC Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)" }}} Xcode: {{{ xcode-select -p /Applications/Xcode.app/Contents/Developer gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.2.0 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/41012#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X