[MacPorts] #65168: gnome-control-center: build failure

MacPorts noreply at macports.org
Sat May 14 04:22:03 UTC 2022


#65168: gnome-control-center: build failure
-----------------------------------+----------------------
  Reporter:  leonpano2006          |      Owner:  dbevans
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.7.2
Resolution:                        |   Keywords:  monterey
      Port:  gnome-control-center  |
-----------------------------------+----------------------

Comment (by kencu):

 the log is above.

 The issue is:

 {{{
 cc-background-item.c:223:36: error: too many arguments to function call,
 expected 2, have 4
         gnome_bg_draw (bg, pixbuf, gdk_screen_get_default (), FALSE);
         ~~~~~~~~~~~~~              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /opt/local/include/gnome-desktop-3.0/libgnome-desktop/gnome-bg.h:78:18:
 note: 'gnome_bg_draw' declared here
 void             gnome_bg_draw                  (GnomeBG
 *bg,
                  ^
 }}}

 and this inconsistency is likely because that file is provided by:
 {{{
 % port provides /opt/local/include/gnome-desktop-3.0/libgnome-desktop
 /gnome-bg.h
 /opt/local/include/gnome-desktop-3.0/libgnome-desktop/gnome-bg.h is
 provided by: gnome-desktop
 }}}

 and that port is at:
 {{{
 % port -v installed gnome-desktop
 The following ports are currently installed:
   gnome-desktop @3.38.9_0 (active) requested_variants='' platform='darwin
 21' archs='x86_64' date='2022-05-13T20:15:07-0700'
 }}}
 whereas the gnome-control-center port we are trying to install is much
 older, at:
 {{{
  % port info gnome-control-center
 gnome-control-center @3.26.2_3 (gnome)
 }}}

 and obviously things have changed since then.

 SO the fix is to update gnome-control-center to version 3.38.x, to match
 gnome-desktop.

 No doubt that has not been done as it will require retooling gnome-
 control-center to meson, and nobody has so far felt like taking on that
 project.

 So this port is broken until that is done.

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


More information about the macports-tickets mailing list