[OE-core] [oe-commits] Cristian Iorga : libpcap: upgrade to ver. 1.3

Martin Jansa martin.jansa at gmail.com
Fri Jul 27 11:52:56 UTC 2012


On Fri, Jul 27, 2012 at 01:05:21PM +0200, Martin Jansa wrote:
> On Thu, Jul 26, 2012 at 01:53:24PM +0000, git at git.openembedded.org wrote:
> > Module: openembedded-core.git
> > Branch: master
> > Commit: 3f0cc742ea5d4788df26bb0592c294e5a67e1093
> > URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3f0cc742ea5d4788df26bb0592c294e5a67e1093
> > 
> > Author: Cristian Iorga <cristian.iorga at intel.com>
> > Date:   Tue Jul 24 08:36:57 2012 +0300
> > 
> > libpcap: upgrade to ver. 1.3
> > 
> > Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
> > Signed-off-by: Saul Wold <sgw at linux.intel.com>
> 
> This changes .so version so now libpcap package is renamed to libpcap1
> and breaks at least ppp and tcpdump recipes:
> 
> /OE/openembedded-core/meta/recipes-connectivity/ppp/ppp_2.4.5.bb
> /OE/meta-openembedded/meta-oe/recipes-support/tcpdump/tcpdump_4.1.1.bb
> 
> I'll send PR bumps for those 2, but maybe there are more recipes
> depending on now non-existent libpcap.

And even with those PR bumps, upgrade path is broken and needs manuall
step

Upgrading tcpdump on root from 4.1.1-r1 to 4.1.1-r2...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/tcpdump_4.1.1-r2_armv4t.ipk.
Installing libpcap1 (1.3.0-r2.0) to root...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/libpcap1_1.3.0-r2.0_armv4t.ipk.
Upgrading ppp on root from 2.4.5-r5 to 2.4.5-r6...
Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/ppp_2.4.5-r6_armv4t.ipk.
Installing libpcap1 (1.3.0-r2.0) to root...
Collected errors:
 * check_data_file_clashes: Package libpcap1 wants to install file /usr/lib/libpcap.so.1
        But that file is already provided by package  * libpcap
 * check_data_file_clashes: Package libpcap1 wants to install file /usr/lib/libpcap.so.1
        But that file is already provided by package  * libpcap

RREPLACES_${PN} += "libpcap" would probably help in this case.

Cheers,

> 
> Cheers,
> 
> > ---
> > 
> >  .../{libpcap-1.2.1 => libpcap-1.3.0}/aclocal.patch |    0
> >  .../ieee80215-arphrd.patch                         |    0
> >  .../libpcap/{libpcap_1.2.1.bb => libpcap_1.3.0.bb} |    4 ++--
> >  3 files changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.2.1/aclocal.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/aclocal.patch
> > similarity index 100%
> > rename from meta/recipes-connectivity/libpcap/libpcap-1.2.1/aclocal.patch
> > rename to meta/recipes-connectivity/libpcap/libpcap-1.3.0/aclocal.patch
> > diff --git a/meta/recipes-connectivity/libpcap/libpcap-1.2.1/ieee80215-arphrd.patch b/meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch
> > similarity index 100%
> > rename from meta/recipes-connectivity/libpcap/libpcap-1.2.1/ieee80215-arphrd.patch
> > rename to meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch
> > diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.2.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb
> > similarity index 73%
> > rename from meta/recipes-connectivity/libpcap/libpcap_1.2.1.bb
> > rename to meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb
> > index 91bedf7..717e0e8 100644
> > --- a/meta/recipes-connectivity/libpcap/libpcap_1.2.1.bb
> > +++ b/meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb
> > @@ -5,8 +5,8 @@ PR = "${INC_PR}.0"
> >  SRC_URI += "file://aclocal.patch \
> >              file://ieee80215-arphrd.patch"
> >  
> > -SRC_URI[md5sum] = "06046e0e81efc60566daf1cc96c77d46"
> > -SRC_URI[sha256sum] = "a135a6ef7e539729a57c7ed345bdb9b64159e13404174006a7972eb33f00debd"
> > +SRC_URI[md5sum] = "f78455a92622b7a3c05c58b6ad1cec7e"
> > +SRC_URI[sha256sum] = "41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9"
> >  
> >  #
> >  # make install doesn't cover the shared lib
> > 
> > 
> > _______________________________________________
> > Openembedded-commits mailing list
> > Openembedded-commits at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120727/c6b1daef/attachment-0002.sig>


More information about the Openembedded-core mailing list