[MacPorts] #21965: "build db46" fails
#21965: "build db46" fails -------------------------------+-------------------------------------------- Reporter: borschel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: -------------------------------+-------------------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/21965> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails -------------------------------+-------------------------------------------- Reporter: borschel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: db46 -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * port: => db46 Old 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
New 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 }}} -- -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails -------------------------------+-------------------------------------------- Reporter: borschel@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: db46 -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => blair@… -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails -------------------------------+-------------------------------------------- Reporter: borschel@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: db46 -------------------------------+-------------------------------------------- Comment(by borschel@…): Replying to [comment:1 macsforever2000@…]: found reason for the problem in missing file "/usr/include/db.h". restoring "/usr/include/db.h" solved the problem. -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails --------------------------------+------------------------------------------- Reporter: borschel@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: Port: db46 | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => worksforme Comment: Glad you got it working. Thanks for the update. -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails --------------------------------+------------------------------------------- Reporter: borschel@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: Port: db46 | --------------------------------+------------------------------------------- Comment(by blair@…): If you have anything in /usr/local, you should really do the following to ensure you have a good build: {{{ sudo mv /usr/local /usr/local.save sudo port -v -f uninstall db46 sudo port -v install db46 sudo mv /usr/local.save /usr/local }}} -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21965: "build db46" fails --------------------------------+------------------------------------------- Reporter: borschel@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: worksforme | Keywords: Port: db46 | --------------------------------+------------------------------------------- Comment(by borschel@…): thanks -- Ticket URL: <http://trac.macports.org/ticket/21965#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts