[MacPorts] #62678: netcdf 4.8.0: update fails after libstdc++ headers not found
MacPorts
noreply at macports.org
Mon Apr 12 11:53:03 UTC 2021
#62678: netcdf 4.8.0: update fails after libstdc++ headers not found
---------------------------+----------------------
Reporter: thiagoveloso | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: netcdf |
---------------------------+----------------------
Comment (by thiagoveloso):
Replying to [comment:2 kencu]:
> Well I think it is your MacPorts configuration...I'm not sure how you
would get {{{-stdlib=libstdc++}}} into your CXXFLAGS otherwise:
> {{{
> debug:configure CXXFLAGS='-pipe -Os -stdlib=libstdc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
> }}}
>
> can you show us the output of this command?:
> {{{
> $ diff -u /opt/local/etc/macports/macports.conf.default
/opt/local/etc/macports/macports.conf
> }}}
Thanks for the comment, Ken. I did change a few configs, but certainly
nothing related to compiler flags:
{{{
thiago at vcr-mac:~$ diff -u /opt/local/etc/macports/macports.conf.default
/opt/local/etc/macports/macports.conf
--- /opt/local/etc/macports/macports.conf.default 2020-11-14
08:13:56.000000000 -0300
+++ /opt/local/etc/macports/macports.conf 2021-02-03
10:49:40.000000000 -0300
@@ -1,6 +1,8 @@
# MacPorts system-wide configuration file.
# Commented-out values are defaults unless otherwise noted.
+#macosx_deployment_target 10.16
+
# Directory under which MacPorts should install ports. This must be
# where MacPorts itself is installed.
prefix /opt/local
@@ -44,7 +46,7 @@
# - always: Always build from source; never try fetching archives.
# - never: Never build from source; try fetching archives and abort if
# unavailable.
-#buildfromsource ifneeded
+buildfromsource ifneeded
# Type of archive to use for port images. Supported types are cpgz,
# cpio, tar, tbz, tbz2, tgz, tlz, txz, xar, zip.
@@ -78,7 +80,7 @@
# Maximum size of files stored in ccache's cache. Append "G", "M", or
# "K" for gigabytes, megabytes, or kilobytes.
-#ccache_size 2G
+ccache_size 500M
# Use distcc, a distributed compiler for C, C++, Objective-C, and
# Objective-C++. (See http://distcc.org.) The "distcc" executable must
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62678#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list