Opened 2 years ago

Last modified 21 months ago

#65168 assigned defect

gnome-control-center @3.26.2_3: error: too many arguments to function call, expected 2, have 4

Reported by: leonpano2006 Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gnome-control-center

Description

an

┌──(leonpano㉿leonpano-MacBookPro)-[~/pacman]
└─$ sudo port install gnome-control-center
--->  Computing dependencies for gnome-control-center
--->  Fetching archive for gnome-control-center
--->  Attempting to fetch gnome-control-center-3.26.2_3.darwin_21.x86_64.tbz2 from https://packages.macports.org/gnome-control-center
--->  Attempting to fetch gnome-control-center-3.26.2_3.darwin_21.x86_64.tbz2 from https://nue.de.packages.macports.org/gnome-control-center
--->  Attempting to fetch gnome-control-center-3.26.2_3.darwin_21.x86_64.tbz2 from https://fra.de.packages.macports.org/gnome-control-center
--->  Building gnome-control-center
Error: Failed to build gnome-control-center: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-control-center/gnome-control-center/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gnome-control-center failed

Attachments (1)

main.log (582.1 KB) - added by leonpano2006 2 years ago.

Download all attachments as: .zip

Change History (13)

Changed 2 years ago by leonpano2006

Attachment: main.log added

comment:1 Changed 2 years ago by leonpano2006

Keywords: monterey added
Port: gnome-control-center added

comment:2 Changed 2 years ago by leonpano2006

Priority: NormalHigh

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Owner: set to dbevans
Status: newassigned

comment:4 Changed 2 years ago by reneeotten (Renee Otten)

Priority: HighNormal

comment:5 Changed 2 years ago by reneeotten (Renee Otten)

Summary: can't install gnome stuffgnome-control-center: build failure

please add the main.log file that is mentioned in the error message

comment:6 Changed 2 years ago by kencu (Ken)

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.

Last edited 2 years ago by kencu (Ken) (previous) (diff)

comment:7 Changed 2 years ago by kencu (Ken)

Keywords: monterey removed
Summary: gnome-control-center: build failuregnome-control-center @3.26.2_3: error: too many arguments to function call, expected 2, have 4

comment:8 Changed 2 years ago by leonpano2006

there is more are broken for sudo port install gnome gnome-control-center is one of it witches broken there is a lot more are broken is long to fix and gnome-terminal wont launch

comment:9 Changed 2 years ago by leonpano2006

telepathy-mission-control\ is also broken for install gnome

comment:10 Changed 2 years ago by leonpano2006

Priority: NormalHigh

comment:11 Changed 2 years ago by reneeotten (Renee Otten)

Priority: HighNormal

comment:12 in reply to:  5 Changed 21 months ago by leonpano2006

Replying to reneeotten:

please add the main.log file that is mentioned in the error message

that is supplied already and is anyone are going to fix this port?

Note: See TracTickets for help on using tickets.