[MacPorts] #59760: olm is not using the right compiler or flags

MacPorts noreply at macports.org
Tue Nov 26 04:09:51 UTC 2019


#59760: olm is not using the right compiler or flags
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  scarface-one
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  olm
------------------------+--------------------------
 olm is not UsingTheRightCompiler, nor do I see the `-stdlib=` flag nor
 `-arch` flags:

 https://build.macports.org/builders/ports-10.6_i386-builder/builds/4612/steps
 /install-port/logs/stdio

 {{{
 make: Entering directory
 `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_olm/olm/work/olm-2.3.0'
 mkdir -p build/release/src/
 mkdir -p build/release/src/
 mkdir -p build/release/src/
 mkdir -p build/release/src/
 g++ -Wall -Werror -std=c++11 -fPIC -g -O3 -Iinclude -Ilib
 -DOLMLIB_VERSION_MAJOR=2 -DOLMLIB_VERSION_MINOR=3 -DOLMLIB_VERSION_PATCH=0
 -MMD  -c -o build/release/src/base64.o src/base64.cpp
 g++ -Wall -Werror -std=c++11 -fPIC -g -O3 -Iinclude -Ilib
 -DOLMLIB_VERSION_MAJOR=2 -DOLMLIB_VERSION_MINOR=3 -DOLMLIB_VERSION_PATCH=0
 -MMD  -c -o build/release/src/crypto.o src/crypto.cpp
 g++ -Wall -Werror -std=c++11 -fPIC -g -O3 -Iinclude -Ilib
 -DOLMLIB_VERSION_MAJOR=2 -DOLMLIB_VERSION_MINOR=3 -DOLMLIB_VERSION_PATCH=0
 -MMD  -c -o build/release/src/cipher.o src/cipher.cpp
 g++ -Wall -Werror -std=c++11 -fPIC -g -O3 -Iinclude -Ilib
 -DOLMLIB_VERSION_MAJOR=2 -DOLMLIB_VERSION_MINOR=3 -DOLMLIB_VERSION_PATCH=0
 -MMD  -c -o build/release/src/account.o src/account.cpp
 cc1plus: error: unrecognized command line option "-std=c++11"cc1plus:
 error: unrecognized command line option "-std=c++11"

 cc1plus: error: unrecognized command line option "-std=c++11"
 cc1plus: error: unrecognized command line option "-std=c++11"
 }}}

 Since this port uses `use_configure no`, it falls to the port maintainer
 to manually implement the functionality that MacPorts base gives you for
 free when you do have a configure script.

-- 
Ticket URL: <https://trac.macports.org/ticket/59760>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list