[MacPorts] #22062: db46 build error

MacPorts noreply at macports.org
Wed Oct 14 09:41:27 PDT 2009


#22062: db46 build error
---------------------------------+------------------------------------------
 Reporter:  ajcblyth@…           |       Owner:  blair@…           
     Type:  defect               |      Status:  new               
 Priority:  Normal               |   Milestone:                    
Component:  ports                |     Version:  1.8.1             
 Keywords:                       |        Port:  db46              
---------------------------------+------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => blair@…
  * port:  => db46


Old description:

> sh-3.2# port install atk
> --->  Computing dependencies for atk
> --->  Building db46
> Error: Target org.macports.build returned: shell command " cd
> "/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 -j2 all " returned error 2
> Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -O2
> -arch x86_64  -I../dist/.. -I/opt/local/include
> -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers
> ../dist/../db_dump185/db_dump185.c
> /bin/sh ./libtool --mode=link /usr/bin/gcc-4.2 -O2 -arch x86_64  -o
> db_codegen -L/opt/local/lib \
>             db_codegen.lo code_capi.lo code_parse.lo libdb-4.6.la
>  /usr/bin/gcc-4.2 -c -O2 -arch x86_64 -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: In function 'main':
> ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer
> from integer without a cast
> ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer
> from integer without a cast
> ../dist/../db_dump185/db_dump185.c:228: error: 'DB' has no member named
> 'seq'
> ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first
> use in this function)
> ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared
> identifier is reported only once
> ../dist/../db_dump185/db_dump185.c:228: error: for each function it
> appears in.)
> ../dist/../db_dump185/db_dump185.c:233: error: 'DB' has no member named
> 'seq'
> ../dist/../db_dump185/db_dump185.c: In function 'db_hash':
> ../dist/../db_dump185/db_dump185.c:261: error: 'DB' has no member named
> 'internal'
> ../dist/../db_dump185/db_dump185.c:263: error: 'DB' has no member named
> 'internal'
> ../dist/../db_dump185/db_dump185.c: In function 'db_btree':
> ../dist/../db_dump185/db_dump185.c:288: error: 'DB' has no member named
> 'internal'
> make: *** [db_dump185.lo] Error 1
> make: *** Waiting for unfinished jobs....
> /usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/db_codegen .libs/db_codegen.o
> .libs/code_capi.o .libs/code_parse.o  -L/opt/local/lib
> ./.libs/libdb-4.6.dylib
> creating db_codegen
> /bin/sh ./libtool --mode=execute true db_codegen
>
> Error: The following dependencies failed to build: gtk-doc gnome-doc-
> utils py26-libxml2 python26 db46
> Error: Status 1 encountered during processing.
> sh-3.2#

New description:

 {{{
 sh-3.2# port install atk
 --->  Computing dependencies for atk
 --->  Building db46
 Error: Target org.macports.build returned: shell command " cd
 "/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 -j2 all " returned error 2
 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -O2
 -arch x86_64  -I../dist/.. -I/opt/local/include
 -I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers
 ../dist/../db_dump185/db_dump185.c
 /bin/sh ./libtool --mode=link /usr/bin/gcc-4.2 -O2 -arch x86_64  -o
 db_codegen -L/opt/local/lib \
             db_codegen.lo code_capi.lo code_parse.lo libdb-4.6.la
  /usr/bin/gcc-4.2 -c -O2 -arch x86_64 -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: In function 'main':
 ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer
 from integer without a cast
 ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer
 from integer without a cast
 ../dist/../db_dump185/db_dump185.c:228: error: 'DB' has no member named
 'seq'
 ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first
 use in this function)
 ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier
 is reported only once
 ../dist/../db_dump185/db_dump185.c:228: error: for each function it
 appears in.)
 ../dist/../db_dump185/db_dump185.c:233: error: 'DB' has no member named
 'seq'
 ../dist/../db_dump185/db_dump185.c: In function 'db_hash':
 ../dist/../db_dump185/db_dump185.c:261: error: 'DB' has no member named
 'internal'
 ../dist/../db_dump185/db_dump185.c:263: error: 'DB' has no member named
 'internal'
 ../dist/../db_dump185/db_dump185.c: In function 'db_btree':
 ../dist/../db_dump185/db_dump185.c:288: error: 'DB' has no member named
 'internal'
 make: *** [db_dump185.lo] Error 1
 make: *** Waiting for unfinished jobs....
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/db_codegen .libs/db_codegen.o
 .libs/code_capi.o .libs/code_parse.o  -L/opt/local/lib
 ./.libs/libdb-4.6.dylib
 creating db_codegen
 /bin/sh ./libtool --mode=execute true db_codegen

 Error: The following dependencies failed to build: gtk-doc gnome-doc-utils
 py26-libxml2 python26 db46
 Error: Status 1 encountered during processing.
 sh-3.2#
 }}}

--

Comment:

 Please preview and use WikiFormatting in future.

-- 
Ticket URL: <http://trac.macports.org/ticket/22062#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list