Cristian Iorga : libpcap: upgrade to ver. 1.3
A message that is not in the archive (sent off-list or not yet received): 20120726135324.6971710217@opal
Quoted 5 lines · On Thu, Jul 26, 2012 at 01:53:24PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 3f0cc742ea5d4788df26bb0592c294e5a67e1093 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3f0cc742ea5d4788df26bb0592c294e5a67e1093
Quoted 7 lines
Author: Cristian Iorga <[email protected]> Date: Tue Jul 24 08:36:57 2012 +0300libpcap: upgrade to ver. 1.3
Signed-off-by Cristian Iorga <[email protected]>Signed-off-by Saul Wold <[email protected]>
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.
Cheers,
Quoted 39 lines
---
.../{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(-)meta/recipes-connectivity/libpcap/libpcap-1.3.0/aclocal.patch renamed from meta/recipes-connectivity/libpcap/libpcap-1.2.1/aclocal.patch +0
-0meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch renamed from meta/recipes-connectivity/libpcap/libpcap-1.2.1/ieee80215-arphrd.patch +0
-0meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb renamed from meta/recipes-connectivity/libpcap/libpcap_1.2.1.bb +2
-2@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 1/1 ppp: bump PR to rebuild against libpcap1 instead libpcap
--- meta/recipes-connectivity/ppp/ppp_2.4.5.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-connectivity/ppp/ppp_2.4.5.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77 file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \ file://pppd/tdb.c;beginline=1;endline=27;md5=4ca3a9991b011038d085d6675ae7c4e6 \ file://chat/chat.c;beginline=1;endline=15;md5=0d374b8545ee5c62d7aff1acbd38add2" -PR = "r5" +PR = "r6" SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \ file://makefile.patch \
Signature · 1 line
1.7.8.6
Richard Purdie
AppliedRe: [PATCH] ppp: bump PR to rebuild against libpcap1 instead libpcap
Quoted 4 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-connectivity/ppp/ppp_2.4.5.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, thanks.
Richard
Quoted 14 lines · Martin Jansa
Quoted 5 lines · On Thu, Jul 26, 2012 at 01:53:24PM +0000, [email protected] wrote:
Module: openembedded-core.git Branch: master Commit: 3f0cc742ea5d4788df26bb0592c294e5a67e1093 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3f0cc742ea5d4788df26bb0592c294e5a67e1093Quoted 7 lines
Author: Cristian Iorga <[email protected]> Date: Tue Jul 24 08:36:57 2012 +0300libpcap: upgrade to ver. 1.3
Signed-off-by Cristian Iorga <[email protected]>Signed-off-by Saul Wold <[email protected]>
Quoted 8 lines
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,
Quoted 45 lines
Cheers,
Quoted 39 lines
---
.../{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(-)meta/recipes-connectivity/libpcap/libpcap-1.3.0/aclocal.patch renamed from meta/recipes-connectivity/libpcap/libpcap-1.2.1/aclocal.patch +0
-0meta/recipes-connectivity/libpcap/libpcap-1.3.0/ieee80215-arphrd.patch renamed from meta/recipes-connectivity/libpcap/libpcap-1.2.1/ieee80215-arphrd.patch +0
-0meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb renamed from meta/recipes-connectivity/libpcap/libpcap_1.2.1.bb +2
-2@@ -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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commitsSignature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 4 lines · Martin Jansa
*
check_data_file_clashes: Package libpcap1 wants to install file/usr/lib/libpcap.so.1But that file is already provided by package * libpcap
*check_data_file_clashes: Package libpcap1 wants to install file/usr/lib/libpcap.so.1But that file is already provided by package * libpcap
If the old library was also libpcap.so.1, why has the package name changed? You said in your first mail that the patch "changes .so version" but if that was the case then there oughtn't to have been a file conflict here.
p.
Quoted 10 lines · Phil Blundell
Quoted 4 lines · Martin Jansa
*
check_data_file_clashes: Package libpcap1 wants to install file/usr/lib/libpcap.so.1But that file is already provided by package * libpcap
*check_data_file_clashes: Package libpcap1 wants to install file/usr/lib/libpcap.so.1But that file is already provided by package * libpcapIf the old library was also libpcap.so.1, why has the package name changed? You said in your first mail that the patch "changes .so version" but if that was the case then there oughtn't to have been a file conflict here.
True, I haven't seen this error before sending my first reply. So I've assumed that it was libpcap0 before and I was wrong.
The real reason for package rename was that before this upgrade libpcap package contained also pcap-config (so debian naming wasn't used):
Once again https://bugzilla.yoctoproject.org/show_bug.cgi?id=2787 proves to be usefull..
Cheers,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]