From unknown Wed May 20 21:33:39 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#821: [X2Go-Dev] Bug#821: x2gomatebindings fails to install from RPM
Reply-To: Mihai Moldovan <ionic@ionic.de>, 821@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 18 Mar 2015 05:05:01 +0000
Resent-Message-ID: <handler.821.B821.142665482123356@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 821
X-X2Go-PR-Package: x2gomatebindings
X-X2Go-PR-Keywords: pending
Received: via spool by 821-submit@bugs.x2go.org id=B821.142665482123356
          (code B ref 821); Wed, 18 Mar 2015 05:05:01 +0000
Received: (at 821) by bugs.x2go.org; 18 Mar 2015 05:00:21 +0000
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
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"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--pmdTrSDPlTJX9RDk5aBNXdB1WjichETKE
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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.


--pmdTrSDPlTJX9RDk5aBNXdB1WjichETKE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCgAGBQJVCQZhAAoJEB/WLtluJTqHigUQAKzRBXNtlpUHdkGocCuZ0OJt
uBhQARHUQE9Nrc3xckQnkaW1KgVCPsj3mP+ciuIBJcB4mTeAINCaq9I4xqcUZB99
Xu9EL0aJUkIZgbbAl5Fi/6279dmhk8rDoi/QLgrzu9y2cDywyRc0w+yUoU+gyOtY
wTmlsoK1f4lw63UN9Y6kQFckw7eXEV8SDQIyT6qveP9mZ4LFlNJnwhYuwJ/7QZhT
ip/KqtoeNh+GR9Il0gzqc7oemyLsNjviw52rnVDMR/100PE/Yai+Caf86rIegwxn
47qO+Ets8Z1nkzSB1xSwY0rVC5jXPv7GAm8I6/R2qUbK1uICaWIq8iW238SAvAMp
Rrmm4Aw+1bMpUzIfxEqNq0crW+l140d4th9vW+Olz/R9l49/Mv1APL4I+YU5sFws
TpHyoV2nxn9pEZp2xANONkES1he18ufUcmzEIt6OQNOtRKG4O9zOeExssRGazD1a
bDWVBcwldkwJg8w6Ue2rXyGyl6yGSq0q7glvCb7BKEI2dopsizc/hJXs8r3Q0qex
VGg9bvPK0Ci7wbsr/U/xoM0vMD9qhHCL17aMHcaR/AfYpa9pTx0vx/182XEgyAJ6
Ys5DaBQqh1WbpRuSmLRSm05AV6aNgKjIF4ZhMcEuQpSF9LM+F35L+FT0YN8NW45l
SFR8njepoFng+ko9+2gT
=74Mt
-----END PGP SIGNATURE-----

--pmdTrSDPlTJX9RDk5aBNXdB1WjichETKE--
