Commit Graph

23 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Hongxu Jia
6b676fe3aa
xmlrpc-c: switch to advanced release
According to [1], there are 3 Xmlrpc-c releases: Super Stable,
Stable and Advanced, and Advanced is newly updated.

The version in stable sub directory is 1.60.0 which is mismatch
with recipe version

Switch to advanced sub directory, in which the version is 1.64.0

root@intel-x86-64:~# xmlrpc-c-config  --version
1.64.0

[1] https://xmlrpc-c.sourceforge.io/downloading.php

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-11 16:11:55 -07:00
mark.yang
41723a2a7d
xmlrpc-c: fix build with gcc-15.0.1
* Fix build error with gcc-15.0.1
  http://errors.yoctoproject.org/Errors/Details/850147/
    srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
    13 |     false = 0,
        |     ^~~~~
    srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
    srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
    15 | } bool;
        |   ^~~~
    srcdir/lib/util/include/bool.h:15:3: warning: useless type name in empty declaration
    In file included from sleep.c:2:
    srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
    13 |     false = 0,
        |     ^~~~~
    srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
    srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
    15 | } bool;
        |   ^~~~

  gcc-15 switched to -std=c23 by default.
  https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-01 22:33:45 -07:00
Hongxu Jia
c6cbcb0344
xmlrpc-c: 1.60.03 -> 1.64.0
Refresh local patches:
- 0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch
- 0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:19 -07:00
Ross Burton
b3cb662fe3 xmlrpc-c: use autoreconf
Add a patch to not use AM_INIT_AUTOMAKE as automake isn't actually used,
and just let autotools.bbclass run autoreconf.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Martin Jansa
140a339592
xmlrpc-c: improve the fix for parallel build a bit
* still needs some improvements, but should work a bit better
  I've rebuilt it 30 times without triggering the issue now
  with previous version it failed on 5th iteration already

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 09:42:50 -08:00
Khem Raj
7f9699e730
xmlrpc-c: Fix race condition triggered during symlink creation
This should fix race condition sometime seen in highly parallell builds

   | rm -f libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | ln -s libxmlrpc_util.so.4.60 libxmlrpc_util.so.4
   | rm -f libxmlrpc_util.so
   | ln: failed to create symbolic link 'libxmlrpc_util.so.4': File exists
   | make[2]: *** [/home/kraj01/yoe/build/tmp/work/core2-64-yoe-linux/xmlrpc-c/1.60.03/git/stable/unix-common.mk:72: libxmlrpc_util.so.4] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2024-10-27 18:08:38 -07:00
Kai Kang
ca7ea3ed02
xmlrpc-c: 1.59.01 -> 1.60.03
Update xmlrpc-c from 1.59.01 to latest stable version 1.60.03. The
SRCREV is one more fix commit after release 1.60.03 in the stable
series. And remove 0002-fix-formatting-issues.patch which has been fixed
in upstream.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-09 15:47:21 -07:00
Martin Jansa
dd0676e657
xmlrcp-c: drop ${PE}, ${PR} from /usr/src/debug paths
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-20 09:30:38 -08:00
Khem Raj
9d66f76045 xmlrpc-c: Upgrade to 1.59.01
Fix buildpath warning due to tmpdir appearing in xmlconfig-c-config

WARNING: xmlrpc-c-1.54.06-r0 do_package_qa: QA Issue: File /usr/bin/xmlrpc-c-config in package xmlrpc-c-dev contains reference
 to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-17 21:36:17 -07:00
Khem Raj
a56f11b144 xmlrpc-c: Upgrade to 1.54.06
Drop upstream applied patch see [1]

[1] 148e64a5bb

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:01 -08:00
Ross Burton
1d114ded14 xmlrpc-c: use gnu-configize
Use gnu-configize instead of copying files manually.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Ross Burton
f486a18e83 xmlrpc-c: clean up PACKAGECONFIG
Remove spurious commas and redundant RDEPENDS.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Ross Burton
d6249ca1de xmlrpc-c: remove unused libxml2 dependency
libxml2 has to be enabled explicitly, and if it is enabled then the build
fails as it uses the disabled xml2-config, not pkg-config.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Ross Burton
11af3bd250 xmlrpc-c: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-18 11:07:10 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Arthur She
d347904e64 xmlrpc-c: fix Makefile macro error
This error caused the curl library wouldn't to be linked correctly.

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 11:24:58 -07:00
Arthur She
608b0ee234 xmlrpc-c: Upgrade 1.51.03 -> 1.54.02
Upgrade to release 1.54.02:

- Build: Use 'curl-config' found at configure time, not at make time.
- Fix bug: 'toValue' won't compile for vector of vectors or map of vectors. Thanks Yang Bo .
- Fix tiny memory leak in virtually impossible low memory situation.

It also solved one igt-gpu-tools test results misleading issue [1]

[1] https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/92

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 12:26:41 -07:00
Adrian Bunk
5f9f4cba2f xmlrpc-c: Remove the RDEPENDS on perl
The tools that use perl are no longer built.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-06 18:44:20 -07:00
Kai Kang
e860611624 xmlrpc-c: inherit binconfig
libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:

  require conf/multilib.conf
  MACHINE = "qemuarm64"
  MULTILIBS = "multilib:lib32"
  DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"

| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
  && ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
  file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1

Make xmlrpc-c inherit binconfig to avoid such kind of errors.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-28 09:42:11 -08:00
Khem Raj
920265d47a xmlrpc-c: Update to 1.51.03
Fix build with clang while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Hongxu Jia
633ac957d6 xmlrpc-c: add perl to RDEPENDS
Fix the following file-rdeps QA issue:
...
|ERROR: xmlrpc-c-1.31.0-r0 do_package_qa: QA Issue:
/usr/bin/xml-rpc-api2txt contained in package xmlrpc-c requires
/usr/bin/perl, but no providers found in RDEPENDS_xmlrpc-c? [file-rdeps]
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:02 +02:00
Hongxu Jia
d8d154f7fc xmlrpc-c: add recipe 1.31.0
- Fix compile failure against musl C library

- Fixed when compile with "-Wformat -Wformat-security -Werror=format-security"

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:19:00 +02:00