On Sun, Mar 08, 2026 at 08:23:40PM -0600, [email protected] wrote:
[...]
> https://cranky.work/sparc64/2026-03-02/devel/libnotify.log

So this one has been discussed earlier today and led to this commit:

  revision 1.58
  date: 2026/03/23 18:55:50;  author: jca;  state: Exp;  lines: +1 -3;  
commitid: MoiV9oJ7Rtr1bcAo;
  Drop COMPILER tweak added to work around a base-gcc limitation
  
  As noted by claudio and tb, the offending enum is in a public header, so
  tweaking just COMPILER in devel/libnotify won't help libnotify
  consumers.  kmos then tweaked consumers and made them use ports-gcc too.
  This commit only comments the problematic __attribute__((__deprecated__))
  in the public header, said attribute isn't very useful anyway since the
  enum member containing a typo doesn't appear used in the ecosystem anyway.
  
  ok aja@
  
  There may be a followup commit if people feel like moving back consumers
  to a default COMPILER line makes sense, mail to follow.

Here's said email.  kmos added a COMPILER line to the following ports
because of libnotify (commit messages looked consistent so I doubt I
mised one).

  audio/gmpc
  geo/geoclue2
  sysutils/tray-app
  www/uget
  x11/gnome/settings-daemon
  x11/mate/caja
  x11/mate/settings-daemon

If I revert the COMPILER addition in said ports, they still build on
sparc64.  However libnotify looks like an active project and its
main/only use is gui programs, so most of them already need a more
recent compiler, and I'd hate to waste Kurt's time on something he
already fixed.

Here's the -current list of devel/libnotify
consumers using the default COMPILER = base-clang base-gcc value,
along with the reason why they weren't built in the last sparc64 bulk:

  mail/evolution missing dep webkitgtk4
  productivity/osmo missing dep webkitgtk4
  x11/gnome-mplayer old port, libnotify header error
  x11/mate/notification-daemon missing dep webkitgtk4
  x11/pidgin-libnotify old port, libnotify header error

Here's the diff that reverts the COMPILER addition in libnotify
consumers.  It slightly decreases the amounts of deps needed to build
those ports, but as far as I'm concerned, these ports can stay as is
and I'd happily drop the diff.

Kurt, others: thoughts?


Index: audio/gmpc/Makefile
===================================================================
RCS file: /cvs/ports/audio/gmpc/Makefile,v
diff -u -p -r1.78 Makefile
--- audio/gmpc/Makefile 20 Mar 2026 20:54:01 -0000      1.78
+++ audio/gmpc/Makefile 23 Mar 2026 19:39:32 -0000
@@ -5,6 +5,7 @@ GH_PROJECT=             gmpc
 GH_COMMIT=             28e1441f356afb9eb2538c82ebbd392c2a8686ff
 
 VERSION=               11.8.90pl20200215
+REVISION=              0
 DISTNAME=              gmpc-${VERSION}
 
 CATEGORIES=            audio
@@ -13,10 +14,6 @@ MAINTAINER=          Landry Breuil <landry@openb
 
 # GPLv2
 PERMIT_PACKAGE=        Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 WANTLIB += ${COMPILER_LIBCXX} X11 Xau Xcomposite Xcursor Xdamage
 WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0
Index: geo/geoclue2/Makefile
===================================================================
RCS file: /cvs/ports/geo/geoclue2/Makefile,v
diff -u -p -r1.59 Makefile
--- geo/geoclue2/Makefile       20 Mar 2026 20:48:29 -0000      1.59
+++ geo/geoclue2/Makefile       23 Mar 2026 19:39:32 -0000
@@ -3,6 +3,7 @@ COMMENT=                modular geoinformation service
 VERSION=               2.8.0
 DISTNAME=              geoclue-${VERSION}
 PKGNAME=               geoclue2-${VERSION}
+REVISION=              0
 
 CATEGORIES=            geo devel
 
@@ -14,10 +15,6 @@ MAINTAINER=          Antoine Jacoutot <ajacoutot
 
 # LGPLv2
 PERMIT_PACKAGE=        Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 SITES=                 
https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${VERSION}/
 EXTRACT_SUFX=          .tar.bz2
