There is a PR for the package:
https://github.com/openwrt/packages/pull/15615

On 5/13/21 9:00 AM, e9hack wrote:
Hi,

I've trouble to build libgpg-err since the update from 1.39 to 1.42. Compilation does fail because the auto generated file gpg-error.h contains wrong syntax in macro GPGRT_LOCK_INITIALIZER:

#define GPGRT_LOCK_INITIALIZER {1,{{\c
0\c
,\0c
0\c
,\0c
....

The sequence is generated by gen-lock-obj.sh. I patched out the wrong generation of macros ECHO_C and ECHO_N:

--- a/src/gen-lock-obj.sh   2021-03-04 11:05:29.000000000 +0100
+++ b/src/gen-lock-obj.sh   2021-05-13 08:14:52.675832305 +0200
@@ -39,8 +39,8 @@
 #

 if test -n `echo -n`; then
-    ECHO_C='\c'
-    ECHO_N=''
+    ECHO_C=''
+    ECHO_N='-n'
 else
     ECHO_C=''
     ECHO_N='-n'

Any idea why this does fail? My build system is openSuse Leap 15.2, running in Oracle VirtualBox on Windows.

Regards,
Hartmut

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to