Your message dated Wed, 26 Mar 2008 09:32:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466148: fixed in sysvinit 2.86.ds1-55
has caused the Debian Bug report #466148,
regarding sysvinit: long term mass bug filing for cross build support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
466148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466148
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.86.ds1-53
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: crossbuilt
In line with the other cross-building support bugs:
http://lists.debian.org/debian-devel/2007/11/msg00116.html
This patch is necessary to allow sysvinit to cross-build in Debian,
following recommendations in autotools-dev.
$(CROSS) is a variable for $(MAKE), $(CROSSCC) is the cross-compiler
itself which is called directly for readlink.c in debian/rules
Thanks.
*** ../crossbuild.diff
--- sysvinit-2.86.ds1.debian/debian/rules
+++ sysvinit-2.86.ds1.emdebian/debian/rules
@@ -13,6 +13,13 @@
DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS
2>/dev/null || true)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc
+# CROSS is passed to make, CROSSCC is called directly.
+CROSSCC=$(DEB_HOST_GNU_TYPE)-gcc
+else
+CROSSCC=cc
+endif
# Handle fact that sarge dpkg-architecture doesn't have DEB_HOST_ARCH_OS
ifeq ($(DEB_HOST_ARCH_OS),)
@@ -38,12 +45,12 @@
# Builds the binary package.
$(checkdir)
ifeq ($(DEB_HOST_ARCH_OS),linux)
- (cd src; make DISTRO=Debian WITH_SELINUX="yes")
+ (cd src; make $(CROSS) DISTRO=Debian WITH_SELINUX="yes")
else
- (cd src; make DISTRO=Debian)
-endif
- make -C debian/startpar
- cc -W -Wall -s -o debian/readlink debian/readlink.c
+ (cd src; make $(CROSS) DISTRO=Debian)
+endif
+ make $(CROSS) -C debian/startpar
+ $(CROSSCC) -W -Wall -s -o debian/readlink debian/readlink.c
touch build
# Make a binary package (.deb file)
@@ -86,8 +93,8 @@
install -d -o root -g root -m 755 $(tmp)/usr/sbin
install -d -o root -g root -m 755 $(tmp)/usr/share/man
install -d -o root -g root -m 755 $(tmp)/usr/share/man/man{1,5,8}
- (cd src; make ROOT=$(tmp) DISTRO=Debian install )
- make -C debian/startpar DESTDIR=$(tmp) install
+ (cd src; make $(CROSS) ROOT=$(tmp) DISTRO=Debian install )
+ make $(CROSS) -C debian/startpar DESTDIR=$(tmp) install
strip -s -R comment -R .comment $(tmp)/sbin/startpar
ifeq ($(DEB_HOST_ARCH), hurd-i386)
# The Hurd has its own halt and reboot commands.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sysvinit depends on:
ii initscripts 2.86.ds1-53 Scripts for initializing and shutt
ii libc6 2.7-8 GNU C Library: Shared libraries
ii libselinux1 2.0.35-1 SELinux shared libraries
ii libsepol1 2.0.11-1 Security Enhanced Linux policy lib
ii sysv-rc 2.86.ds1-53 System-V-like runlevel change mech
ii sysvinit-utils 2.86.ds1-53 System-V-like utilities
sysvinit recommends no packages.
-- no debconf information
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 2.86.ds1-55
We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive:
initscripts_2.86.ds1-55_i386.deb
to pool/main/s/sysvinit/initscripts_2.86.ds1-55_i386.deb
sysv-rc_2.86.ds1-55_all.deb
to pool/main/s/sysvinit/sysv-rc_2.86.ds1-55_all.deb
sysvinit-utils_2.86.ds1-55_i386.deb
to pool/main/s/sysvinit/sysvinit-utils_2.86.ds1-55_i386.deb
sysvinit_2.86.ds1-55.diff.gz
to pool/main/s/sysvinit/sysvinit_2.86.ds1-55.diff.gz
sysvinit_2.86.ds1-55.dsc
to pool/main/s/sysvinit/sysvinit_2.86.ds1-55.dsc
sysvinit_2.86.ds1-55_i386.deb
to pool/main/s/sysvinit/sysvinit_2.86.ds1-55_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <[EMAIL PROTECTED]> (supplier of updated sysvinit 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 26 Mar 2008 10:03:05 +0100
Source: sysvinit
Binary: sysvinit sysvinit-utils sysv-rc initscripts
Architecture: source i386 all
Version: 2.86.ds1-55
Distribution: unstable
Urgency: low
Maintainer: Debian sysvinit maintainers <[EMAIL PROTECTED]>
Changed-By: Petter Reinholdtsen <[EMAIL PROTECTED]>
Description:
initscripts - Scripts for initializing and shutting down the system
sysv-rc - System-V-like runlevel change mechanism
sysvinit - System-V-like init utilities
sysvinit-utils - System-V-like utilities
Closes: 466148
Changes:
sysvinit (2.86.ds1-55) unstable; urgency=low
.
* Use $(MAKE) instead of make in debian/rules, to make it easier to
use make -j.
* Adjust debian/rules to support cross building (Closes: #466148).
* Change init.d/rc to disable startpar concurrency if insserv isn't
enabled and if startpar fail to run.
* Adjust init.d script dependencies for bootmisc.sh, as it can run
before $remote_fs and need to run after both udev and hostname.
* Change update-rc.d to warn about scripts missing LSB style
dependency information.
* Updated all patches to make sure they apply without offset and
fuzzying to the current source.
Files:
7813280c6bf216293213962bb13d9ec0 1037 admin required sysvinit_2.86.ds1-55.dsc
fa3522f2b33757911a5e207f5a9921ff 149836 admin required
sysvinit_2.86.ds1-55.diff.gz
82f62dd5bb6853523dfa15431c17463d 110890 admin required
sysvinit_2.86.ds1-55_i386.deb
605c9942c6d5e429d567835e4829134b 69664 admin required
sysvinit-utils_2.86.ds1-55_i386.deb
53e3d524cae33122e8305179957aa5f6 66508 admin required
initscripts_2.86.ds1-55_i386.deb
8433fa2c5df078591c3f70e15ba93025 62064 admin required
sysv-rc_2.86.ds1-55_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH6hNI20zMSyow1ykRAmOFAJ9hDaFJlNWaLqMVeFp3PWrVp9ED6ACePajH
ZhVFTrGjbGnW266grSfxmWU=
=8dtb
-----END PGP SIGNATURE-----
--- End Message ---