[MacPorts] #52279: samba3 @3.6.25 +openldap: lib/memcache.c:29:2: error: unknown type name 'uint8'; did you mean 'uint'?

MacPorts noreply at macports.org
Thu Sep 22 10:03:01 CEST 2016


#52279: samba3 @3.6.25 +openldap: lib/memcache.c:29:2: error: unknown type name
'uint8'; did you mean 'uint'?
-----------------------------+--------------------------------
  Reporter:  maverick.woo@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  samba3          |
-----------------------------+--------------------------------

Comment (by ryandesign@…):

 The second error in the log is more helpful:

 {{{
 :info:build lib/memcache.c:33:8: error: redefinition of 'memcache'
 :info:build struct memcache {
 :info:build        ^
 :info:build /opt/local/include/memcache.h:551:8: note: previous definition
 is here
 :info:build struct memcache {
 :info:build        ^
 }}}

 /opt/local/include/memcache.h is provided by the libmemcache port; I can
 reproduce the problem on El Capitan if I use the openldap variant when the
 libmemcache port is already installed.

 Ideally we would fix samba3 so that it does not have this problem. At
 minimum we can use the conflicts_build portgroup to indicate that samba3
 has a build conflict with libmemcache when the openldap variant is used.

-- 
Ticket URL: <https://trac.macports.org/ticket/52279#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list