Skip to contentSkip to conversation

poco: update to 1.8.1

PATCH In review Pascal Bach 3 participants 4 messages Jan 17, 2018 – Jan 30, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poco: update to 1.8.1

---
 meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} (98%)
meta-oe/recipes-support/poco/poco_1.8.1.bb renamed from meta-oe/recipes-support/poco/poco_1.8.0.1.bb +1 -1
similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb
rename to meta-oe/recipes-support/poco/poco_1.8.1.bb
index 160b4d391..e44ff4470 100644
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "2eca6c1813632fb779e07f1e1968afefa81e1dd0"
 SRC_URI = " \
     git://github.com/pocoproject/poco.git \
     file://run-ptest \
Signature · 1 line
2.11.0
#1 lore raw
Quoted 1 line · Pascal Bach

Failed to build. Please see

http://errors.yoctoproject.org/Errors/Build/51576/

Quoted 21 lines
---
 meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} (98%)
meta-oe/recipes-support/poco/poco_1.8.1.bb renamed from meta-oe/recipes-support/poco/poco_1.8.0.1.bb +1 -1
similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb
rename to meta-oe/recipes-support/poco/poco_1.8.1.bb
index 160b4d391..e44ff4470 100644
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "2eca6c1813632fb779e07f1e1968afefa81e1dd0"
 SRC_URI = " \
     git://github.com/pocoproject/poco.git \
     file://run-ptest \
#2 lore raw

Anyone else seeing strange behavior with poco and libCppUnit.so.1 library?

WARNING: poco-1.8.0.1-r0 do_package: poco-cppunit-1.8.0.1 was registered as shlib provider for libCppUnit.so.1, changing it to poco-1.8.0.1 because it was built later
WARNING: poco-1.8.0.1-r0 do_package: poco-1.8.0.1 was registered as shlib provider for libCppUnit.so.1, changing it to poco-cppunit-1.8.0.1 because it was built later

this is happening with the 1.8.0.1 version already, but it would be good to fix if it isn't fixed in 1.8.1 already. Maybe just passing explicit -DENABLE_TESTS=OFF in
${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" might help (I haven't tried, I don't use poco anywhere, so I've just blacklisted it locally).

Quoted 38 lines · On Mon, Jan 22, 2018 at 5:05 PM, akuster808 <[email protected]> wrote:
Quoted 1 line · Pascal Bach

Failed to build. Please see

http://errors.yoctoproject.org/Errors/Build/51576/

Quoted 4 lines
---
 meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb}

