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: RPM spec file with non-existant macro on CentOS 7
Reply-To: Jasmin Lévesque <jasminlevesque@gmail.com>, 698@bugs.x2go.org
Resent-From: Jasmin Lévesque <jasminlevesque@gmail.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 00:25:01 +0000
Resent-Message-ID: <handler.698.B.14182574164324@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 698
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14182574164324
          (code B); Thu, 11 Dec 2014 00:25:01 +0000
Received: (at submit) by bugs.x2go.org; 11 Dec 2014 00:23:36 +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,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID autolearn=ham version=3.3.2
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B5F8C5E0EB
	for <submit@bugs.x2go.org>; Thu, 11 Dec 2014 01:23:34 +0100 (CET)
Received: by mail-wi0-f182.google.com with SMTP id h11so6954829wiw.9
        for <submit@bugs.x2go.org>; Wed, 10 Dec 2014 16:23:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:from:date:message-id:subject:to:content-type;
        bh=/xSub5PLGmq7laDMbzz4OOEifURa6vlnt7f2Or4cHao=;
        b=HABRVG34FNWRlY9b6TkPr5RrJ2cMq+E/7PLO6AXxaIMZ7ogRtjLsiVAmZWNYaYwW9g
         FqLEdzMxJyHDHTc3Z4s+Q+8MtaUMg5mnlAkwfJNc6b0VbCW+ezIpwjcTT2MkzEUltS0t
         th1gvWVaaYcCY5ozJourvEmC508Tn5GPWLZHCXfvee4IJFTZL1tTJBX0vwuLq9xy6AQj
         LE37XnkCYrZg80B7EAoA0vgkmaNWyrH3jD36iHTe8k4RVSq2llFYOgoQ5Q8tvJIJitSg
         sOYQx9BQLdoIEwuX0LntRE1+U6oDrrC+yuEsNvJJlWnnKMgTNIPPh2m3rYROv4kCZPWI
         udYw==
X-Received: by 10.180.96.10 with SMTP id do10mr10873356wib.16.1418257414476;
 Wed, 10 Dec 2014 16:23:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.217.51.137 with HTTP; Wed, 10 Dec 2014 16:23:14 -0800 (PST)
From: Jasmin Lévesque <jasminlevesque@gmail.com>
Date: Wed, 10 Dec 2014 19:23:14 -0500
Message-ID: <CAJzfp8nAB-1VTT-9W8dDK1W6vS_ObZQE=NspjtMVcJMx9bxtig@mail.gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=f46d044480c563d9550509e5c9c3
[Message part 1 (text/plain, inline)]
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.

Thanks,


Jasmin Levesque
Senior system analyst
Vlan! Technologie
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:29:38 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.