As discussed on #debian-bugs, a way to fix this problem has been
found:
<ejka> Q_: rleigh, there is a difference between debian/rules and
dpkg-buildpackage builds in the values of DEB_HOST_GNU_TYPE
and DEB_BUILD_GNU_TYPE. In the first case it is
$arch-linux-gnu (set by debian/rules), in the second --
$arch-linux (set by dpkg-buildpackage.
<rleigh> ejka: I've tried 'debian/rules clean build binary',
'dpkg-buildpackage -rfakeroot -us -uc' and 'debuild -us -uc'
(twice for each), and all worked. I commented out all the
conditional bits, leaving 'DEB_HOST_GNU_TYPE := \ $(shell
dpkg-architecture -qDEB_HOST_GNU_TYPE)-gnu' and
'DEB_BUILD_GNU_TYPE := \ $(shell dpkg-architecture
-qDEB_BUILD_GNU_TYPE)-gnu'
--- emacs21-21.4a/debian/rules 2005-05-27 20:32:50.000000000 +0100
+++ t1/emacs21-21.4a/debian/rules 2005-05-29 15:22:06.000000000 +0100
@@ -114,25 +114,25 @@
DEB_HOST_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
DEB_BUILD_GNU_SYSTEM := $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
-ifndef DEB_HOST_GNU_TYPE
- ifeq ($(DEB_HOST_GNU_SYSTEM), linux)
+#ifndef DEB_HOST_GNU_TYPE
+# ifeq ($(DEB_HOST_GNU_SYSTEM), linux)
DEB_HOST_GNU_TYPE := \
$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)-gnu
- else
- DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
- endif
+# else
+# DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+# endif
export DEB_HOST_GNU_TYPE
-endif
+#endif
-ifndef DEB_BUILD_GNU_TYPE
- ifeq ($(DEB_BUILD_GNU_SYSTEM), linux)
+#ifndef DEB_BUILD_GNU_TYPE
+# ifeq ($(DEB_BUILD_GNU_SYSTEM), linux)
DEB_BUILD_GNU_TYPE := \
$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)-gnu
- else
- DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
- endif
- export DEB_BUILD_GNU_TYPE
-endif
+# else
+# DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+# endif
+# export DEB_BUILD_GNU_TYPE
+#endif
confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
For what reason is all this stuff needed?
Regards,
Roger
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]