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

MacPorts noreply at macports.org
Tue Sep 8 02:40:16 UTC 2020


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

Comment (by JDLH):

 Everything upgraded, albeit with some hiccups. I think this problem is
 solved for me.

 So what was the underlying problem? I think it boils down to, yesterday, I
 did `port upgrade outdated` and it upgraded **libffi** to
 @3.3_0+universal:

 {{{
 The following installed ports are outdated:
 glib2                          2.58.3_0 < 2.58.3_1
 [… snip …]
 libffi                         3.2.1_0 < 3.3_0
 [… snip …]
 % sudo port upgrade outdated
 Password:
 --->  Computing dependencies for libffi
 --->  Fetching archive for libffi
 [… snip …]
 --->  Attempting to fetch
 libffi-3.3_0+universal.darwin_17.i386-x86_64.tbz2 from
 https://kmq.jp.packages.macports.org/libffi
 --->  Fetching distfiles for libffi
 --->  Attempting to fetch libffi-3.3.tar.gz from
 https://distfiles.macports.org/libffi
 --->  Verifying checksums for libffi
 --->  Extracting libffi
 --->  Configuring libffi
 --->  Building libffi
 --->  Staging libffi into destroot
 --->  Installing libffi @3.3_0+universal
 --->  Cleaning libffi
 --->  Deactivating libffi @3.2.1_0+universal
 --->  Cleaning libffi
 --->  Activating libffi @3.3_0+universal
 --->  Cleaning libffi
 --->  Computing dependencies for glib2
 --->  Fetching archive for glib2
 --->  Attempting to fetch
 glib2-2.58.3_1+universal+x11.darwin_17.i386-x86_64.tbz2 from
 https://packages.macports.org/glib2
 --->  Attempting to fetch
 glib2-2.58.3_1+universal+x11.darwin_17.i386-x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/glib2/glib2
 --->  Attempting to fetch
 glib2-2.58.3_1+universal+x11.darwin_17.i386-x86_64.tbz2 from
 https://kmq.jp.packages.macports.org/glib2
 --->  Fetching distfiles for glib2
 --->  Verifying checksums for glib2
 --->  Extracting glib2
 --->  Applying patches to glib2
 --->  Configuring glib2
 --->  Building glib2
 Error: Failed to build glib2: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 Today, I did `port upgrade outdated` and it upgraded **libffi** to
 @3.3_1+universal:

 {{{
 % sudo port upgrade outdated and not \( glib2 or rdepends:glib2 \)
 Password:
 --->  Fetching archive for gnome-user-docs
 [… snip …]
 --->  Cleaning gnome-user-docs
 --->  Computing dependencies for libffi
 --->  Fetching archive for libffi
 --->  Attempting to fetch
 libffi-3.3_1+universal.darwin_17.i386-x86_64.tbz2 from
 https://packages.macports.org/libffi
 --->  Attempting to fetch
 libffi-3.3_1+universal.darwin_17.i386-x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/libffi/libffi
 --->  Attempting to fetch
 libffi-3.3_1+universal.darwin_17.i386-x86_64.tbz2 from
 https://kmq.jp.packages.macports.org/libffi
 --->  Fetching distfiles for libffi
 --->  Verifying checksums for libffi
 --->  Extracting libffi
 --->  Configuring libffi
 --->  Building libffi
 --->  Staging libffi into destroot
 --->  Installing libffi @3.3_1+universal
 --->  Cleaning libffi
 --->  Deactivating libffi @3.3_0+universal
 --->  Cleaning libffi
 --->  Activating libffi @3.3_1+universal
 --->  Cleaning libffi
 [… snip …]
 }}}

 It appears that **libffi @3.3_1+universal** removed the problem that broke
 **glib2**. I don't know why my `port upgrade outdated` yesterday got
 @3.3_0 instead of @3.3_1 of **libffi**.

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


More information about the macports-tickets mailing list