Opened 15 years ago

Last modified 15 years ago

#21965 closed defect

"build db46" fails — at Initial Version

Reported by: borschel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: db46

Description

see below debug output. the makefile configuration appears to be faulty. It generates a nonsense include path option for gcc ("-I ../dist/.." instead of "-I ."), which is why the file db.h can't be found.

benno@8h2kyc1:~> port -d build db46 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46 DEBUG: OS Platform: darwin DEBUG: OS Version: 9.8.0 DEBUG: Mac OS X Version: 10.5 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: Going to use alternate build prefix: /Users/benno/.macports DEBUG: workpath = /Users/benno/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port db46. DEBUG: Requested variant i386 is not provided by port db46. DEBUG: Requested variant macosx is not provided by port db46. MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. ---> Computing dependencies for db46 DEBUG: Executing org.macports.main (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.fetch (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.checksum (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.extract (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.patch (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: Skipping completed org.macports.configure (db46) MacPorts running without privileges. You may be unable to complete certain actions (eg install). DEBUG: Privilege de-escalation not attempted as not running as root. ---> Building db46 DEBUG: Executing org.macports.build (db46) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/Users/benno/.macports/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && /usr/bin/make -j1 all' /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2 -arch i386 -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../dist/../db_dump185/db_dump185.c

/usr/bin/gcc-4.0 -c -O2 -arch i386 -I../dist/.. -I/opt/local/include -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o

../dist/../db_dump185/db_dump185.c:23:16: error: db.h: No such file or directory ../dist/../db_dump185/db_dump185.c:87: error: syntax error before 'DBT' ../dist/../db_dump185/db_dump185.c:87: warning: no semicolon at end of struct or union ../dist/../db_dump185/db_dump185.c:95: error: syntax error before '}' token

Change History (0)

Note: See TracTickets for help on using tickets.