Opened 9 years ago

Closed 17 months ago

#47006 closed defect (fixed)

kerberos5 @1.13 10.4 build failure unititialised object

Reported by: geoffd2 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: tiger powerpc Cc:
Port: kerberos5

Description

Upgrade build fails with error:

:info:build kcmrpc.c: In function 'k5_kcmrpc_call':
:info:build kcmrpc.c:539: error: 'Out1P' may be used uninitialized in this function

Indeed in that function:

Request *InP = &Mess.In;
   538          Reply *Out0P = &Mess.Out;
   539          Reply *Out1P;
...
   608  #if     defined(__MIG_check__Reply__call_t__defined)
   609          check_result = __MIG_check__Reply__call_t((__Reply__call_t *)Out0P, (__Reply__call_t **)&Out1P);

Change History (5)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: nomaintainer@… removed

Please do not Cc nomaintainer@… because it is not a valid email address.

comment:2 Changed 9 years ago by geoffd2

Right - that info is in the Guidelines for the 'Assign' box, but I didn't read it because I can't assign the ticket :( it should probably be in the 'Cc' guidelines as well.

Note that the above is with gcc-42 ( with gcc-4.0 it skates over the k5_kcmrpc_call issue with a warning, but fails with #46701 )

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 9 years ago by geoffd2

It seems that kcmrpc.c doesn't exist at config time, but is generated at build time. Possibly by this command:

mig -header kcmrpc.h -user kcmrpc.c -sheader /dev/null -server /dev/null -I. ./kcmrpc.defs

But since I don't know how mig works, that leaves me at a loss as to where the code-to-be-edited is.

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:5 Changed 17 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

fixed at some point:

$ port -v installed kerberos5
The following ports are currently installed:
  kerberos5 @1.19.2_1 requested_variants='' platform='darwin 8' archs='ppc' date='2022-02-21T14:58:53-0800'
  kerberos5 @1.20_0 requested_variants='' platform='darwin 8' archs='ppc' date='2022-08-17T17:48:48-0700'
  kerberos5 @1.20.1_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-11-28T14:37:13-0800'

Note: See TracTickets for help on using tickets.