* [Buildroot] [PATCH 1/1] package/libmemcached: fix static build
@ 2023-12-03 17:42 Fabrice Fontaine
2023-12-03 18:11 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-12-03 17:42 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Fix the following static build failure raised since bump to version
1.1.4 in commit 7205df8a4f3c729b11a5f0c34885e6cf592f24b9:
CMake Error at /home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/src/bin/cmake_install.cmake:60 (file):
file RPATH_CHANGE could not write new RPATH:
$ORIGIN/../lib
to the file:
/home/autobuild/autobuild/instance-13/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/bin/memcapable
No valid ELF RPATH or RUNPATH entry exists in the file;
Call Stack (most recent call first):
/home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/src/cmake_install.cmake:52 (include)
/home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/cmake_install.cmake:52 (include)
Fixes:
- http://autobuild.buildroot.org/results/778ff517d465896f54a3cd5316a66c54f66fd4cb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libmemcached/libmemcached.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libmemcached/libmemcached.mk b/package/libmemcached/libmemcached.mk
index 63df8f5c20..b72f127a1d 100644
--- a/package/libmemcached/libmemcached.mk
+++ b/package/libmemcached/libmemcached.mk
@@ -18,7 +18,8 @@ LIBMEMCACHED_CPE_ID_VENDOR = awesome
# unexpected build failures with packages that use libmemcached (e.g. c-icap)
LIBMEMCACHED_CONF_OPTS += \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99"
+ -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \
+ -DCMAKE_SKIP_RPATH=ON
ifeq ($(BR2_PACKAGE_LIBEVENT),y)
LIBMEMCACHED_DEPENDENCIES += libevent
--
2.42.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libmemcached: fix static build
2023-12-03 17:42 [Buildroot] [PATCH 1/1] package/libmemcached: fix static build Fabrice Fontaine
@ 2023-12-03 18:11 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2023-12-03 18:11 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following static build failure raised since bump to version
> 1.1.4 in commit 7205df8a4f3c729b11a5f0c34885e6cf592f24b9:
> CMake Error at /home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/src/bin/cmake_install.cmake:60 (file):
> file RPATH_CHANGE could not write new RPATH:
> $ORIGIN/../lib
> to the file:
> /home/autobuild/autobuild/instance-13/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/bin/memcapable
> No valid ELF RPATH or RUNPATH entry exists in the file;
> Call Stack (most recent call first):
> /home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/src/cmake_install.cmake:52 (include)
> /home/autobuild/autobuild/instance-13/output-1/build/libmemcached-1.1.4/cmake_install.cmake:52 (include)
> Fixes:
> - http://autobuild.buildroot.org/results/778ff517d465896f54a3cd5316a66c54f66fd4cb
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-03 18:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03 17:42 [Buildroot] [PATCH 1/1] package/libmemcached: fix static build Fabrice Fontaine
2023-12-03 18:11 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox