Skip to contentSkip to conversation

javasqlite: Revert changes to LIC_FILES_CHKSUM

PATCH In review [email protected] 3 participants 6 messages Jun 9, 2023 – Mar 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 javasqlite: Revert changes to LIC_FILES_CHKSUM

From: Jermain Horsman <[email protected]>

Building javasqlite fails with a QA error due to LIC_FILES_CHKSUM being incorrect.

This checksum was changed when the LICENSE value was updated. However, neither the source, nor the license file has changed. This commit restores the old value and reverts the changes made in commit 6b2a48c3a7b1236a9d915135f685ef7eef5dcd02.

---
 recipes-core/javasqlite/javasqlite_20150419.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/javasqlite/javasqlite_20150419.bb +1 -1
index 27dad88..71e9676 100644
@@ -13,7 +13,7 @@ SRC_URI =  " \
     file://0001-fix-errors-during-cross-compile.patch \
     "
 
-LIC_FILES_CHKSUM = "file://license.terms;md5=788a765d15de8312110c282b2ef53c83"
+LIC_FILES_CHKSUM = "file://license.terms;md5=3da0e50feac5f64f08184584a8cad58a"
 
 inherit autotools-brokensep
 
Signature · 1 line
2.39.2.windows.1
#1 lore raw

PATCH 2/3 javasqlite: Remove obsolete rename of libtool

From: Jermain Horsman <[email protected]>

Autoconf no longer generates libtool with a host alias prefix, this causes do_configure to fail as it is unable to copy the prefixed libtool since it no longer exists.

Since the rename is no longer needed the entire append can be removed.

---
 recipes-core/javasqlite/javasqlite_20150419.bb | 4 ----
 1 file changed, 4 deletions(-)
recipes-core/javasqlite/javasqlite_20150419.bb +0 -4
index 71e9676..45262e2 100644
@@ -37,10 +37,6 @@ EXTRA_OEMAKE = "DESTDIR=${D}"
 # This dev package contains an '.so' file used for JNI development
 INSANE_SKIP:${PN}-dev = "dev-elf"
 
-do_configure:append (){
-	cp ${S}/*-libtool ${S}/libtool
-}
-
 do_compile:prepend (){
 	echo '#!/bin/sh' > ${STAGING_BINDIR_NATIVE}/cc
 	echo '${BUILD_CC} $@' >> ${STAGING_BINDIR_NATIVE}/cc
Signature · 1 line
2.39.2.windows.1
#2 lore raw

PATCH 3/3 rxtx: Remove obsolete rename of libtool

In reply to [email protected]

From: Jermain Horsman <[email protected]>

Autoconf no longer generates libtool with a host alias prefix, this causes do_compile to fail as it is unable to find libtool without the prefix.

Since the rename is no longer needed the edit in the do_configure step can be removed.

---
 recipes-extended/rxtx/rxtx_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/rxtx/rxtx_2.2.0.bb +1 -1
index 27935bc..a74f11e 100644
@@ -40,7 +40,7 @@ do_configure:prepend() {
     # Ugly but don't complain to me, but upstream ;-)
     sed -e 's,bin/javah,bin/gjavah,g' \
         -e 's,bin/jar,bin/fastjar,g' \
-        -e 's,\$(TOP)/libtool,\$(TOP)/\${host_alias}-libtool,g' -i ${S}/configure.in
+        -i ${S}/configure.in
     rm -f ${S}/acinclude.m4 \
           ${S}/aclocal.m4 \
           ${S}/ltconfig \
Signature · 1 line
2.39.2.windows.1
#3 lore raw

Re: [oe] [meta-java][PATCH 3/3] rxtx: Remove obsolete rename of libtool

Still seeing a do_compile failure (attached)

Can you investigate and send a revised solution?

Quoted 44 lines · Jermain Horsman

From: Jermain Horsman <[email protected]>

Autoconf no longer generates libtool with a host alias prefix, this causes do_compile to fail as it is unable to find libtool without the prefix.

Since the rename is no longer needed the edit in the do_configure step can be removed.

---
 recipes-extended/rxtx/rxtx_2.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/rxtx/ renamed from recipes-extended/rxtx/rxtx_2.2.0.bb +0 -0

rxtx_2.2.0.bb
index 27935bc..a74f11e 100644

recipes-extended/rxtx/rxtx_2.2.0.bb +0 -1
@@ -40,7 +40,7 @@ do_configure:prepend() {
     # Ugly but don't complain to me, but upstream ;-)
     sed -e 's,bin/javah,bin/gjavah,g' \
         -e 's,bin/jar,bin/fastjar,g' \
-        -e 's,\$(TOP)/libtool,\$(TOP)/\${host_alias}-libtool,g' -i ${S}/

configure.in
+ -i ${S}/configure.in

     rm -f ${S}/acinclude.m4 \
           ${S}/aclocal.m4 \
           ${S}/ltconfig \

--
2.39.2.windows.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#103203):
https://lists.openembedded.org/g/openembedded-devel/message/103203
Mute This Topic: https://lists.openembedded.org/mt/99429856/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

RE: [oe] [meta-java][PATCH 3/3] rxtx: Remove obsolete rename of libtool

Quoted 1 line

Still seeing a do_compile failure (attached)

I believe this is caused by sstate being incorrect, If you do a clean build this should not happen.

Quoted 1 line

Can you investigate and send a revised solution?

I could increase the PR, I believe that should prevent the issue. Would that be acceptable?

Sincerely,

Jermain Horsman

#5 lore raw

Re: [oe] [meta-java][PATCH 3/3] rxtx: Remove obsolete rename of libtool

Quoted 9 lines · Jermain Horsman
Quoted 1 line

Still seeing a do_compile failure (attached)

I believe this is caused by sstate being incorrect, If you do a clean build this should not happen.

Quoted 1 line

Can you investigate and send a revised solution?

I could increase the PR, I believe that should prevent the issue. Would that be acceptable?

Ah. Good points/ideas. Let me test that after my current build/test run completes.

I’ll just add the PR bump to this commit.

Quoted 5 lines

Sincerely,

Jermain Horsman