[MacPorts] #23074: heimdal 1.2.1 fails to build using port 1.8.1

MacPorts noreply at macports.org
Thu Dec 31 01:30:04 PST 2009


#23074: heimdal 1.2.1 fails to build using port 1.8.1
-----------------------------------+----------------------------------------
 Reporter:  nigel@…                |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.8.1                                
 Keywords:                         |        Port:  heimdal                              
-----------------------------------+----------------------------------------
 I have been trying unsuccessfully to update my macports installation to
 1.8.1 unfortunately nothing I try finishes off the process because heimdal
 fails to build. The trace is below. Any ideas will be welcome.

 nigel-kings-macbook-pro-15:~ nigelk$ sudo port clean heimdal
 --->  Cleaning heimdal
 nigel-kings-macbook-pro-15:~ nigelk$ sudo port install heimdal
 --->  Computing dependencies for heimdal
 --->  Fetching heimdal
 --->  Verifying checksum(s) for heimdal
 --->  Extracting heimdal
 --->  Applying patches to heimdal
 --->  Configuring heimdal
 --->  Building heimdal
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1"
 && /usr/bin/make -j1 all " returned error 2
 Command output: db3.c:184: error: too many arguments to function 'd->get'
 db3.c:186: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB__put':
 db3.c:207: error: 'DBT' has no member named 'flags'
 db3.c:210: error: 'DBT' has no member named 'flags'
 db3.c:213: error: 'DB_NOOVERWRITE' undeclared (first use in this function)
 db3.c:213: warning: passing argument 4 of 'd->put' makes integer from
 pointer without a cast
 db3.c:213: error: too many arguments to function 'd->put'
 db3.c:215: error: 'DB_KEYEXIST' undeclared (first use in this function)
 db3.c: In function 'DB__del':
 db3.c:231: error: 'DBT' has no member named 'flags'
 db3.c:235: warning: passing argument 3 of 'd->del' makes integer from
 pointer without a cast
 db3.c:235: error: too many arguments to function 'd->del'
 db3.c:237: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB_open':
 db3.c:247: error: 'DBC' undeclared (first use in this function)
 db3.c:247: error: 'dbc' undeclared (first use in this function)
 db3.c:254: error: 'DB_CREATE' undeclared (first use in this function)
 db3.c:257: error: 'DB_EXCL' undeclared (first use in this function)
 db3.c:260: error: 'DB_RDONLY' undeclared (first use in this function)
 db3.c:263: error: 'DB_TRUNCATE' undeclared (first use in this function)
 db3.c:270: warning: implicit declaration of function 'db_create'
 db3.c:270: warning: nested extern declaration of 'db_create'
 db3.c:276: error: 'struct __db' has no member named 'open'
 db3.c:285: error: 'struct __db' has no member named 'open'
 db3.c:298: error: 'struct __db' has no member named 'cursor'
 make[3]: *** [db3.lo] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.
 nigel-kings-macbook-pro-15:~ nigelk$

 ******** The error in more detail *********

 nigel-kings-macbook-pro-15:~ nigelk$ sudo port -v install heimdal
 Password:
 --->  Computing dependencies for heimdal.
 --->  Building heimdal
 Making all in include
 /usr/bin/make  all-recursive
 Making all in kadm5
 Making all in hcrypto
 Making all in gssapi
 Making all in lib
 Making all in roken
 /usr/bin/make  all-am
 Making all in vers
 Making all in editline
 Making all in com_err
 Making all in sl
 Making all in wind
 /usr/bin/make  all-am
 Making all in asn1
 /usr/bin/make  all-am
 Making all in sqlite
 Making all in hx509
 /usr/bin/make  all-am
 Making all in krb5
 Making all in ntlm
 Making all in kafs
 Making all in gssapi
 /usr/bin/make  all-am
 Making all in hdb
 /usr/bin/make  all-am
 /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I. -I../../include  -I../../lib/roken
 -I../../lib/roken -I../asn1 -I./../asn1   -DHDB_DB_DIR=\"/var/heimdal\"
 -I/opt/local/include -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-
 arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs  -DINET6
 -O2 -D_FORTIFY_SOURCE=0 -arch i386 -MT db3.lo -MD -MP -MF .deps/db3.Tpo -c
 -o db3.lo db3.c
 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.
 -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1
 -DHDB_DB_DIR=\"/var/heimdal\" -I/opt/local/include -D_LARGE_FILES= -Wall
 -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-
 declarations -Wnested-externs -DINET6 -O2 -D_FORTIFY_SOURCE=0 -arch i386
 -MT db3.lo -MD -MP -MF .deps/db3.Tpo -c db3.c  -fno-common -DPIC -o
 .libs/db3.o
 db3.c: In function 'DB_close':
 db3.c:52: error: 'DBC' undeclared (first use in this function)
 db3.c:52: error: (Each undeclared identifier is reported only once
 db3.c:52: error: for each function it appears in.)
 db3.c:52: error: 'dbcp' undeclared (first use in this function)
 db3.c:52: error: syntax error before ')' token
 db3.c:56: error: too many arguments to function 'd->close'
 db3.c: In function 'DB_lock':
 db3.c:76: error: too many arguments to function 'd->fd'
 db3.c: In function 'DB_unlock':
 db3.c:86: error: too many arguments to function 'd->fd'
 db3.c: In function 'DB_seq':
 db3.c:97: error: 'DBC' undeclared (first use in this function)
 db3.c:97: error: 'dbcp' undeclared (first use in this function)
 db3.c:107: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c:118: error: 'DB_NEXT' undeclared (first use in this function)
 db3.c: In function 'DB_firstkey':
 db3.c:141: error: 'DB_FIRST' undeclared (first use in this function)
 db3.c: In function 'DB_nextkey':
 db3.c:148: error: 'DB_NEXT' undeclared (first use in this function)
 db3.c: In function 'DB__get':
 db3.c:181: error: 'DBT' has no member named 'flags'
 db3.c:184: warning: passing argument 4 of 'd->get' makes integer from
 pointer without a cast
 db3.c:184: error: too many arguments to function 'd->get'
 db3.c:186: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB__put':
 db3.c:207: error: 'DBT' has no member named 'flags'
 db3.c:210: error: 'DBT' has no member named 'flags'
 db3.c:213: error: 'DB_NOOVERWRITE' undeclared (first use in this function)
 db3.c:213: warning: passing argument 4 of 'd->put' makes integer from
 pointer without a cast
 db3.c:213: error: too many arguments to function 'd->put'
 db3.c:215: error: 'DB_KEYEXIST' undeclared (first use in this function)
 db3.c: In function 'DB__del':
 db3.c:231: error: 'DBT' has no member named 'flags'
 db3.c:235: warning: passing argument 3 of 'd->del' makes integer from
 pointer without a cast
 db3.c:235: error: too many arguments to function 'd->del'
 db3.c:237: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB_open':
 db3.c:247: error: 'DBC' undeclared (first use in this function)
 db3.c:247: error: 'dbc' undeclared (first use in this function)
 db3.c:254: error: 'DB_CREATE' undeclared (first use in this function)
 db3.c:257: error: 'DB_EXCL' undeclared (first use in this function)
 db3.c:260: error: 'DB_RDONLY' undeclared (first use in this function)
 db3.c:263: error: 'DB_TRUNCATE' undeclared (first use in this function)
 db3.c:270: warning: implicit declaration of function 'db_create'
 db3.c:270: warning: nested extern declaration of 'db_create'
 db3.c:276: error: 'struct __db' has no member named 'open'
 db3.c:285: error: 'struct __db' has no member named 'open'
 db3.c:298: error: 'struct __db' has no member named 'cursor'
 make[3]: *** [db3.lo] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_heimdal/work/heimdal-1.2.1"
 && /usr/bin/make -j1 all " returned error 2
 Command output: db3.c:184: error: too many arguments to function 'd->get'
 db3.c:186: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB__put':
 db3.c:207: error: 'DBT' has no member named 'flags'
 db3.c:210: error: 'DBT' has no member named 'flags'
 db3.c:213: error: 'DB_NOOVERWRITE' undeclared (first use in this function)
 db3.c:213: warning: passing argument 4 of 'd->put' makes integer from
 pointer without a cast
 db3.c:213: error: too many arguments to function 'd->put'
 db3.c:215: error: 'DB_KEYEXIST' undeclared (first use in this function)
 db3.c: In function 'DB__del':
 db3.c:231: error: 'DBT' has no member named 'flags'
 db3.c:235: warning: passing argument 3 of 'd->del' makes integer from
 pointer without a cast
 db3.c:235: error: too many arguments to function 'd->del'
 db3.c:237: error: 'DB_NOTFOUND' undeclared (first use in this function)
 db3.c: In function 'DB_open':
 db3.c:247: error: 'DBC' undeclared (first use in this function)
 db3.c:247: error: 'dbc' undeclared (first use in this function)
 db3.c:254: error: 'DB_CREATE' undeclared (first use in this function)
 db3.c:257: error: 'DB_EXCL' undeclared (first use in this function)
 db3.c:260: error: 'DB_RDONLY' undeclared (first use in this function)
 db3.c:263: error: 'DB_TRUNCATE' undeclared (first use in this function)
 db3.c:270: warning: implicit declaration of function 'db_create'
 db3.c:270: warning: nested extern declaration of 'db_create'
 db3.c:276: error: 'struct __db' has no member named 'open'
 db3.c:285: error: 'struct __db' has no member named 'open'
 db3.c:298: error: 'struct __db' has no member named 'cursor'
 make[3]: *** [db3.lo] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 Warning: the following items did not execute (for heimdal):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 nigel-kings-macbook-pro-15:~ nigelk$

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


More information about the macports-tickets mailing list