[MacPorts] #44120: postgresql81 does not build on 10.9
#44120: postgresql81 does not build on 10.9 ------------------------------+-------------------------------- Reporter: robertoschwald@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: mavericks | Port: postgresql81 ------------------------------+-------------------------------- postgresql81 currently does not compile on 10.9.3. Error in configure occurs. May be in relation to #41012 for postgresql84 {{{ $ sudo port install postgresql81-server ---> Computing dependencies for postgresql81-server ---> Dependencies to be installed: 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 Error: Failed to install postgresql81 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: The following dependencies were not installed: postgresql81 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port postgresql81-server failed }}} 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/44120> MacPorts <http://www.macports.org/> Ports system for OS X
#44120: postgresql81 does not build on 10.9 -------------------------------+----------------------- Reporter: robertoschwald@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: mavericks Port: postgresql81 | -------------------------------+----------------------- Changes (by mf2k@…): * cc: mww@… (removed) * owner: macports-tickets@… => mww@… -- Ticket URL: <https://trac.macports.org/ticket/44120#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44120: postgresql81 does not build on 10.9 -------------------------------+----------------------- Reporter: robertoschwald@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: mavericks Port: postgresql81 | -------------------------------+----------------------- Comment (by egall@…): I had some trouble building it with variants `+krb5+perl+python` on Snow Leopard as well... not sure if it is exactly the same error though... -- Ticket URL: <https://trac.macports.org/ticket/44120#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44120: postgresql81 does not build on 10.9 -------------------------------+----------------------- Reporter: robertoschwald@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: mavericks Port: postgresql81 | -------------------------------+----------------------- Comment (by istu@…): I had this same error trying to build anything on Mavericks (10.9.4 ) that utilised Bonjour. I added a symlink to the DNSServiceDiscovery headers: ln -s /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/DNSServiceDiscovery /opt/local/include/ and mt-daapd built fine. Might be worth a shot. -- Ticket URL: <https://trac.macports.org/ticket/44120#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44120: postgresql80, postgresql81, postgresql82 does not build on 10.9, 10.10 -------------------------------------------------+------------------------- Reporter: robertoschwald@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: assigned Component: ports | Milestone: Resolution: | Version: 2.3.0 Port: postgresql80, postgresql81, | Keywords: mavericks postgresql82 | yosemite -------------------------------------------------+------------------------- Changes (by ryandesign@…): * status: new => assigned * cc: istu@…, mww@… (added) * owner: mww@… => ryandesign@… * keywords: mavericks => mavericks yosemite * port: postgresql81 => postgresql80, postgresql81, postgresql82 Comment: Replying to [comment:4 istu@…]:
I had this same error trying to build anything on Mavericks (10.9.4 ) that utilised Bonjour. I added a symlink to the DNSServiceDiscovery headers: {{{ ln -s /Applications/Xcode.app//Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/DNSServiceDiscovery /opt/local/include/ }}} and mt-daapd built fine. Might be worth a shot.
Please undo this change. We should instead apply the fix that has already been applied to postgresql84: disable Bonjour support on Mavericks and later. -- Ticket URL: <https://trac.macports.org/ticket/44120#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44120: postgresql80, postgresql81, postgresql82 does not build on 10.9, 10.10 -------------------------------------------------+------------------------- Reporter: robertoschwald@… | Owner: Type: defect | ryandesign@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: 2.3.0 Port: postgresql80, postgresql81, | Keywords: mavericks postgresql82 | yosemite -------------------------------------------------+------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r125624 -- Ticket URL: <https://trac.macports.org/ticket/44120#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts