[MacPorts] #57609: cdo @1.9.5: error: could not determine ar interface
MacPorts
noreply at macports.org
Tue Apr 9 11:34:16 UTC 2019
#57609: cdo @1.9.5: error: could not determine ar interface
---------------------+----------------------
Reporter: stineb | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cdo |
---------------------+----------------------
Comment (by jmsoeiro):
While installing gd2 (trying octave -> gnuplot) I get the same message.
ports are up to date, as are Xcode command line utils. I uninstalled
previous versions and did a clean install with
{{{
sudo port install gd2
}}}
Some excerpts from config.log:
The error seems to be where @tenomoto suggests.
{{{
It was created by GD configure 2.2.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/opt/local --disable-werror --with-
freetype=/opt/local --with-fontconfig=/opt/local --with-jpeg=/opt/local
--with-png=/opt/local --with-tiff=/opt/local --with-webp=/opt/local
--with-zlib=/opt/local --without-liq --with-xpm=/opt/local
--x-includes=/opt/local/include --x-libraries=/opt/local/lib
## --------- ##
## Platform. ##
## --------- ##
hostname = f02ca1204.fe.up.pt
uname -m = x86_64
uname -r = 18.2.0
uname -s = Darwin
uname -v = Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018;
root:xnu-4903.241.1~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018;
root:xnu-4903.241.1~1/RELEASE_X86_64
...........
configure:4172: checking for ar
configure:4188: found /opt/local/bin/ar
configure:4199: result: ar
configure:4225: checking the archiver (ar) interface
configure:4241: /usr/bin/clang -c -pipe -Os
-DDEFAULT_FONTPATH=\"/System/Library/Fonts:/Library/Fonts\"
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -I/opt/local/include
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
conftest.c >&5
In file included from <built-in>:362:
<command line>:1:27: warning: missing terminating '"' character
[-Winvalid-pp-token]
#define DEFAULT_FONTPATH \"/System/Library/Fonts:/Library/Fonts\"
^
1 warning generated.
configure:4241: $? = 0
configure:4243: ar cru libconftest.a conftest.o >&5
/opt/local/bin/ranlib: object: libconftest.a(conftest.o) malformed object
(unknown load command 1)
ar: internal ranlib command failed
configure:4246: $? = 1
configure:4252: ar -NOLOGO -OUT:conftest.lib conftest.o >&5
ar: illegal option -- N
usage: ar -d [-TLsv] archive file ...
ar -m [-TLsv] archive file ...
ar -m [-abiTLsv] position archive file ...
ar -p [-TLsv] archive [file ...]
ar -q [-cTLsv] archive file ...
ar -r [-cuTLsv] archive file ...
ar -r [-abciuTLsv] position archive file ...
ar -t [-TLsv] archive [file ...]
ar -x [-ouTLsv] archive [file ...]
configure:4255: $? = 1
configure:4274: result: unknown
configure:4290: error: could not determine ar interface
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57609#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list