Subject: Bug#3536: Problems encountered while building "es" on m68k arch

From: [email-masked] (Yambo)
Date: Fri, 5 Jul 96 23:48 CDT

Package: es
Version: 0.84-2

The following problems were encountered while building on m68k arch:

1)  "debian.rules" did not support different architectures.
2)  "debian.rules" created improperly named .deb binaries (new standard).
3)  "debian.control" did not contain architecture field.
4)  "debian.control" contained obsolete "PACKAGE_REVISION" field.

The following patches correct these problems:

--- orig/es-0.84/debian.control	Sun Mar 17 17:20:14 1996
+++ es-0.84/debian.control	Thu Jul  4 21:50:17 1996
@@ -1,6 +1,6 @@
 PACKAGE: es
 DESCRIPTION: A public domain extensible shell based on `rc'.
 MAINTAINER: Ian Murdock <[email-masked]>
-VERSION: =V
-PACKAGE_REVISION: =D
+VERSION: =V-=D
+ARCHITECTURE: =A
 DEPENDS: libc5
--- orig/es-0.84/debian.rules	Sun Mar 17 10:40:07 1996
+++ es-0.84/debian.rules	Thu Jul  4 21:51:23 1996
@@ -26,6 +26,8 @@
 v = 0.84
 # The Debian revision of the package (for example, `2').
 d = 2
+# The target architecture.
+a = $(shell dpkg --print-architecture)
 
 build:
 # Builds the binary package.
@@ -51,11 +53,10 @@
 	install -d -g root -m 755 -o root debian-tmp/usr/doc/copyright
 	install -g root -m 644 -o root debian.README \
 	  debian-tmp/usr/doc/copyright/$(p)
-	sed -e '4s/=V/$(v)/' -e '5s/=D/$(d)/' debian.control \
+	sed -e '4s/=V-=D/$(v)-$(d)/' -e '5s/=A/$(a)/' debian.control \
 	  > debian-tmp/DEBIAN/control
 	chmod 644 debian-tmp/DEBIAN/control
-	dpkg --build debian-tmp
-	mv debian-tmp.deb ../$(p)-$(v)-$(d).deb
+	dpkg --build debian-tmp && dpkg-name -o -s .. debian-tmp.deb
 
 source:
 # Makes a source package.

---

From: llucius <[email-masked]>
Date: Sun, 7 Jul 1996 01:13:59 -0500 (CDT)

On Sat, 6 Jul 1996, joost witteveen wrote:

> OK, I very much like the work you do on the m68k architecture, but
> PLEASE do it on the latest packages. es-0.84-3 has been on
> master's incomming (and is now "INSTALLED") since last wednesday,
> I think.
> 
> Could you close this bug report for me if es-0.84-3 appears not to
> break anything on the m68k?
> 
> Thanks.
> 
> -- 
> joost witteveen
>             [email-masked]
>           [email-masked]
> --
> Use Debian/GNU Linux!
> 
Closing due to old revision.

Leland

---

From: [email-masked] (joost witteveen)
Date: Sat, 6 Jul 1996 11:49:11 +0200 (MET DST)

> The following problems were encountered while building on m68k arch:

OK, and to follow up, I mailed about releasing a new es-package
with the m68k patches in to debian-changes (mentioning the
new release number), AND to [email-masked].
Did any of those emails get through to the m68k team?

---

From: [email-masked] (joost witteveen)
Date: Sat, 6 Jul 1996 11:47:51 +0200 (MET DST)

Thanks.

---

From: llucius <[email-masked]>
Date: Sat, 6 Jul 1996 17:48:54 -0500 (CDT)

> master's incomming (and is now "INSTALLED") since last wednesday,
Sorry 'bout that.  I must've missed it.  I'll check it out.

> break anything on the m68k?
Yepper, I'll give it a try.

Leland.

__ Y_ a_ m_ b_ o_ | The leanest, meanest, fightinest sweet tater on Earth!
   oo o  oo o  o  | 
    o       o   o | [email-masked]
 o oo    o     o  | 
-- -- -- -- -- -- | http://www.millcomm.com/~llucius       (maybe one day)