Opened 11 years ago

Closed 10 years ago

#41012 closed defect (fixed)

postgresql84 does not build on 10.9

Reported by: simonblanchard@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: jyrkiwahlstedt
Port: postgresql84

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build of postgresql84 fails with error below.

configure:13218: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence
configure:13233: /usr/bin/clang -no-cpp-precomp -E -I/opt/local/include -I/opt/local/include/ossp -I/opt/local/include/libxml2  -I/opt/local/include conftest.c
conftest.c:63:10: fatal error: 'DNSServiceDiscovery/DNSServiceDiscovery.h' file not found

Attachments (3)

config.log.gz (9.4 KB) - added by simonblanchard@… 11 years ago.
main.log.gz (3.8 KB) - added by simonblanchard@… 11 years ago.
main-uuid-ossp.log.gz (4.9 KB) - added by merul@… 11 years ago.
main.log with error for uuid-ossp

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by simonblanchard@…

Attachment: config.log.gz added

Changed 11 years ago by simonblanchard@…

Attachment: main.log.gz added

comment:1 Changed 11 years ago by simonblanchard@…

I removed --with-bonjour from the Portfile and it built OK

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mww@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

comment:3 Changed 11 years ago by merul@…

I've tried the same, but although configure work, the build failed. Attaching main-uuid-ossp.log.gz

Changed 11 years ago by merul@…

Attachment: main-uuid-ossp.log.gz added

main.log with error for uuid-ossp

comment:4 Changed 11 years ago by jyrkiwahlstedt

Resolution: fixed
Status: newclosed

done in r113966 (at least builds for me)

comment:5 Changed 10 years ago by robertoschwald (Robert Oschwald)

Resolution: fixed
Status: closedreopened

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

comment:6 Changed 10 years ago by robertoschwald (Robert Oschwald)

Please close ticket. It's a problem in PG 8.1, not 8.4.

Created ticket #44120 for this.

Last edited 10 years ago by robertoschwald (Robert Oschwald) (previous) (diff)

comment:7 Changed 10 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.