[MacPorts] #61144: samba4 @4.0.0tp5: PIDL failure

MacPorts noreply at macports.org
Tue Sep 8 08:18:45 UTC 2020


#61144: samba4 @4.0.0tp5: PIDL failure
---------------------+--------------------
 Reporter:  jsalort  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.3
 Keywords:           |       Port:  samba4
---------------------+--------------------
 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 ?

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


More information about the macports-tickets mailing list