Skip to contentSkip to conversation

package/libgeos: improve Config.in comments with binutils bugs

PATCH In review Giulio Benetti 2 participants 3 messages Jul 24, 2021 – Jul 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libgeos: improve Config.in comments with binutils bugs

At the moment if package is not available due to binutils bugs comment only states that it's not available because toolchain is missing C++, wchar. But this is not correct, so let's add other 2 comments for the 2 binutils bugs and move dependencies to them.

---
 package/libgeos/Config.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
package/libgeos/Config.in +8 -4
index 86a1cddcf3..949a5ff94a 100644
@@ -13,7 +13,11 @@ config BR2_PACKAGE_LIBGEOS
 
 	  https://trac.osgeo.org/geos
 
-comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
-		   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
+comment "libgeos needs a toolchain w/ C++, wchar"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+
+comment "libgeos needs a toolchain not affected by BINUTILS bug 21464"
+	depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
+
+comment "libgeos needs a toolchain not affected by BINUTILS bug 27597"
+	depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#1 lore raw

Hello Giulio,

Quoted 3 lines · On Sat, 24 Jul 2021 22:55:37 +0200 Giulio Benetti…

At the moment if package is not available due to binutils bugs comment only states that it's not available because toolchain is missing C++, wchar.

I don't understand why you're saying that, the existing comment says:

Quoted 1 line

-comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"

And it is probably printed if at least one of the following conditions is met:

* Toolchain doesn't have C++

* Toolchain doesn't have wchar

* Toolchain has bug 21464

* Toolchain has bug 27597

So, I don't understand the purpose of your patch, I'm sorry :/

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#2 lore raw

Hello Thomas,

Quoted 19 lines

Il giorno 25 lug 2021, alle ore 14:52, Thomas Petazzoni <[email protected]> ha scritto:

Hello Giulio,

Quoted 6 lines

On Sat, 24 Jul 2021 22:55:37 +0200
Giulio Benetti <[email protected]> wrote:

At the moment if package is not available due to binutils bugs comment only states that it's not available because toolchain is missing C++, wchar.

I don't understand why you're saying that, the existing comment says:

Quoted 1 line

-comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"

And it is probably printed if at least one of the following conditions is met:

* Toolchain doesn't have C++

Quoted 7 lines

* Toolchain doesn't have wchar

* Toolchain has bug 21464

* Toolchain has bug 27597

So, I don't understand the purpose of your patch, I'm sorry :/

My bad, it was fixed previously. Please drop this patch.

Sorry for the noise

Best regards
Giulio Benetti

Quoted 12 lines

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot