[MacPorts] #61216: Virtuoso-7 fail to install on OS 10.15 with XCode 12.0
MacPorts
noreply at macports.org
Wed Sep 23 13:13:29 UTC 2020
#61216: Virtuoso-7 fail to install on OS 10.15 with XCode 12.0
-------------------------+--------------------
Reporter: JacquesLB | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: virtuoso-7 |
-------------------------+--------------------
Comment (by chrstphrchvz):
I can reproduce the error:
{{{
/usr/bin/clang -DHAVE_CONFIG_H -I. -I../../libsrc/Dk
-I/opt/local/include/openssl-1.0 -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fno-
strict-aliasing -O2 -Wall -DNDEBUG -DPOINTER_64
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_github
.com_macports_macports-ports_devel_virtuoso-7/virtuoso-7/work/virtuoso-
opensource-7.2.5/libsrc/Xml.new -DOPENSSL_NO_KRB5 -I../../libsrc
-I../../libsrc/Dk -I../../libsrc/zlib -I. -I../../libsrc/langfunc
-I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new
-I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Darwin\"
-DHOST=\"x86_64-apple-darwin19.6.0\" -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
x86_64 -MT libwi_la-numeric.lo -MD -MP -MF .deps/libwi_la-numeric.Tpo -c
numeric.c -fno-common -DPIC -o .libs/libwi_la-numeric.o
numeric.c:1527:12: error: implicit declaration of function 'stricmp' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (!stricmp (cp, "INF") || !stricmp (cp, "Infinity"))
^
numeric.c:1680:29: error: implicit declaration of function 'stricmp' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (!isdigit (cp[0]) && (!stricmp (cp, "INF") || !stricmp (cp,
"Infinity") || !stricmp (cp, "NaN")))
^
2 errors generated.
}}}
My guess is that it is waiting until linking to use the `stricmp()`
implementation from libsrc/util/stricmp.c, and isn't providing a header
file to declare it.
--
Ticket URL: <https://trac.macports.org/ticket/61216#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list