Opened 4 years ago

Last modified 4 years ago

#61144 closed defect

samba4 @4.0.0tp5: PIDL failure — at Initial Version

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

Description

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 https://trac.macports.org/ticket/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 ?

Change History (1)

Changed 4 years ago by jsalort (Julien Salort)

Attachment: main.log added

Full log file

Note: See TracTickets for help on using tickets.