Debian Bug report logs -
#486668
iceccd needs to be restarted upon gcc/g++ upgrades
Reported by: Petr Rockai <mornfall@debian.org>
Date: Tue, 17 Jun 2008 14:21:01 UTC
Severity: normal
Tags: patch
Found in version icecc/0.9.0-1
Fixed in version icecc/0.9.1-1
Done: Mark Purcell <msp@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#486668; Package icecc.
(full text, mbox, link).
Acknowledgement sent to Petr Rockai <mornfall@debian.org>:
New Bug report received and forwarded. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: icecc
Version: 0.9.0-1
Severity: normal
Tags: patch
Hi,
when gcc version on the system changes, iceccd needs to be restarted to pick up
the new gcc into its environment, otherwise all subsequent builds will break
until either ICECC_VERSION is reset or iceccd is restarted.
Here comes a patch that uses dpkg triggers to implement a solution (although
that is a little over-paranoid, as it will trigger restarts even if non-default
gcc version is altered, but I can't think of a good way to avoid that).
Yours,
Petr.
diff -ruN icecc-0.9.0/debian/changelog icecc-0.9.0-2/debian/changelog
--- icecc-0.9.0/debian/changelog 2008-06-17 16:07:23.000000000 +0200
+++ icecc-0.9.0-2/debian/changelog 2008-06-17 15:35:43.000000000 +0200
@@ -1,3 +1,9 @@
+icecc (0.9.0-2) unstable; urgency=low
+
+ * Add a trigger to restart iceccd when gcc changes.
+
+ -- Petr Rockai <mornfall@debian.org> Tue, 17 Jun 2008 15:35:20 +0200
+
icecc (0.9.0-1) unstable; urgency=low
* New upstream release
diff -ruN icecc-0.9.0/debian/control icecc-0.9.0-2/debian/control
--- icecc-0.9.0/debian/control 2008-06-17 16:07:23.000000000 +0200
+++ icecc-0.9.0-2/debian/control 2008-06-17 16:13:08.000000000 +0200
@@ -11,7 +11,7 @@
Package: icecc
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base, c++-compiler | c-compiler
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base, c++-compiler | c-compiler, dpkg (>= 1.9.0)
Suggests: icecc-monitor
Description: distributed compiler (client and server)
icecc is a distributed compile system. It allows parallel compiling by
diff -ruN icecc-0.9.0/debian/icecc.postinst icecc-0.9.0-2/debian/icecc.postinst
--- icecc-0.9.0/debian/icecc.postinst 2008-06-17 16:07:23.000000000 +0200
+++ icecc-0.9.0-2/debian/icecc.postinst 2008-06-17 15:42:30.000000000 +0200
@@ -3,6 +3,11 @@
set -e
+if test "$1" = triggered; then
+ invoke-rc.d icecc restart
+ exit 0
+fi
+
# configure some variables
CONFIGFILE=/etc/default/icecc
ICECC_GROUP=icecc
diff -ruN icecc-0.9.0/debian/icecc.triggers icecc-0.9.0-2/debian/icecc.triggers
--- icecc-0.9.0/debian/icecc.triggers 1970-01-01 01:00:00.000000000 +0100
+++ icecc-0.9.0-2/debian/icecc.triggers 2008-06-17 16:04:30.000000000 +0200
@@ -0,0 +1,3 @@
+interest /usr/bin/gcc
+interest /usr/bin/g++
+interest /usr/lib/gcc
^^^
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-rc7-1-morn (PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages icecc depends on:
ii adduser 3.108 add and remove users and groups
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii g++-4.1 [c++-compiler] 4.1.2-22 The GNU C++ compiler
ii g++-4.3 [c++-compiler] 4.3.1-2 The GNU C++ compiler
ii gcc [c-compiler] 4:4.3.0-8 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.6-7 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-22 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.1-2 The GNU C compiler
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-2 GCC support library
ii libstdc++6 4.3.1-2 The GNU Standard C++ Library v3
ii lsb-base 3.2-12 Linux Standard Base 3.2 init scrip
icecc recommends no packages.
-- debconf information:
icecc/daemon: true
icecc/scheduler: false
Information forwarded to debian-bugs-dist@lists.debian.org, Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>:
Bug#486668; Package icecc.
(full text, mbox, link).
Acknowledgement sent to Mark Purcell <msp@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 486668@bugs.debian.org (full text, mbox, reply):
# Automatically generated email from bts, devscripts version 2.10.30
# via tagpending
#
# icecc (0.9.1-1) UNRELEASED; urgency=low
#
# * New upstream release
# - icecc - ICECC_CXX regression fix André Wöbbeking (Closes: #483088)
# * dpkg triggers patch from Petr Rockai
# - iceccd needs to be restarted upon gcc/g++ upgrades (Closes: #486668)
#
package icecc libicecc-dev
tags 486668 + pending
tags 483088 + pending
Tags added: pending
Request was from Mark Purcell <msp@debian.org>
to control@bugs.debian.org.
(Mon, 30 Jun 2008 12:28:03 GMT) (full text, mbox, link).
Reply sent to Mark Purcell <msp@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Petr Rockai <mornfall@debian.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #17 received at 486668-close@bugs.debian.org (full text, mbox, reply):
Source: icecc
Source-Version: 0.9.1-1
We believe that the bug you reported is fixed in the latest version of
icecc, which is due to be installed in the Debian FTP archive:
icecc_0.9.1-1.diff.gz
to pool/main/i/icecc/icecc_0.9.1-1.diff.gz
icecc_0.9.1-1.dsc
to pool/main/i/icecc/icecc_0.9.1-1.dsc
icecc_0.9.1-1_powerpc.deb
to pool/main/i/icecc/icecc_0.9.1-1_powerpc.deb
icecc_0.9.1.orig.tar.gz
to pool/main/i/icecc/icecc_0.9.1.orig.tar.gz
libicecc-dev_0.9.1-1_powerpc.deb
to pool/main/i/icecc/libicecc-dev_0.9.1-1_powerpc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 486668@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mark Purcell <msp@debian.org> (supplier of updated icecc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 30 Jun 2008 22:26:37 +1000
Source: icecc
Binary: icecc libicecc-dev
Architecture: source powerpc
Version: 0.9.1-1
Distribution: unstable
Urgency: low
Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Changed-By: Mark Purcell <msp@debian.org>
Description:
icecc - distributed compiler (client and server)
libicecc-dev - development files for icecc (distributed compiler)
Closes: 483088 486668
Changes:
icecc (0.9.1-1) unstable; urgency=low
.
* New upstream release
- icecc - ICECC_CXX regression fix André Wöbbeking (Closes: #483088)
* Add a trigger to restart iceccd when gcc changes - Petr Rockai
- iceccd needs to be restarted upon gcc/g++ upgrades (Closes: #486668)
Checksums-Sha1:
0b1bf795b19cc6bc80d9b1f0522d72941014cc9a 1264 icecc_0.9.1-1.dsc
1a3f5b46287607376a61302dbb845e2922611918 522654 icecc_0.9.1.orig.tar.gz
218d457d35d30772a38a58d023e72e799b8e2719 13589 icecc_0.9.1-1.diff.gz
bb95086503786d50b1840ac9f5ac908321413011 266182 icecc_0.9.1-1_powerpc.deb
d83da936854bd0369e2525e346f762dbb0cf23a6 64518 libicecc-dev_0.9.1-1_powerpc.deb
Checksums-Sha256:
4853f69d57c57c19b6ab6d25a30673e609552bc586be9c6d2e851dc9df8966ec 1264 icecc_0.9.1-1.dsc
7ddb5e6245d6743872fd05d7efe33d94ff3b704dd1cd38017716d4c74c5361e1 522654 icecc_0.9.1.orig.tar.gz
ca17daf2b9db014b88718bd27a6cc48b7e52aaf3cdcab3004274e36639617b7c 13589 icecc_0.9.1-1.diff.gz
bd7ee1328740904dbd9054ce0f0db6eabe5ff5efe295277a23263d0561787cb5 266182 icecc_0.9.1-1_powerpc.deb
ba40699e6533e8d60e6c3dbf8ec6525d81b63b89a430c7f3f680ad6b57d06197 64518 libicecc-dev_0.9.1-1_powerpc.deb
Files:
4aead74597f93154d553f0ea2120eb15 1264 kde optional icecc_0.9.1-1.dsc
427fa089e815ae7d6085910aa6f6f638 522654 kde optional icecc_0.9.1.orig.tar.gz
9c0212d7e259de80dcabfbaa38e1f3bb 13589 kde optional icecc_0.9.1-1.diff.gz
124d743b2cbc6e07235e8c6f3c16c73d 266182 kde optional icecc_0.9.1-1_powerpc.deb
12bff2fdf3e3b37a7259c3f28754494d 64518 libdevel optional libicecc-dev_0.9.1-1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkho0h8ACgkQoCzanz0IthLO6ACgjz3Ie5Uc0I5pt/VlQkJawP6q
NhEAnRrSNhBB6Lvg0p2bQz9bS7B/Ooi4
=6GSJ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 09 Aug 2008 07:32:55 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 18:34:18 2018;
Machine Name:
beach
Debian 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.