[MacPorts] #66832: libgcc12 build fails if libmd is installed
MacPorts
noreply at macports.org
Sun Feb 5 18:52:20 UTC 2023
#66832: libgcc12 build fails if libmd is installed
-----------------------------+----------------------
Reporter: nocturne-mit | Owner: (none)
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libgcc12 libmd |
-----------------------------+----------------------
Comment (by nocturne-mit):
Agreed and verified.
I completely uninstalled and reinstalled macports, and was able to build
libgcc12 just fine, with neither libmd nor gawk installed.
When I then uninstalled everything, installed libmd, and attempted to
rebuild libgcc12, I saw the same error I saw in my very first failure. The
build is now finding awk correctly - the real issue occurs with multiple
failures like this when trying to compile libiberty/md5.c:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/md5.c:67:6:
error: incomplete definition of type 'struct md5_ctx'
:info:build ctx->A = (md5_uint32) 0x67452301;
:info:build ~~~^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/md5.c:65:22:
note: forward declaration of 'struct md5_ctx'
:info:build md5_init_ctx (struct md5_ctx *ctx)
:info:build ^
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc12/libgcc12/work/gcc-12.2.0/libiberty/md5.c:67:13:
error: use of undeclared identifier 'md5_uint32'
:info:build ctx->A = (md5_uint32) 0x67452301;
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66832#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list