From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CFVIKFV1ymDVNAAAgWs5BA (envelope-from ) for ; Thu, 17 Jun 2021 00:04:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6MZAJFV1ymDRcAAAbx9fmQ (envelope-from ) for ; Wed, 16 Jun 2021 22:04:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17722959C for ; Thu, 17 Jun 2021 00:04:05 +0200 (CEST) Received: from localhost ([::1]:54876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltddi-0006tF-Tb for larch@yhetil.org; Wed, 16 Jun 2021 18:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltXFu-0001nS-QD for bug-guix@gnu.org; Wed, 16 Jun 2021 11:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltXFu-0000Z0-Hz for bug-guix@gnu.org; Wed, 16 Jun 2021 11:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltXFu-0006H3-FO for bug-guix@gnu.org; Wed, 16 Jun 2021 11:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47672: [PATCH] gnu: owncloud-client: Fix sysconfdir path References: In-Reply-To: Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Jun 2021 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47672 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47672@debbugs.gnu.org Received: via spool by 47672-submit@debbugs.gnu.org id=B47672.162385646924034 (code B ref 47672); Wed, 16 Jun 2021 15:15:02 +0000 Received: (at 47672) by debbugs.gnu.org; 16 Jun 2021 15:14:29 +0000 Received: from localhost ([127.0.0.1]:53176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltXFM-0006FZ-MG for submit@debbugs.gnu.org; Wed, 16 Jun 2021 11:14:29 -0400 Received: from out2.mail.ruhr-uni-bochum.de ([134.147.42.229]:41530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltUcd-00082Q-DB for 47672@debbugs.gnu.org; Wed, 16 Jun 2021 08:26:20 -0400 Received: from mx2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out2.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4G4ktr5m6mz8SmL for <47672@debbugs.gnu.org>; Wed, 16 Jun 2021 14:26:12 +0200 (CEST) Received: from out2.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx2.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4G4ktr5CMGz8Sdq for <47672@debbugs.gnu.org>; Wed, 16 Jun 2021 14:26:12 +0200 (CEST) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out2.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4G4ktr3ypxz8SdF for <47672@debbugs.gnu.org>; Wed, 16 Jun 2021 14:26:12 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx2.mail.ruhr-uni-bochum.de Received: from xii-04 (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4G4ktr0gPzzDgyf for <47672@debbugs.gnu.org>; Wed, 16 Jun 2021 14:26:12 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Date: Wed, 16 Jun 2021 14:16:10 +0200 Message-ID: <87k0muuhb8.fsf@ruhr-uni-bochum.de> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Wed, 16 Jun 2021 11:14:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 16 Jun 2021 17:54:07 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623881045; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=LDeAzVtEBQVD52H0f6cj5oGJ+JND+44HQznUa4Q73Yo=; b=sx0STKyQbX4T/Sn59daUaQk47gIO+CgLNVPggh3xaj5venWM9sKulDowupeTdiqZZ42cGu NW31CGjKlIBQjKkjsi1TAKDxumyZfw0wRJ2rXw1zqav8nK/6yjhzR90qfsSotTb/w5R/Ld /8nkrgC/ekfFzn1fdq+oHQxpu6Bhgk4YPshsHD1lvenKXydBrdfNEEs6awgmc727vijODq NAQbstSTJCLUxBS2QbO1V17Pl/k5agQCWjcYZOIZWCRdTce4c9JFiQIGVs7wYiRECJgRCO Y476uVlxGZe7aQxybFUM3BXndYXZBuO4jwka8MsicMaCDYe6CfSFHAkjerHlcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623881045; a=rsa-sha256; cv=none; b=iln30WUec1FRbZtfXJGfNZUaRv97Y0tkEmC6qS2ohAKRtT/FUKeAsd45pwOf96wzHI+8E6 jOUHW506fSXtUoQAWeG54Kwz/cOsiykJIAE+ug/pYf+dsIJ41v10pKO/Eugx3EpN5Ku2el cutJjNbjqbJ9NmL43xcm62sMx1cmaC38lp7S73TiAXLaCXUnktmhHZOGsSiOJCB3l7CViD jkF/DMVc/UmhrzstIEYBQqKydRzGvwprU/CezZ/jGYb8eaaOYn8ncncijeVZE9XbHC/Cjp um50K0KkVdnb9HXry6jL5r/RpRwa3MFsiNMFvLBLA0mk1PokC9vmfXYeqQh1Mw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (strict), No valid DKIM" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 17722959C X-Spam-Score: -2.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1DE6IpadY3s/ Hi, I have also noticed this issue and found a fix here: https://github.com/owncloud/client/issues/8373 Somehow sysconfdir is not set correctly so that owncloud searched for sync-exclude.lst in the relative path etc/ownCloud/sync-exclude.lst instead of the /gnu/store/...-owncloud-client/etc/ownCloud/sync-exclude.lst. The following patch fixes this behaviour: * gnu/packages/sync.scm(owncloud-client): Add -DSYSCONF_INSTALL_DIR flag to configure flags. --- gnu/packages/sync.scm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm index 2b64117dc6..f9c3855e08 100644 --- a/gnu/packages/sync.scm +++ b/gnu/packages/sync.scm @@ -341,10 +341,16 @@ See also: megacmd, the official tool set by MEGA.") (("QCoreApplication::applicationFilePath\\()") "\"owncloud\"")) #t)) (delete 'patch-dot-desktop-files)) - #:configure-flags '("-DUNIT_TESTING=ON" - ;; build without qtwebkit, which causes the - ;; package to FTBFS while looking for QWebView. - "-DNO_SHIBBOLETH=1"))) + #:configure-flags `("-DUNIT_TESTING=ON" + ;; build without qtwebkit, which causes the + ;; package to FTBFS while looking for QWebView. + "-DNO_SHIBBOLETH=1" + ;; Fix sync-exclude.list problem + ;; See: https://github.com/owncloud/client/issues/8373 + ;; See: https://issues.guix.gnu.org/47672 + ,(string-append "-DSYSCONF_INSTALL_DIR=" + (assoc-ref %outputs "out") + "/etc")))) (native-inputs `(("cmocka" ,cmocka) ("extra-cmake-modules" ,extra-cmake-modules) -- 2.32.0 Best regards Daniel