From patchwork Sun Aug 31 21:02:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciaby X-Patchwork-Id: 384586 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ganesha.gnumonks.org (ganesha.gnumonks.org [IPv6:2001:780:45:1d:225:90ff:fe52:c662]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5680414012B for ; Mon, 1 Sep 2014 07:03:00 +1000 (EST) Received: from localhost ([127.0.0.1] helo=ganesha.gnumonks.org) by ganesha.gnumonks.org with esmtp (Exim 4.72) (envelope-from ) id 1XOCGq-00036W-P2; Sun, 31 Aug 2014 23:02:45 +0200 Received: from contumacia.investici.org ([178.255.144.35]) by ganesha.gnumonks.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1XOCGV-00036O-Aw for openbsc@lists.osmocom.org; Sun, 31 Aug 2014 23:02:25 +0200 Received: from [178.255.144.35] (contumacia [178.255.144.35]) (Authenticated sender: ciaby@autistici.org) by localhost (Postfix) with ESMTPSA id E1BEFE8194 for ; Sun, 31 Aug 2014 21:02:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1409518941; bh=YWotNHafM7NqwsyuQ5W2i3HdgFyhm4X7+7dlHcAjL/k=; h=Date:From:To:Subject:References:In-Reply-To; b=aPWk+mz9SuxwR88wcgbPfEAyJpYq+8o4nR/Gq1Cstj96KVuhkHm6UdxC8II0kBwE/ 4sCwCD15hkNDEQjnT7hZm5EywIcPENtwpoQ//DtZjX/OdSBynuJPtcsvIIDVkDgVx3 YNHu87AAzaxdPk/5DY6CkE3NUfi9q9PliZcRjMJw= Message-ID: <54038D59.7080407@autistici.org> Date: Sun, 31 Aug 2014 16:02:17 -0500 From: Ciaby User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: openbsc@lists.osmocom.org Subject: Re: Can't build debian packages of libosmocore References: <5403809E.1090804@autistici.org> In-Reply-To: <5403809E.1090804@autistici.org> X-Spam-Score: 0.9 (/) X-Spam-Report: SpamASsassin versoin 3.3.1 on ganesha.gnumonks.org summary: Content analysis details: (0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 FORGED_RELAY_MUA_TO_MX FORGED_RELAY_MUA_TO_MX -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openbsc@lists.osmocom.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development of the OpenBSC GSM base station controller List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openbsc-bounces@lists.osmocom.org Errors-To: openbsc-bounces@lists.osmocom.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 08/31/2014 03:07 PM, Ciaby wrote: > I'm having this problem with the latest code from git: [...] > 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. Cheers Ciaby -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREKAAYFAlQDjVAACgkQC30ZhxNccpEJNAD/Z5uiLUwGkKfEfl331bOk7yRo 1rG1g1qDJsz7InEEzZwA/RC24KagL8xZDSNtRjl6i+mU97XqoL+BoFsvqV2M6c/2 =o+xL -----END PGP SIGNATURE----- From 412be4e74d5cb09cadeffb5a03e20c1be825867a Mon Sep 17 00:00:00 2001 From: Ciaby 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