[PATCH] gmake-doc and gmake-locales are uninstallable
- From: "Patrick 'P. J.' McDermott" <pjm АТ nac DОТ net>
- To: David Stanford <dstanford АТ daemonbox DОТ net>
- Cc: proteanos-dev АТ lists DОТ proteanos DОТ com
- Date: Wed, 03 Jul 2013 21:09:29 -0400
- Message-id: <51D4CB49 DОТ 6070709 АТ nac DОТ net>
David,
FYI, trying to install gmake-doc and gmake-locales using opkg results in
the following errors:
# opkg install gmake*.opk
Installing gmake-doc (3.82-1) to root...
Installing gmake-locales (3.82-1) to root...
Installing gmake (3.82-1) to root...
Configuring gmake.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for gmake-doc:
* make (= 3.82-1) *
* opkg_install_cmd: Cannot install package gmake-doc.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for gmake-locales:
* make (= 3.82-1) *
* opkg_install_cmd: Cannot install package gmake-locales.
The issue is that their control files list "make", rather than "gmake",
as a dependency. (Recall that you changed the names of the source and
binary packages [1][2].) The fix literally adds two characters to the
packaging.
I'm applying the following patch to gmake in the core-linux-eglibc
bootstrap [3]. Please apply it to the pkg/gmake.git repository at your
convenience (unless you prefer I just do it myself).
Thanks.
[1]: http://git.proteanos.com/pkg/gmake.git/commit/?id=8da51e4f
[2]: http://git.proteanos.com/pkg/gmake.git/commit/?id=3ada6841
[3]: http://git.proteanos.com/porting/initial-bootstrap.git/tree/patches/gmake/01_fix-name-of-gmake-package-in-dependencies.patch
---
gmake-doc.pkg/control | 2 +-
gmake-locales.pkg/control | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gmake-doc.pkg/control b/gmake-doc.pkg/control
index bff9285..b582797 100644
--- a/gmake-doc.pkg/control
+++ b/gmake-doc.pkg/control
@@ -1,5 +1,5 @@
Architecture: any
Platform: all
-Depends: make (= ${Binary-Version})
+Depends: gmake (= ${Binary-Version})
Description: GNU make documentation.
${Common-Description}
diff --git a/gmake-locales.pkg/control b/gmake-locales.pkg/control
index 97c834f..0d57685 100644
--- a/gmake-locales.pkg/control
+++ b/gmake-locales.pkg/control
@@ -1,5 +1,5 @@
Architecture: any
Platform: all
-Depends: make (= ${Binary-Version})
+Depends: gmake (= ${Binary-Version})
Description: GNU make locale packages.
${Common-Description}
--
Patrick "P. J." McDermott
http://www.pehjota.net/
http://www.pehjota.net/contact.html