X2Go Bug report logs - #821
x2gomatebindings fails to install from RPM

version graph

Package: x2gomatebindings; Maintainer for x2gomatebindings is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gomatebindings is src:x2gomatebindings.

Reported by: Michael DePaulo <mikedep333@gmail.com>

Date: Tue, 17 Mar 2015 12:05:02 UTC

Severity: normal

Tags: pending

Found in version 0.0.1.3

Fixed in version 0.0.1.4

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 821@bugs.x2go.org (full text, mbox, reply):

Received: (at 821) by bugs.x2go.org; 18 Mar 2015 05:00:21 +0000
From ionic@ionic.de  Wed Mar 18 06:00:20 2015
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E17785DAA3
	for <821@bugs.x2go.org>; Wed, 18 Mar 2015 06:00:19 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id 556C24F089BB;
	Wed, 18 Mar 2015 06:00:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1426654819; bh=WMn3AhIP7/0TbN6xYCvqk8TkJe307J6IUw99MJwNa+M=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=ZDQcwmrccMKpqZBJCinch+Tl55fmnOXua7tq5Wv0LotpCAqQZ9vm4nsYJCx7RS/hZ
	 Ppu3cfTZiWzos0kFCGHiACpWWm2VNvdPtcxEMWbO2Y/7ZbdW9VTu6acHsBLmGb4mFU
	 fpwA1jWK2M8NefZVo4vUx1zlz1SGpgJ2mLiHTv6E=
Message-ID: <55090661.9010405@ionic.de>
Date: Wed, 18 Mar 2015 06:00:17 +0100
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Michael DePaulo <mikedep333@gmail.com>, 821@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#821: x2gomatebindings fails to install from RPM
References: <CAMKht8jz3LZ2Mv6-zQmxN4XHrOAnu3Vy3hXqija55pdS9dMuuQ@mail.gmail.com>
In-Reply-To: <CAMKht8jz3LZ2Mv6-zQmxN4XHrOAnu3Vy3hXqija55pdS9dMuuQ@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="pmdTrSDPlTJX9RDk5aBNXdB1WjichETKE"
[Message part 1 (text/plain, inline)]
On 17.03.2015 01:00 PM, Michael DePaulo wrote:
> It appears to be due to line 31 in x2gomatebindings.spec:
> Requires:       gtk2 or gtk3

"gtk2 or gtk3"? This sounds strange. Not only because it obviously
doesn't work, but also because x2gomatebindings ships a *library* which
links to GTK2. Even if the or-dependency would have worked, gtk3 as the
only installed package would have left x2gomatebindings (theoretically)
in a broken state.

Luckily, though, RPM automatically adds dependencies on other packages*
for libraries, by examining what libraries are being linked after
destrooting. Thus, gtk2 will always be pulled in automatically**.

The Requires: statement was semantically thus redundant in the best case
and incorrect/causing breakage in the worst case.



Mihai

*) this mechanism will not catch libraries loaded at run time via
dlopen() for instance. This is mostly used for modules. One example of
software making heavy usage of that is wine.
**) I'm making a mental note here to revisit this issue. While run time
dependencies are automatically added *for libraries*, BuildRequires
still need to be set correctly or building the package will fail.

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Dec 4 08:43:44 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.