Index: sysutils/tray-app/Makefile
===================================================================
RCS file: /cvs/ports/sysutils/tray-app/Makefile,v
diff -u -p -r1.13 Makefile
--- sysutils/tray-app/Makefile  21 Mar 2026 03:02:14 -0000      1.13
+++ sysutils/tray-app/Makefile  23 Mar 2026 19:39:32 -0000
@@ -3,7 +3,7 @@ ONLY_FOR_ARCHS= ${APM_ARCHS}
 COMMENT=       small utilities for X11 system tray: eject, battery, mixer
 
 DISTNAME=      tray-app-0.3.1
-REVISION=      2
+REVISION=      3
 
 CATEGORIES=    sysutils x11
 
@@ -11,10 +11,6 @@ HOMEPAGE=    http://www.bsdua.org/tray-app.
 
 # Public domain
 PERMIT_PACKAGE=        Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 WANTLIB =  X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
 WANTLIB += Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0
Index: www/uget/Makefile
===================================================================
RCS file: /cvs/ports/www/uget/Makefile,v
diff -u -p -r1.31 Makefile
--- www/uget/Makefile   20 Mar 2026 06:41:23 -0000      1.31
+++ www/uget/Makefile   23 Mar 2026 19:39:32 -0000
@@ -1,16 +1,12 @@
 COMMENT =      lightweight graphical download manager
 DISTNAME =     uget-2.2.2
 CATEGORIES =   www net x11
-REVISION =     2
+REVISION =     3
 
 HOMEPAGE =     https://ugetdm.com/
 
 # LGPLv2.1+
 PERMIT_PACKAGE =       Yes
-
-# base-gcc chokes on __attribute__((__deprecated__)) annotating an enum
-COMPILER =             base-clang ports-gcc
-COMPILER_LANGS =       c
 
 WANTLIB += atk-1.0 c cairo cairo-gobject crypto curl gdk-3 gdk_pixbuf-2.0
 WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gstreamer-1.0 gtk-3 harfbuzz
Index: x11/gnome/settings-daemon/Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/settings-daemon/Makefile,v
diff -u -p -r1.220 Makefile
--- x11/gnome/settings-daemon/Makefile  22 Mar 2026 19:52:14 -0000      1.220
+++ x11/gnome/settings-daemon/Makefile  23 Mar 2026 19:39:32 -0000
@@ -4,14 +4,10 @@ COMMENT=              GNOME settings daemon
 
 GNOME_PROJECT=         gnome-settings-daemon
 GNOME_VERSION=         49.1
-REVISION=              1
+REVISION=              2
 
 # GPLv3
 PERMIT_PACKAGE=                Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 WANTLIB += X11 Xfixes c canberra colord cups fontconfig gck-2
 WANTLIB += geoclue-2 geocode-glib-2 gio-2.0 glib-2.0 gnome-desktop-4
Index: x11/mate/caja/Makefile
===================================================================
RCS file: /cvs/ports/x11/mate/caja/Makefile,v
diff -u -p -r1.31 Makefile
--- x11/mate/caja/Makefile      20 Mar 2026 20:46:42 -0000      1.31
+++ x11/mate/caja/Makefile      23 Mar 2026 19:39:32 -0000
@@ -1,6 +1,6 @@
 COMMENT=               file manager for the MATE desktop
 
-REVISION=              1
+REVISION=              2
 
 SHARED_LIBS +=  caja-extension            5.0 # 5.0
 
@@ -10,10 +10,6 @@ CATEGORIES=          x11
 
 # LGPLv2/GFDLv1.1/GPLv2
 PERMIT_PACKAGE=        Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 WANTLIB += ${COMPILER_LIBCXX} ICE SM X11 X11-xcb Xau Xcomposite
 WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
Index: x11/mate/settings-daemon/Makefile
===================================================================
RCS file: /cvs/ports/x11/mate/settings-daemon/Makefile,v
diff -u -p -r1.32 Makefile
--- x11/mate/settings-daemon/Makefile   20 Mar 2026 20:52:00 -0000      1.32
+++ x11/mate/settings-daemon/Makefile   23 Mar 2026 19:39:32 -0000
@@ -1,15 +1,11 @@
 COMMENT=               MATE settings daemon
 
-REVISION=              1
+REVISION=              2
 
 MATE_PROJECT=          mate-settings-daemon
 
 # GPLv2
 PERMIT_PACKAGE=        Yes
-
-# libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum
-COMPILER=      base-clang ports-gcc
-COMPILER_LANGS=        c
 
 WANTLIB += FLAC ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage Xext
 WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0


-- 
jca

Reply via email to