(98%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-support/poco/poco_1.8.1.bb

Quoted 7 lines

similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb rename to meta-oe/recipes-support/poco/poco_1.8.1.bb index 160b4d391..e44ff4470 100644

meta-oe/recipes-support/poco/poco_1.8.1.bb inherit cmake ptest · line 18

Quoted 8 lines
meta-oe/recipes-support/poco/poco_1.8.1.bb renamed from meta-oe/recipes-support/poco/poco_1.8.0.1.bb +1 -1
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "2eca6c1813632fb779e07f1e1968afefa81e1dd0"
 SRC_URI = " \
     git://github.com/pocoproject/poco.git \
     file://run-ptest \

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

it installs the libCppUnit files like this:

./packages-split/poco-cppunit/usr/lib/libCppUnit.so ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so.1 ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so ./packages-split/poco/usr/lib/libCppUnit.so.1

libCppUnit.so isn't symlink:
-rwxr-xr-x 2 mjansa mjansa 58K Jan 30 16:00 ./packages-split/poco-cppunit/ usr/lib/libCppUnit.so
-rwxr-xr-x 2 mjansa mjansa 58K Jan 30 16:00 ./packages-split/poco/usr/lib/ libCppUnit.so.1

Nor hardlink:
41307884 -rwxr-xr-x 2 mjansa mjansa 58K Jan 30 16:00 ./packages-split/poco-cppunit/usr/lib/libCppUnit.so 41307844 -rwxr-xr-x 2 mjansa mjansa 718K Jan 30 15:59 ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so 41307840 -rwxr-xr-x 2 mjansa mjansa 718K Jan 30 16:00 ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so.1 41307933 -rwxr-xr-x 2 mjansa mjansa 58K Jan 30 16:00 ./packages-split/poco/usr/lib/libCppUnit.so.1

only the debug files are identical:
md5sum ./packages-split/poco-cppunit/usr/lib/libCppUnit.so ./packages-split/poco/usr/lib/libCppUnit.so.1 ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so.1 ./packages-split/poco-dbg/usr/lib/.debug/libCppUnit.so f91541e8c6f357b827bda035ef5ab0fe ./packages-split/poco-cppunit/ usr/lib/libCppUnit.so
2ae9c17659a9d903c0343554675f33e6 ./packages-split/poco/usr/lib/ libCppUnit.so.1
f5d6ca0013c9afe592e82d0f929ea0f1 ./packages-split/poco-dbg/usr/ lib/.debug/libCppUnit.so.1 f5d6ca0013c9afe592e82d0f929ea0f1 ./packages-split/poco-dbg/usr/ lib/.debug/libCppUnit.so

So first do_install_ptest should be fixed to preserve libCppUnit.so as a symlink, then libCppUnit.so should be included in:
FILES_${PN}-dev = "${includedir} ${libdir}/libPoco*.so ${libdir}/cmake"

and shouldn't be included in:
FILES_${PN}-cppunit += "${libdir}/libCppUnit.so*"

You should take advantage of
SOLIBS = ".so.*"
SOLIBSDEV = ".so"
variables from bitbake.conf instead of hardcoding .so and .so.* in FILES variables.

And poco-cppunit should be added to PACKAGES before PN, now the order doesn't look right:
# "${PN}-dbg ${POCO_PACKAGES} ${PN} ${PN}-dev ${PN}-staticdev
${PN}-cppunit"
PACKAGES="poco-dbg poco-xml poco-json poco-mongodb poco-pdf poco-util poco-net poco-netssl poco-crypto poco-data poco-datasqlite poco-zip poco-foundation poco poco-dev poco-staticdev poco-cppunit"

Maybe whole packaging should be reworked to use the standard package definitions and do_split_packages instead of that anonymous function.

Regards,

Quoted 58 lines · Martin Jansa

Anyone else seeing strange behavior with poco and libCppUnit.so.1 library?

WARNING: poco-1.8.0.1-r0 do_package: poco-cppunit-1.8.0.1 was registered as shlib provider for libCppUnit.so.1, changing it to poco-1.8.0.1 because it was built later
WARNING: poco-1.8.0.1-r0 do_package: poco-1.8.0.1 was registered as shlib provider for libCppUnit.so.1, changing it to poco-cppunit-1.8.0.1 because it was built later

this is happening with the 1.8.0.1 version already, but it would be good to fix if it isn't fixed in 1.8.1 already. Maybe just passing explicit -DENABLE_TESTS=OFF in
${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON ', '', d)}" might help (I haven't tried, I don't use poco anywhere, so I've just blacklisted it locally).

Quoted 38 lines · On Mon, Jan 22, 2018 at 5:05 PM, akuster808 <[email protected]> wrote:
Quoted 1 line · Pascal Bach

Failed to build. Please see

http://errors.yoctoproject.org/Errors/Build/51576/

Quoted 4 lines
---
 meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poco/{poco_1.8.0.1.bb => poco_1.8.1.bb}

(98%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-support/poco/poco_1.8.1.bb

Quoted 7 lines

similarity index 98%
rename from meta-oe/recipes-support/poco/poco_1.8.0.1.bb rename to meta-oe/recipes-support/poco/poco_1.8.1.bb index 160b4d391..e44ff4470 100644

meta-oe/recipes-support/poco/poco_1.8.1.bb inherit cmake ptest · line 18

Quoted 8 lines
meta-oe/recipes-support/poco/poco_1.8.1.bb renamed from meta-oe/recipes-support/poco/poco_1.8.0.1.bb +1 -1
@@ -12,7 +12,7 @@ inherit cmake ptest
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "af527ab21fca5ab2659285408aec9920ed7c7b17"
+SRCREV = "2eca6c1813632fb779e07f1e1968afefa81e1dd0"
 SRC_URI = " \
     git://github.com/pocoproject/poco.git \
     file://run-ptest \

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel