X2Go Bug report logs - #698
RPM spec file with non-existant macro on CentOS 7

version graph

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

Reported by: Jasmin Lévesque <jasminlevesque@gmail.com>

Date: Thu, 11 Dec 2014 00:25:01 UTC

Severity: normal

Tags: pending, rpm-packages

Fixed in version 4.0.1.19

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

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#698: [X2Go-Dev] Bug#698: RPM spec file with non-existant macro on CentOS 7
Reply-To: Orion Poplawski <orion@cora.nwra.com>, 698@bugs.x2go.org
Resent-From: Orion Poplawski <orion@cora.nwra.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 11 Dec 2014 14:05:01 +0000
Resent-Message-ID: <handler.698.B698.14183066106216@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 698
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: rpm-packages
Received: via spool by 698-submit@bugs.x2go.org id=B698.14183066106216
          (code B ref 698); Thu, 11 Dec 2014 14:05:01 +0000
Received: (at 698) by bugs.x2go.org; 11 Dec 2014 14:03:30 +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=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from mail.cora.nwra.com (mercury.cora.nwra.com [4.28.99.165])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id A78455E0F0
	for <698@bugs.x2go.org>; Thu, 11 Dec 2014 15:03:27 +0100 (CET)
Received: from pacas.cora.nwra.com (209-180-240-141.hlrn.qwest.net [209.180.240.141])
	(authenticated bits=0)
	by mail.cora.nwra.com (8.14.4/8.14.4) with ESMTP id sBBE3LtF026918
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO);
	Thu, 11 Dec 2014 07:03:24 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cora.nwra.com;
	s=default; t=1418306604;
	bh=+EfkRY8BMs5E+ey4ga9gIriN5bMWj9GaS9OQpk+F9Hw=;
	h=Message-ID:Date:From:MIME-Version:To:Subject:References:
	 In-Reply-To:Content-Type:Content-Transfer-Encoding;
	b=AfHXDIwi1zgVChpHihqXBJgBUb5sEJ0gGaP0hnKTVNNEqiYKlNmQnV0zM2/NBApzM
	 lcLcP3Fmdhs+8b4fzS/S8GyGXczQ7lxpEQlbGxbuwvbxrdUTFS4DdcYDDZMYiOqY28
	 PCyG0Z3D3m+fkGI5VXX95w43WPo7yAVuld6cZKjg=
Message-ID: <5489A428.3020001@cora.nwra.com>
Date: Thu, 11 Dec 2014 07:03:20 -0700
From: Orion Poplawski <orion@cora.nwra.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>,
        Jasmin Lévesque <jasminlevesque@gmail.com>,
        698@bugs.x2go.org
References: <20141211095712.Horde.5_5wqmCocjbygjc48y97-g1@mail.das-netzwerkteam.de>
In-Reply-To: <20141211095712.Horde.5_5wqmCocjbygjc48y97-g1@mail.das-netzwerkteam.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
On 12/11/2014 02:57 AM, Mike Gabriel wrote:
> Control: tag -1 rpm-packages
>
> Hi Jasmin, hi Orion (our Fedora+X2Go guru),
>
> On  Do 11 Dez 2014 01:23:14 CET, Jasmin Lévesque wrote:
>
>> Package: x2goserver
>> Version: 4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64
>>
>> When installing the nightly build or a rebuilt package, I encounter the
>> following error:
>
>> /var/tmp/rpm-tmp.e1X31q: line 1: fg: no job control
>> error:
>> %pre(x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64)
>>
>> scriptlet failed, exit status 1
>> Error in PREIN scriptlet in rpm package
>> x2goserver-4.1.0.0-0.0x2go1.0.git20141208.1203.heuler.el7.centos.x86_64
>>
>> The package fails to installs.
>>
>> When digging for the PREIN scriplet, I find the only %pre in the
>> x2goserver
>> is this line:
>> 485: %systemd_pre x2goserver.service
>>
>> These are the built-in macros related to systemd on a fresh CentOS 7
>> install:
>>
>> [root@centos7 SPECS]# rpmbuild --showrc | grep systemd_
>> -14: systemd_post
>> -14: systemd_postun
>> -14: systemd_postun_with_restart
>> -14: systemd_preun
>> -14: systemd_requires
>>
>> It seems the %systemd_pre macro is not available.
>>
>> When commenting the line out, the package builds and installs
>> successfully.
>
> I think I took that from the original Fedora packages provided by Orion.
> Is the systemd_pre macro available on Fedora, but on in EPEL-7?
>
> Or is that macro actually non-existent on all Fedora and derivative
> versions?
>
> Thanks for feedback!
> Mike
>

Someone went a bit overboard - there never has been a systemd_pre macro.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Feb 3 19:42:32 2023; 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.