openwrt/package/libs
Jonas Gorski a4e92f0484 build: use STAGING_DIR for special APK package versions
Removing tmp/ after having built base-files or toolchain currently
breaks rootfs generation:

$ rm -rf tmp
$ make V=w
...
 make[2] package/install
cat: .../openwrt/tmp/base-files.version: No such file or directory
cat: .../openwrt/openwrt/tmp/libc.version: No such file or directory
ERROR: 'base-files=' is not a valid world dependency, format is name(@tag)([<>~=]version)
make[2]: *** [package/Makefile💯 package/install] Error 99

The only way to recover from here is to clean toolchain and base-files via

$ make package/{base-files,toolchain}/clean

tmp is supposed to be ephemeral, so clearing it is an expected action,
which normally just triggers a regeneration of all files there.

Fix this by moving the version files to $(STAGING_DIR).

Fixes: 63e178f067 ("build: lock versions for special APK packages")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21803
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-01 11:16:54 +01:00
..
argp-standalone treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
elfutils elfutils: drop libelf1 provide 2026-01-12 14:28:52 +01:00
gettext-full treewide: use HTTPS URL for GNU websites 2026-01-02 18:07:02 +01:00
gmp treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
gnulib-l10n treewide: use HTTPS URL for GNU websites 2026-01-02 18:07:02 +01:00
jansson jansson: update project URL 2026-01-02 18:07:02 +01:00
libbpf treewide: use HTTPS URL for www.kernel.org 2026-01-02 18:07:02 +01:00
libbsd libbsd: update to 0.12.2 2025-11-24 09:38:37 +01:00
libcap libcap: Revert "libcap: update to 2.77" 2025-12-16 01:24:47 +01:00
libevent2 treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
libiconv-full libiconv-full: update to 1.18 2025-05-04 20:50:33 +02:00
libjson-c libjson-c: patch for cmake 4.x compatibility 2025-11-04 15:14:53 +01:00
libmd libmd: update to 1.1.0 2023-10-12 09:50:25 +02:00
libmnl libmnl: add PKG_CPE_ID 2022-09-06 16:36:44 +01:00
libnetfilter-conntrack libnetfilter-conntrack: bump to 1.1.0 2025-07-04 15:15:07 +02:00
libnfnetlink libnfnetlink: add PKG_CPE_ID 2022-09-06 16:36:45 +01:00
libnftnl libnftnl: update to version 1.3.1 2025-12-10 23:26:31 +01:00
libnl treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
libnl-tiny libnl-tiny: update to Git HEAD (2025-12-02) 2025-12-09 20:37:39 +01:00
libpcap libpcap: update to 1.10.6 2026-01-28 23:41:32 +01:00
libselinux treewide: update SELinux project URL 2026-01-02 18:07:02 +01:00
libsemanage treewide: update SELinux project URL 2026-01-02 18:07:02 +01:00
libsepol treewide: update SELinux project URL 2026-01-02 18:07:02 +01:00
libtool treewide: use HTTPS URL for GNU websites 2026-01-02 18:07:02 +01:00
libtraceevent libtraceevent: switch to meson and add missing dep for libtraceevent-extra 2025-11-27 13:39:57 +01:00
libtracefs libtracefs: update to 1.8.2 2025-05-13 16:48:49 +02:00
libubox libubox: update to Git HEAD (2025-12-08) 2025-12-09 20:41:58 +01:00
libunistring libunistring: fix compilation error with MUSL 2025-11-25 13:41:11 +01:00
libunwind treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
libusb libusb: update to 1.0.29 2025-11-23 23:50:47 +01:00
libxml2 libxml2: update project URL 2026-01-02 18:07:02 +01:00
mbedtls mbedtls: update to 3.6.5 2025-10-18 01:27:52 +02:00
mpfr mpfr: update to 4.2.2 2025-11-23 23:53:50 +01:00
musl-fts musl-fts: remove shared libraries from host 2022-03-27 14:38:13 +02:00
ncurses treewide: use HTTPS URL for GNU websites 2026-01-02 18:07:02 +01:00
nettle nettle: update to 3.10.2 2025-11-23 23:52:11 +01:00
openssl openssl: update to 3.5.5 2026-01-28 23:52:54 +01:00
pcre2 libpcre2: Default enable JIT support for aarch64 2025-11-23 13:55:31 +01:00
popt treewide: Add extra CPE identifier 2023-09-25 23:06:33 +02:00
readline readline: add $(FPIC) to LDFLAGS 2026-01-11 18:49:55 +01:00
sysfsutils sysfsutils: update project URL 2026-01-02 18:07:02 +01:00
toolchain build: use STAGING_DIR for special APK package versions 2026-02-01 11:16:54 +01:00
uclient uclient: update to Git HEAD (2026-01-31) 2026-01-31 15:03:33 +01:00
udebug udebug: update to Git HEAD (2026-01-16) 2026-01-22 10:20:17 +00:00
ustream-ssl ustream-ssl: update to Git HEAD (2025-10-03) 2025-10-04 00:00:52 +02:00
wolfssl treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
xcrypt package: xcrypt: add missing PKG_NAME 2025-11-07 12:23:52 +01:00
zlib treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00