[Pkg-sysvinit-devel] Bug#340285: FTBCFS: dpkg-dev b-dep needed
Erich Schubert
erich at debian.org
Tue Nov 22 11:45:38 UTC 2005
Package: sysvinit
Version: 2.86.ds1-6
Severity: wishlist
"Failed to build correctly from source":
Building sysvinit on stable (read: backporting) will result in a package
being built without SELinux even on Linux.
The reason is that stable dpkg-architecture doesn't have DEB_HOST_ARCH_OS,
which is used by the debian/rules file to enabled SELinux support.
(why is it "exported", btw - it's not used outside of the makefile?)
I don't think that upgrading the dpkg-dev build-dependency is the right
way to go - how about just using
dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null || \
dpkg-architecture -qDEB_HOST_GNU_SYSTEM 2>/dev/null || true
(note that the redirection and || true are already present in your
debian/rules file)
which will return "linux" on both unstable and stable
On a related note, could you please downgrade the build-depend version
numbers of libselinux1-dev and libsepol1-dev by stripping the
-1 debian revision at the end? IMHO there is no reason to include it.
And for backports it's best practise to use e.g. 1.14-0.backports.org.1
which wouldn't satisfy the build-dep any more.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=de_DE.UTF-8 at euro, LC_CTYPE=de_DE.UTF-8 at euro (charmap=UTF-8)
Versions of packages sysvinit depends on:
ii coreutils 5.93-5 The GNU core utilities
ii initscripts 2.86.ds1-6 Standard scripts needed for bootin
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libselinux1 1.26-1 SELinux shared libraries
ii libsepol1 1.8-1 Security Enhanced Linux policy lib
ii sysv-rc 2.86.ds1-6 Standard boot mechanism using syml
sysvinit recommends no packages.
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list