[MacPorts] #70592: krbafs fails to build: error: expected declaration specifiers or ‘...’ before ‘des_cblock’ etc.

MacPorts noreply at macports.org
Tue Aug 20 05:27:37 UTC 2024


#70592: krbafs fails to build: error: expected declaration specifiers or ‘...’
before ‘des_cblock’ etc.
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.1
 Keywords:                |       Port:  krbafs
--------------------------+--------------------
 {{{
 ccache /usr/bin/gcc-4.2 -std=gnu99 -c -I/opt/local/include -DHAVE_CONFIG_H
 -DLIBDIR='"/opt/local/lib"' -I. -I. -pipe -Os -arch ppc  resolve.c
 In file included from afskrb.c:34:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 afskrb.c:44: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 afskrb.c: In function ‘get_cred’:
 afskrb.c:46: error: ‘KTEXT_ST’ undeclared (first use in this function)
 afskrb.c:46: error: (Each undeclared identifier is reported only once
 afskrb.c:46: error: for each function it appears in.)
 afskrb.c:46: error: expected ‘;’ before ‘tkt’
 afskrb.c:47: warning: implicit declaration of function ‘krb_get_cred’
 afskrb.c:47: error: ‘c’ undeclared (first use in this function)
 afskrb.c:50: warning: implicit declaration of function ‘krb_mk_req’
 afskrb.c:50: error: ‘tkt’ undeclared (first use in this function)
 afskrb.c:51: error: ‘KSUCCESS’ undeclared (first use in this function)
 afskrb.c: In function ‘afslog_uid_int’:
 afskrb.c:65: error: ‘CREDENTIALS’ undeclared (first use in this function)
 afskrb.c:65: error: expected ‘;’ before ‘c’
 afskrb.c:66: error: ‘ANAME_SZ’ undeclared (first use in this function)
 afskrb.c:67: error: ‘INST_SZ’ undeclared (first use in this function)
 afskrb.c:68: error: ‘REALM_SZ’ undeclared (first use in this function)
 afskrb.c:74: warning: implicit declaration of function
 ‘krb_get_tf_fullname’
 afskrb.c:74: warning: implicit declaration of function ‘tkt_string’
 afskrb.c:75: error: ‘KSUCCESS’ undeclared (first use in this function)
 afskrb.c:78: error: ‘c’ undeclared (first use in this function)
 afskrb.c:78: error: too many arguments to function ‘_kafs_get_cred’
 afskrb.c:81: warning: implicit declaration of function ‘kafs_settoken’
 afskrb.c: In function ‘get_realm’:
 afskrb.c:88: warning: implicit declaration of function ‘krb_realmofhost’
 afskrb.c:88: warning: initialization makes pointer from integer without a
 cast
 make: *** [afskrb.o] Error 1
 make: *** Waiting for unfinished jobs....
 In file included from afskrb5.c:34:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 afskrb5.c:49: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 afskrb5.c: In function ‘get_cred’:
 afskrb5.c:80: warning: implicit declaration of function
 ‘krb524_convert_creds_kdc’
 afskrb5.c:80: error: ‘c’ undeclared (first use in this function)
 afskrb5.c:80: error: (Each undeclared identifier is reported only once
 afskrb5.c:80: error: for each function it appears in.)
 afskrb5.c: In function ‘afslog_uid_int’:
 afskrb5.c:94: error: ‘CREDENTIALS’ undeclared (first use in this function)
 afskrb5.c:94: error: expected ‘;’ before ‘c’
 afskrb5.c:95: error: ‘ANAME_SZ’ undeclared (first use in this function)
 afskrb5.c:96: error: ‘INST_SZ’ undeclared (first use in this function)
 afskrb5.c:97: error: ‘REALM_SZ’ undeclared (first use in this function)
 afskrb5.c:112: error: ‘c’ undeclared (first use in this function)
 afskrb5.c:112: error: too many arguments to function ‘_kafs_get_cred’
 afskrb5.c:116: warning: implicit declaration of function ‘kafs_settoken’
 In file included from afssys.c:34:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 make: *** [afskrb5.o] Error 1
 make: *** [afssys.o] Error 1
 In file included from lifetime.c:14:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 lifetime.c:21:17: error: krb.h: No such file or directory
 lifetime.c: In function ‘krb_life_to_atime’:
 lifetime.c:174: warning: implicit declaration of function
 ‘krb_life_to_time’
 lifetime.c: In function ‘krb_atime_to_life’:
 lifetime.c:227: warning: implicit declaration of function
 ‘krb_time_to_life’
 make: *** [lifetime.o] Error 1
 In file included from common.c:34:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 common.c:60: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 common.c: In function ‘kafs_settoken’:
 common.c:71: error: ‘c’ undeclared (first use in this function)
 common.c:71: error: (Each undeclared identifier is reported only once
 common.c:71: error: for each function it appears in.)
 common.c:75: warning: implicit declaration of function ‘krb_life_to_time’
 common.c:76: warning: implicit declaration of function ‘time’
 common.c: At top level:
 common.c:338: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 common.c: In function ‘_kafs_get_cred’:
 common.c:370: error: ‘c’ undeclared (first use in this function)
 common.c:370: error: too many arguments to function ‘data->get_cred’
 common.c:372: error: too many arguments to function ‘data->get_cred’
 common.c:383: error: too many arguments to function ‘data->get_cred’
 common.c:393: error: too many arguments to function ‘data->get_cred’
 common.c:402: error: too many arguments to function ‘data->get_cred’
 common.c:404: error: too many arguments to function ‘data->get_cred’
 common.c:416: error: too many arguments to function ‘data->get_cred’
 common.c:418: error: too many arguments to function ‘data->get_cred’
 make: *** [common.o] Error 1
 In file included from resolve.h:39,
                  from resolve.c:58:
 krbafs_locl.h:131: error: expected declaration specifiers or ‘...’ before
 ‘des_cblock’
 krbafs_locl.h:158: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 krbafs_locl.h:172: error: expected declaration specifiers or ‘...’ before
 ‘CREDENTIALS’
 make: *** [resolve.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70592>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list