[MacPorts] #21965: "build db46" fails

MacPorts noreply at macports.org
Fri Oct 9 12:41:05 PDT 2009


#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 at 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 at 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


More information about the macports-tickets mailing list