[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1001617: marked as done (cinnamon-settings-daemon: FTBFS on non-linux architectures)



Your message dated Fri, 31 Dec 2021 02:49:15 +0000
with message-id <E1n37yl-0006jS-HN@fasolo.debian.org>
and subject line Bug#1001617: fixed in cinnamon-settings-daemon 5.2.0-1
has caused the Debian Bug report #1001617,
regarding cinnamon-settings-daemon: FTBFS on non-linux architectures
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1001617: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001617
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: cinnamon-settings-daemon
Version: 5.0.4-2
Severity: important
Tags: patch

Hello,

cinnamon-settings-daemon currently FTBFS on non-linux architectures with
the following error:

../meson.build:57:0: ERROR: Dependency "gudev-1.0" not found, tried pkgconfig

The attached patch fixes this.

In addintion I also disabled polkit on non-linux architectures as it's
not doing anything (polkit daemon is not built on these, only the libs)

I also explicitly disabled wacom and logind support for consistency

And dropped a useless dependency on cinnamon-settings-daemon-dev

Could you please apply that patch?

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru cinnamon-settings-daemon-5.0.4/debian/changelog cinnamon-settings-daemon-5.0.4/debian/changelog
--- cinnamon-settings-daemon-5.0.4/debian/changelog	2021-09-29 13:20:03.000000000 +0200
+++ cinnamon-settings-daemon-5.0.4/debian/changelog	2021-12-13 09:57:32.000000000 +0100
@@ -1,3 +1,14 @@
+cinnamon-settings-daemon (5.0.4-3) UNRELEASED; urgency=medium
+
+  * Explicitly disable gudev on non-linux architectures, this fixes the FTBFS
+  * Disable polkit support on non-linux architectures, polkit is not
+    functional on these, only the libraries are built there
+  * Explicitly disable wacom and logind support on non-linux architectures
+  * Drop the libdbus-glib-1-dev dependency in cinnamon-settings-daemon-dev,
+    that looks useless looking at the pkg-config file
+
+ -- Laurent Bigonville <bigon@debian.org>  Mon, 13 Dec 2021 09:57:32 +0100
+
 cinnamon-settings-daemon (5.0.4-2) unstable; urgency=medium
 
   * Release to unstable.
diff -Nru cinnamon-settings-daemon-5.0.4/debian/control cinnamon-settings-daemon-5.0.4/debian/control
--- cinnamon-settings-daemon-5.0.4/debian/control	2021-09-29 13:20:03.000000000 +0200
+++ cinnamon-settings-daemon-5.0.4/debian/control	2021-12-13 09:51:44.000000000 +0100
@@ -25,7 +25,7 @@
  liblcms2-dev,
  libnotify-dev (>= 0.7.0),
  libnss3-dev,
- libpolkit-gobject-1-dev,
+ libpolkit-gobject-1-dev [linux-any],
  libpulse-dev (>= 0.9.16),
  librsvg2-dev [!s390x !hurd-any !kfreebsd-any],
  libsystemd-dev [linux-any],
@@ -81,7 +81,6 @@
 Package: cinnamon-settings-daemon-dev
 Architecture: any
 Depends:
- libdbus-glib-1-dev (>= 0.74),
  libglib2.0-dev (>= 2.26.0),
  ${misc:Depends},
  ${shlibs:Depends},
diff -Nru cinnamon-settings-daemon-5.0.4/debian/rules cinnamon-settings-daemon-5.0.4/debian/rules
--- cinnamon-settings-daemon-5.0.4/debian/rules	2021-09-29 13:20:03.000000000 +0200
+++ cinnamon-settings-daemon-5.0.4/debian/rules	2021-12-13 09:47:54.000000000 +0100
@@ -5,12 +5,17 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+ifneq ($(DEB_HOST_ARCH_OS),linux)
+CONFFLAGS = -Duse_gudev=disabled -Duse_polkit=disabled -Duse_logind=disabled -Duse_wacom=disabled
+endif
+
 %:
 	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-	    --libexecdir=lib/$(DEB_HOST_MULTIARCH)/cinnamon-settings-daemon
+	    --libexecdir=lib/$(DEB_HOST_MULTIARCH)/cinnamon-settings-daemon \
+	    $(CONFFLAGS)
 
 override_dh_makeshlibs:
 	# Disabled, there are no shared libraries, but some plugins that cause this

--- End Message ---
--- Begin Message ---
Source: cinnamon-settings-daemon
Source-Version: 5.2.0-1
Done: Joshua Peisach <itzswirlz2020@outlook.com>

We believe that the bug you reported is fixed in the latest version of
cinnamon-settings-daemon, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1001617@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joshua Peisach <itzswirlz2020@outlook.com> (supplier of updated cinnamon-settings-daemon package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 04 Dec 2021 12:26:21 -0500
Source: cinnamon-settings-daemon
Architecture: source
Version: 5.2.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Cinnamon Team <debian-cinnamon@lists.debian.org>
Changed-By: Joshua Peisach <itzswirlz2020@outlook.com>
Closes: 1001617
Changes:
 cinnamon-settings-daemon (5.2.0-1) experimental; urgency=medium
 .
   [ Joshua Peisach ]
   * New upstream version 5.2.0
   * Remove useless --as-needed linker flag, set bindnow to all
   * Add myself as Uploader
   * Bump Cinnamon deps and breaks to 5.2
 .
   [ Laurent Bigonville ]
   * Explicitly disable gudev on non-linux architectures, this fixes the FTBFS
     (Closes: 1001617)
   * Disable polkit support on non-linux architectures, polkit is not
     functional on these, only the libraries are built there
   * Explicitly disable wacom and logind support on non-linux architectures
   * Drop the libdbus-glib-1-dev dependency in cinnamon-settings-daemon-dev,
     that looks useless looking at the pkg-config file
Checksums-Sha1:
 4ec85425f5f94f5e86617f1d3a21721b37d79aaf 2771 cinnamon-settings-daemon_5.2.0-1.dsc
 9eb4679190d7ac33a7079dcf42373282c8abf48c 653729 cinnamon-settings-daemon_5.2.0.orig.tar.gz
 8be7135636b3dc57f3b0cb55ef116d9d0ac5a25f 8120 cinnamon-settings-daemon_5.2.0-1.debian.tar.xz
 f0582c60fe7620cdad9f60b87c15682380e02d5a 18230 cinnamon-settings-daemon_5.2.0-1_source.buildinfo
Checksums-Sha256:
 bc646fd3e4af001ba3f6407fbde7c9c767f60ea93b67d98e61200814e2ae843f 2771 cinnamon-settings-daemon_5.2.0-1.dsc
 a4b72d0a6da7f20a61d1381b6b8fd9d6cc588893893b7559926727206183c698 653729 cinnamon-settings-daemon_5.2.0.orig.tar.gz
 c8a4d0daf6cda7b3a36255ae426e1f5e9b84e4857c38627e07e8d19541b28041 8120 cinnamon-settings-daemon_5.2.0-1.debian.tar.xz
 6b9519e5af1378a1c451d81e93fbe57ca4550a2be6344189a32fc9e1838f15cc 18230 cinnamon-settings-daemon_5.2.0-1_source.buildinfo
Files:
 bfb5e54a5e2e56f371efb07baa40ee86 2771 x11 optional cinnamon-settings-daemon_5.2.0-1.dsc
 dd09dca032daa91f20619ee163fc47d2 653729 x11 optional cinnamon-settings-daemon_5.2.0.orig.tar.gz
 ee7837835cce0ad7b0e20f7543a2f8aa 8120 x11 optional cinnamon-settings-daemon_5.2.0-1.debian.tar.xz
 b1ac6628644c20e1504aebb2a4f7f7ba 18230 x11 optional cinnamon-settings-daemon_5.2.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE68ws0vrA2voQX53I2A4JsIcUAGYFAmHOTbMACgkQ2A4JsIcU
AGbp8Af+K69oOkc4n3oh787rsauYxvNH+NhwIg5GfHgyVDBcviDlwRjFRsdJlxO5
n4XF/So+1gdnPjNdq3mVePwVweHvCjvcnwvPQ+D4D5yh51vGTYmrgBnkCAPjyhpc
J3I9xnIu0LNhB86qQxXukKm8BaNrvqk4THUWkd5ebjCMXyWxW2ucimbeYJNaZuXi
JnpWrjNLqTTw21gdALaxl13cVTNRdjI3meaL9vgm7brutmk6Ke/f/CJdZYrWdvi1
fHP+bGZJvEPtERPv1EX5eKJP22HdniHXtqfUrHNoBekknggJZpvOAXd8KjyhOzhW
bvi+RvkKPkMOSiDqvyMMVyG74zmwYg==
=P7yW
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: