[MacPorts] #61137: glib2 @2.58.3 +universal+x11: compile error: unterminated conditional directive (clang version?)

MacPorts noreply at macports.org
Tue Sep 8 17:09:26 UTC 2020


#61137: glib2 @2.58.3 +universal+x11: compile error: unterminated conditional
directive (clang version?)
---------------------+------------------------
  Reporter:  JDLH    |      Owner:  ryandesign
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.3
Resolution:  fixed   |   Keywords:
      Port:  glib2   |
---------------------+------------------------
Changes (by ryandesign):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:4 JDLH]:
 > The interesting part of the failure appears to be that the linker was
 looking for `/opt/local/lib/libffi.6.dylib`, but all I had was
 `/opt/local/lib/libffi.7.dylib`. (Sorry, I worked around the problem, and
 lost that copy of the log file.)

 The relevant information would be: what program or library was looking for
 libffi.6.dylib, and the solution would be to upgrade that program or
 library first.

 For example, one possibility might be that you had the cctools port
 installed with the +llvm90 variant, and the problem was that you hadn't
 upgraded llvm-9.0 yet.


 Replying to [comment:5 JDLH]:
 > It appears that **libffi @3.3_1+universal** removed the problem that
 broke **glib2**.

 Yes.

 > I don't know why my `port upgrade outdated` yesterday got  @3.3_0
 instead of @3.3_1 of **libffi**.

 You hadn't run `sudo port selfupdate` or `sudo port sync` recently enough
 prior to that, or the fix had not propagated from our git repository to
 the rsync server yet (it takes about an hour).

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


More information about the macports-tickets mailing list