[MacPorts] #64540: py310-re2 @1.0.7_0: build failure on macos-10.6.8

MacPorts noreply at macports.org
Thu Jan 27 09:01:18 UTC 2022


#64540: py310-re2 @1.0.7_0: build failure on macos-10.6.8
--------------------------+------------------------------
  Reporter:  macportsraf  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:  snowleopard lion
      Port:  py-re2       |
--------------------------+------------------------------
Changes (by jmroot):

 * keywords:  10.6 python310 re2 => snowleopard lion
 * port:  py310-re2 => py-re2


Old description:

> Hi, a port update outdated on 10.6.8 resulted in this compile error for
> py310-re2:
>
> :info:build In file included from _re2.cc:37:
> :info:build /opt/local/include/re2/re2.h:974:29: error: 'TARGET_OS_OSX'
> is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
> :info:build #if (defined(__APPLE__) && !TARGET_OS_OSX) ||
> defined(__MINGW32__)

New description:

 Hi, a port update outdated on 10.6.8 resulted in this compile error for
 py310-re2:
 {{{
 :info:build In file included from _re2.cc:37:
 :info:build /opt/local/include/re2/re2.h:974:29: error: 'TARGET_OS_OSX' is
 not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
 :info:build #if (defined(__APPLE__) && !TARGET_OS_OSX) ||
 defined(__MINGW32__)
 }}}

--

Comment:

 Fails the same way on 10.7:
 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/85073/steps
 /install-port/logs/stdio

-- 
Ticket URL: <https://trac.macports.org/ticket/64540#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list