[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 Aug 11 15:41:31 UTC 2022
#52279: samba3 @3.6.25 +openldap: lib/memcache.c:29:2: error: unknown type name
'uint8'; did you mean 'uint'?
--------------------------+--------------------------------
Reporter: maverickwoo | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: samba3 |
--------------------------+--------------------------------
Comment (by cooljeanius):
Replying to [comment:4 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.
Building in trace mode helps get around this error; it also leads to the
following access reports:
configure phase:
{{{
Warning: The following existing files were hidden from the build system by
trace mode:
/opt/local/bin/ar
/opt/local/bin/gawk
/opt/local/bin/ggrep
/opt/local/bin/gmake
/opt/local/bin/mawk
/opt/local/bin/nawk
/opt/local/bin/pkg-config
/opt/local/bin/python2.6
/opt/local/bin/python2.6-config
/opt/local/bin/python2.7
/opt/local/bin/python2.7-config
/opt/local/include/__libunwind_config.h
/opt/local/include/libunwind.h
/opt/local/include/talloc.h
/opt/local/include/tdb.h
/opt/local/include/tevent.h
/opt/local/include/valgrind/memcheck.h
/opt/local/include/valgrind/valgrind.h
/opt/local/lib/libiniparser.a
/opt/local/lib/libmd.a
/opt/local/lib/libmd.dylib
/opt/local/lib/libpython2.7.dylib
/opt/local/lib/libunwind.a
/opt/local/lib/libunwind.dylib
/private/var/select/sh
}}}
{{{
Warning: The following files inside the MacPorts prefix not installed by a
port were accessed:
/opt/local/bin/python
/opt/local/bin/python-config
DEBUG: Executing portconfigure::configure_finish
DEBUG: Ignoring implicit declaration of function 'fallocate' because it is
whitelisted
DEBUG: Ignoring implicit declaration of function 'readahead' because it is
whitelisted
DEBUG: Ignoring implicit declaration of function 'posix_fadvise' because
it is whitelisted
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
krb5_principal_get_realm: found in samba-3.6.25/source3/config.log
open64: found in samba-3.6.25/source3/config.log
setresuid: found in samba-3.6.25/source3/config.log
statvfs64: found in samba-3.6.25/source3/config.log
fallocate64: found in samba-3.6.25/source3/config.log
prtcl: found in samba-3.6.25/source3/config.log
setresgid: found in samba-3.6.25/source3/config.log
getdents: found in samba-3.6.25/source3/config.log
}}}
build phase:
{{{
Warning: The following existing files were hidden from the build system by
trace mode:
/opt/local/bin/ar
/opt/local/include/Block.h
/opt/local/include/__libunwind_config.h
/opt/local/include/libsmbclient.h
/opt/local/include/libunwind.h
/opt/local/include/memcache.h
/opt/local/include/smb_share_modes.h
/opt/local/include/talloc.h
/opt/local/include/tdb.h
/opt/local/include/tevent.h
/opt/local/lib/libunwind.dylib
/private/var/select/sh
}}}
destroot phase:
{{{
Warning: The following existing files were hidden from the build system by
trace mode:
/opt/local/bin/install_name_tool
/private/var/select/sh
/var/root/.CFUserTextEncoding
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52279#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list