-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/01/2014 01:43 PM, Holger Hans Peter Freyther wrote:
> On Sun, Aug 31, 2014 at 04:02:17PM -0500, Ciaby wrote:
> 
> Hi!
> 
>>> So, it looks like it's trying to build a libosmogsm6 package,
>>> but only libosmogsm5.1.0 gets built. I looked around, and the
>>> only reference I found is in src/gsm/Makefile.am, and it's
>>> correct (6:0:1). What am I doing wrong? :)
>> This is a tentative patch to fix the issue. It works for me, 
>> libosmogsm6 and libosmoctrl0 are built successfully, however I'm
>> not sure if that's the right thing to do.
> 
> 
> can you try to use the -M option? It will show plain renames.
Ok, will do.

>> --- a/src/gsm/Makefile.am +++ b/src/gsm/Makefile.am @@ -1,6 +1,6
>> @@ # This is _NOT_ the library release version, it's an API
>> version. # Please read Chapter 6 "Library interface versions" of
>> the libtool documentation before making any modification 
>> -LIBVERSION=6:0:1 +LIBVERSION=6:0:0
> 
> that is odd. What build issue do you get without the versioning?
libosmogsm gets built as libosmogsm.so.5.1.0, which of course doesn't
work if you try to package libosmogsm6. Also, libosmoctrl is missing
libosmoctrl0.install in debian/ and the package declaration in
debian/rules.
My build box is Ubuntu 12.04, 64-bit, all packages updated.
This is the updated patch.
Cheers

Ciaby

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREKAAYFAlQGAlwACgkQC30ZhxNccpERYAD+J0WCn/Oo01sVsVmz3Dq+f0cK
r9eTGhhfEi2ZVCVXGlwA/1tv0Wl53be5R5UKGNF01OJ0Jp7xXBErJ5PLV88guTJ2
=qGdK
-----END PGP SIGNATURE-----
>From 412be4e74d5cb09cadeffb5a03e20c1be825867a Mon Sep 17 00:00:00 2001
From: Ciaby <[email protected]>
Date: Sun, 31 Aug 2014 15:35:29 -0500
Subject: [PATCH] debian: fix build errors with libosmogsm and libosmoctrl

libosmogsm: the transition from 5 to 6 wasn't done properly. Fixed version number.
libosmoctrl: missing definition in debian/control and also missing libosmoctrl0.install.
---
 debian/control              |    6 ++++++
 debian/libosmoctrl0.install |    1 +
 debian/libosmogsm5.install  |    1 -
 debian/libosmogsm6.install  |    1 +
 src/gsm/Makefile.am         |    2 +-
 5 files changed, 9 insertions(+), 2 deletions(-)
 create mode 100644 debian/libosmoctrl0.install
 delete mode 100644 debian/libosmogsm5.install
 create mode 100644 debian/libosmogsm6.install

diff --git a/debian/control b/debian/control
index 3204f0f..e81f7cf 100644
--- a/debian/control
+++ b/debian/control
@@ -44,6 +44,12 @@ Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Osmo VTY library
 
+Package: libosmoctrl0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo control library
+
 Package: libosmocore-dev
 Section: libdevel
 Architecture: any
diff --git a/debian/libosmoctrl0.install b/debian/libosmoctrl0.install
new file mode 100644
index 0000000..6b23be8
--- /dev/null
+++ b/debian/libosmoctrl0.install
@@ -0,0 +1 @@
+usr/lib/libosmoctrl*.so.*
diff --git a/debian/libosmogsm5.install b/debian/libosmogsm5.install
deleted file mode 100644
index 12c9180..0000000
--- a/debian/libosmogsm5.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libosmogsm*.so.*
diff --git a/debian/libosmogsm6.install b/debian/libosmogsm6.install
new file mode 100644
index 0000000..12c9180
--- /dev/null
+++ b/debian/libosmogsm6.install
@@ -0,0 +1 @@
+usr/lib/libosmogsm*.so.*
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am
index 4207959..1e2d893 100644
--- a/src/gsm/Makefile.am
+++ b/src/gsm/Makefile.am
@@ -1,6 +1,6 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
-LIBVERSION=6:0:1
+LIBVERSION=6:0:0
 
 AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN} $(all_includes) -I$(top_srcdir)/include
 
-- 
1.7.9.5

Attachment: 0001-debian-fix-build-errors-with-libosmogsm-and-libosmoc.patch.sig
Description: Binary data

Reply via email to