Skip to contentSkip to conversation

libcomps: update to 0.1.11

PATCH In review Oleksandr Kravchuk 2 participants 4 messages Apr 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcomps: update to 0.1.11

---
 .../libcomps/{libcomps_git.bb => libcomps_0.1.11.bb}          | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 rename meta/recipes-devtools/libcomps/{libcomps_git.bb => libcomps_0.1.11.bb} (92%)
meta/recipes-devtools/libcomps/libcomps_0.1.11.bb renamed from meta/recipes-devtools/libcomps/libcomps_git.bb +1 -3
similarity index 92%
rename from meta/recipes-devtools/libcomps/libcomps_git.bb
rename to meta/recipes-devtools/libcomps/libcomps_0.1.11.bb
index ff6820851f..cf6f46484d 100644
@@ -9,8 +9,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git \
            file://0001-Add-crc32.c-to-sources-list.patch \
            "
 
-PV = "0.1.10"
-SRCREV = "86a82fcd155c27092340d15a34f5c75c4da88243"
+SRCREV = "d868a79b76fb980d1371c28124ae07f00d2b63a9"
 
 S = "${WORKDIR}/git"
 
@@ -22,4 +21,3 @@ EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIR
 OECMAKE_SOURCEPATH = "${S}/libcomps"
 
 BBCLASSEXTEND = "native nativesdk"
-
Signature · 1 line
2.17.1
#1 lore raw

For me:

ERROR: libcomps-0.1.11-r0 do_patch: Command Error: 'quilt --quiltrc /data/poky-tmp/master/work/corei7-64-poky-linux/libcomps/0.1.11-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0002-Set-library-installation-path-correctly.patch
patching file libcomps/src/CMakeLists.txt
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- rejects in file libcomps/src/CMakeLists.txt
Patch 0002-Set-library-installation-path-correctly.patch can be reverse-applied
ERROR: libcomps-0.1.11-r0 do_patch:
ERROR: libcomps-0.1.11-r0 do_patch: Function failed: patch_do_patch

I've always wondered why some people have this as a silent "it's already applied" and others get a fatal error.

Ross

Quoted 37 lines · Oleksandr Kravchuk
---
 .../libcomps/{libcomps_git.bb => libcomps_0.1.11.bb}          | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 rename meta/recipes-devtools/libcomps/{libcomps_git.bb => libcomps_0.1.11.bb} (92%)
meta/recipes-devtools/libcomps/libcomps_0.1.11.bb renamed from meta/recipes-devtools/libcomps/libcomps_git.bb +1 -4
similarity index 92%
rename from meta/recipes-devtools/libcomps/libcomps_git.bb
rename to meta/recipes-devtools/libcomps/libcomps_0.1.11.bb
index ff6820851f..cf6f46484d 100644
@@ -9,8 +9,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git \
            file://0001-Add-crc32.c-to-sources-list.patch \
            "
 
-PV = "0.1.10"
-SRCREV = "86a82fcd155c27092340d15a34f5c75c4da88243"
+SRCREV = "d868a79b76fb980d1371c28124ae07f00d2b63a9"
 
 S = "${WORKDIR}/git"
 
@@ -22,4 +21,3 @@ EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIR
 OECMAKE_SOURCEPATH = "${S}/libcomps"
 
 BBCLASSEXTEND = "native nativesdk"
-
--

2.17.1

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

#2 lore raw

Ross -

I wonder that as well.

As someone rather new to the YP, I would sensitively like to learn why, so I don't waste your time in the future again, because I have not ignored the warning/error. I have simply not seen one.

Quoted 56 lines · Ross

For me:

ERROR: libcomps-0.1.11-r0 do_patch: Command Error: 'quilt --quiltrc /data/poky-tmp/master/work/corei7-64-poky-linux/libcomps/0.1.11-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0002-Set-library-installation-path-correctly.patch
patching file libcomps/src/CMakeLists.txt
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- rejects in file libcomps/src/CMakeLists.txt
Patch 0002-Set-library-installation-path-correctly.patch can be reverse-applied
ERROR: libcomps-0.1.11-r0 do_patch:
ERROR: libcomps-0.1.11-r0 do_patch: Function failed: patch_do_patch

I've always wondered why some people have this as a silent "it's already applied" and others get a fatal error.

Ross

Quoted 36 lines · Oleksandr Kravchuk
---
 .../libcomps/{libcomps_git.bb => libcomps_0.1.11.bb}          | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
 rename meta/recipes-devtools/libcomps/{libcomps_git.bb => libcomps_0.1.11.bb} (92%)
meta/recipes-devtools/libcomps/libcomps_0.1.11.bb renamed from meta/recipes-devtools/libcomps/libcomps_git.bb +1 -4
similarity index 92%
rename from meta/recipes-devtools/libcomps/libcomps_git.bb
rename to meta/recipes-devtools/libcomps/libcomps_0.1.11.bb
index ff6820851f..cf6f46484d 100644
@@ -9,8 +9,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git \
            file://0001-Add-crc32.c-to-sources-list.patch \
            "
 
-PV = "0.1.10"
-SRCREV = "86a82fcd155c27092340d15a34f5c75c4da88243"
+SRCREV = "d868a79b76fb980d1371c28124ae07f00d2b63a9"
 
 S = "${WORKDIR}/git"
 
@@ -22,4 +21,3 @@ EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIR
 OECMAKE_SOURCEPATH = "${S}/libcomps"
 
 BBCLASSEXTEND = "native nativesdk"
-
--

2.17.1

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

#3 lore raw
Quoted 5 lines · Oleksandr Kravchuk

I wonder that as well.

As someone rather new to the YP, I would sensitively like to learn why, so I don't waste your time in the future again, because I have not ignored the warning/error. I have simply not seen one.

This only happens occasionally and we've never managed to get to the bottom of it.

Using the current patch (not a fixed one) can you force it to rebuild libcomps:

$ bitbake libcomps -C unpack

And then mail me the log.do_patch from the work directory?

Also, do you have PATCHRESOLVE set? Probably best to check that using bitbake -e just in case you've a site/distro config setting it:

$ bitbake -e | grep PATCHRESOLVE=

Thanks for all the patches, it's much appreciated. We're deep in feature freeze right now but I'm queueing them up for when master opens for upgrades again.

Ross