[MacPorts] #65886: rbmake @1.2_8: rev-upgrade fails with: error: cannot combine with previous 'char' declaration specifier

MacPorts noreply at macports.org
Fri Sep 23 08:29:45 UTC 2022


#65886: rbmake @1.2_8: rev-upgrade fails with: error: cannot combine with previous
'char' declaration specifier
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:
      Port:  rbmake       |
--------------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 rbmake doesn't use icu, but it uses libxml2 which does, and it uses
 `xml2-config --libs`, which causes it to overlink with libxml2's
 dependencies. It should use `xml2-config --libs --dynamic` to avoid that.

 I see it also opportunistically uses libwww if present, and in that case
 it overlinks to libwww's libraries, and libwww's `libwww-config` doesn't
 offer a `--dynamic` flag or a pkg-config file to avoid that. Probably
 simplest to disable rbmake's use of libwww. I'm looking into how to do
 that now.

 I don't see the `bool`-redefinition-related build failure on my Catalina
 system but I'll see what I can do about that as well. We had successful
 builds of this port on the buildbot on all systems last time we tried but
 it's been awhile.

 I'll also see what I can do about the incorrect header search order.

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


More information about the macports-tickets mailing list