Package: fglrx-driver
Version: 8.47.3-2
Severity: important

Hi,

I tried to build the driver on Lenny, but it failed with:
dpkg-deb: building package `fglrx-driver' in
`../fglrx-driver_8.47.3-2_i386.deb'.
dpkg-deb: building package `fglrx-glx' in `../fglrx-glx_8.47.3-2_i386.deb'.
dpkg-deb: failed to open package info file
`debian/fglrx-glx-ia32/DEBIAN/control' for reading: No such file or
directory
dh_builddeb: command returned error code 512

The problem is that dh_builddeb tries to build fglrx-glx-ia32 too,
ignoring that it should not build the package on i386.
The attached patch fixes the problem.

Regards,
Balint
diff -Naur fglrx-driver-8-3.orig/debian/rules fglrx-driver-8-3.orig.i386/debian/rules
--- fglrx-driver-8-3.orig/debian/rules	2008-03-17 14:43:13.000000000 +0100
+++ fglrx-driver-8-3.orig.i386/debian/rules	2008-03-17 14:43:52.000000000 +0100
@@ -206,7 +206,14 @@
 endif
 	dh_gencontrol -p$(PKG_amdcccle)
 	dh_md5sums
-	dh_builddeb
+	dh_builddeb -p$(PKG_driver)
+	dh_builddeb -p$(PKG_control)
+	dh_builddeb -p$(PKG_glx)
+	dh_builddeb -p$(PKG_kernel_src)
+ifeq ($(DEB_BUILD_ARCH),amd64)
+	dh_builddeb -p$(PKG_glx_ia32)
+endif
+	dh_builddeb -p$(PKG_amdcccle)
 
 binary-indep: build
 

Reply via email to