Opened 4 years ago

Closed 4 years ago

#61144 closed defect (fixed)

samba4 @4.0.0tp5: PIDL failure

Reported by: jsalort (Julien Salort) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: samba4

Description (last modified by mf2k (Frank Schima))

The samba4 port fails to build on Catalina with MacPorts 2.6.3. The relevant error message is

:info:build Creating libcli/util/proto.h
:info:build Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./pidl/pidl line 576. 
:info:build make: *** [idl] Error 1

Apparently, this is different from other build failure tickets, such as #38639

Indeed, samba4 appears to use a Perl IDL compiler, https://wiki.samba.org/index.php/PIDL

The source code for PIDL is here https://gitlab.com/samba-team/samba/-/tree/master/pidl but there are no indications of system requirements. Could there be a perl version mismatch ?

Attachments (1)

main.log (83.6 KB) - added by jsalort (Julien Salort) 4 years ago.
Full log file

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by jsalort (Julien Salort)

Attachment: main.log added

Full log file

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

Description: modified (diff)

comment:2 Changed 4 years ago by 21stcaveman (Hamid Maadani)

"defined" is deprecated in later perl versions. remove defined from pidl/pidl line 576, and it will go through fine.

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

Resolution: fixed
Status: newclosed

samba4 has been updated to 4.13.0 which builds fine on Catalina.

Note: See TracTickets for help on using tickets.