[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317073: FTBFS: Incompatible with dpkg 1.13



Package: busybox-cvs
Version: 20040623-1
Severity: serious
Tags: patch

This package fails to build from source with recent versions of
dpkg-dev:

 cp  .config
 cp: missing destination file
 Try `cp --help' for more information.
 make: *** [build-arch-floppy-udeb-stamp] Error 1

This is because it expects DEB_HOST_GNU_SYSTEM to contain linux,
whereas with new versions of dpkg-dev it contains linux-gnu.  Please
see

 http://lists.debian.org/debian-devel-announce/2005/06/msg00010.html

for more information.

The attached patch fixes it.

-- 
Matt
diff -Nru /tmp/97Zb62QJk2/busybox-cvs-20040623/debian/control /tmp/igvVcYcWHl/busybox-cvs-20040623/debian/control
--- /tmp/97Zb62QJk2/busybox-cvs-20040623/debian/control	2005-07-05 08:51:48.000000000 -0700
+++ /tmp/igvVcYcWHl/busybox-cvs-20040623/debian/control	2005-07-05 08:51:49.000000000 -0700
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
 Uploaders: Erik Andersen <andersee@debian.org>, Bastian Blank <waldi@debian.org>
-Build-Depends: debhelper (>= 4.0.0), di-packages-build (>= 0.5)
+Build-Depends: debhelper (>= 4.0.0), di-packages-build (>= 0.5), dpkg-dev (>= 1.13.5)
 Standards-Version: 3.6.1
 
 Package: busybox-cvs
diff -Nru /tmp/97Zb62QJk2/busybox-cvs-20040623/debian/rules /tmp/igvVcYcWHl/busybox-cvs-20040623/debian/rules
--- /tmp/97Zb62QJk2/busybox-cvs-20040623/debian/rules	2005-07-05 08:51:48.000000000 -0700
+++ /tmp/igvVcYcWHl/busybox-cvs-20040623/debian/rules	2005-07-05 08:51:49.000000000 -0700
@@ -31,7 +31,7 @@
 DEBHELPER_PACKAGES_DEB = $(patsubst %,-p%,$(PACKAGES_DEB))
 DEBHELPER_PACKAGES_UDEB = $(patsubst %,-p%,$(PACKAGES_UDEB))
 
-CONFIG = $(firstword $(wildcard ./debian/config-$(1)-$(DEB_HOST_GNU_SYSTEM)-$(DEB_HOST_GNU_CPU) ./debian/config-$(1)-$(DEB_HOST_GNU_SYSTEM) ./debian/config-$(1)))
+CONFIG = $(firstword $(wildcard ./debian/config-$(1)-$(DEB_HOST_ARCH_OS)-$(DEB_HOST_ARCH_CPU) ./debian/config-$(1)-$(DEB_HOST_ARCH_OS) ./debian/config-$(1)))
 CONFIG_DEB = $(call CONFIG,deb)
 CONFIG_STATIC = $(call CONFIG,static)
 CONFIG_UDEB = $(call CONFIG,udeb)

Attachment: signature.asc
Description: Digital signature


Reply to: