Complete Yocto mirror with license table for TQMa6UL (2038-compliance)

- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
Siggi (OpenClaw Agent)
2026-03-01 20:58:18 +00:00
commit 16accb6b24
15086 changed files with 1292356 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
require pcp.inc
inherit python3native native
#autotools-brokensep
DEPENDS = "python3-native python3-setuptools-native flex-native bison-native"
export PCP_DIR = "${D}"
export PCP_TMP_DIR = "${D}/tmp"
export PCP_BIN_DIR = "${D}/usr/bin"
B = "${S}"
do_configure:prepend() {
export SED=${TMPDIR}/hosttools/sed
export AR=${TMPDIR}/hosttools/ar
# export PYTHON=python3
rm -rf ${S}/include/pcp/configsz.h
rm -rf ${S}/include/pcp/platformsz.h
}
do_compile:prepend() {
sed -i -e "s,#undef HAVE_64BIT_LONG,,g" \
-e "s,#undef HAVE_64BIT_PTR,,g" \
-e "s,#undef PM_SIZEOF_SUSECONDS_T,,g" \
-e "s,#undef PM_SIZEOF_TIME_T,,g" \
${S}/src/include/pcp/config.h.in
export AR=${TMPDIR}/hosttools/ar
# export PYTHON=python3
}
do_compile() {
oe_runmake default_pcp
}
do_install () {
oe_runmake install \
PCP_ETC_DIR=${D}/${sysconfdir} \
PCP_SYSCONF_DIR=${D}/${sysconfdir} \
PCP_VAR_DIR=${D}/${localstatedir} \
PCP_SHARE_DIR=${D}/${datadir} \
PCP_BIN_DIR=${D}/${bindir} \
PCP_BINADM_DIR=${D}/${libexecdir}/pcp/bin \
PCP_LIBADM_DIR=${D}/${libdir} \
PCP_LIB_DIR=${D}/${libdir} \
PCP_MAN_DIR=${D}/${mandir} \
PCP_DOC_DIR=${D}/${docdir}
}

View File

@@ -0,0 +1,40 @@
SUMMARY = "System-level performance monitoring and performance management"
HOMEPAGE = "http://www.pcp.io"
SECTION = "Applications/System"
LICENSE = "GPL-2.0-or-later & LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
"
COMPATIBLE_HOST:libc-musl = "null"
SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \
file://0001-configure-Limit-the-header-search-to-sysroot.patch \
file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
file://config.linux \
"
SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee"
inherit setuptools3-base pkgconfig autotools-brokensep
# Specify any options you want to pass to the configure script using EXTRA_OECONF:
CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch"
EXTRA_OECONF:append = "\
--with-dstat-symlink=yes \
--with-infiniband=no \
--with-python=no \
--with-perl=no \
--with-python3=yes \
--with-pmdajson=no \
--with-perfevent=no \
--with-pmdabcc=yes \
--with-rundir=${localstatedir}/run \
--with-sysconfigdir=${sysconfdir} \
--with-logdir=${localstatedir}/log \
--with-docdir=${docdir} \
"
PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"
PACKAGECONFIG ?= ""
PARALLEL_MAKE = ""

View File

@@ -0,0 +1,39 @@
From db9e6a4b7a48dee62fccb662347dd638a2d286d5 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@fujitsu.com>
Date: Thu, 2 Dec 2021 14:29:06 +0900
Subject: [PATCH] Remove unsuitble part for cross-compile.
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
---
configure.ac | 6 ------
src/libpcp/src/GNUmakefile | 1 -
2 files changed, 7 deletions(-)
--- a/configure.ac
+++ b/configure.ac
@@ -607,12 +607,6 @@ fi
which=$WHICH
AC_SUBST(which)
-if test -z "$AR"; then
- AC_PATH_PROGS(AR, [gcc-ar ar], /usr/bin/ar)
-fi
-if test ! -x "$AR"; then
- AC_MSG_ERROR([cannot find a valid 'ar' command.])
-fi
ar=$AR
AC_SUBST(ar)
--- a/src/libpcp/src/GNUmakefile
+++ b/src/libpcp/src/GNUmakefile
@@ -179,8 +179,6 @@ exports: exports.in mk.exports
# consistent in all placess.
#
check.done: $(OBJECTS)
- ./check-statics
- ./check-errorcodes
touch check.done
ifneq ($(LIBTARGET),)

View File

@@ -0,0 +1,45 @@
From 1eb68f65fd73443d862ca5f36f3b6041e2b0f13a Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 10 Mar 2022 18:53:13 -0800
Subject: [PATCH] configure: Limit the header search to sysroot
Hardcoded paths in configure.ac means it starts to poke at host system
include paths, which is least we want in a cross build, therefore prefix
these paths with STAGING_SYSROOT
Upstream-Status: Inappropriate [OE Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
configure.ac | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
--- a/configure.ac
+++ b/configure.ac
@@ -907,7 +907,7 @@ AC_DEFUN([PCP_CHECK_PYTHON_HEADER],
[ PY_MAJOR="$1"
PY_MINOR="$2"
PY_VERSION="python$PY_MAJOR.$PY_MINOR"
- PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}"
+ PY_INCLUDE_DIRS="-I${STAGING_INCDIR}/${PY_VERSION}m -I${STAGING_INCDIR}/${PY_VERSION}"
saved_CFLAGS="$CFLAGS"
saved_CPPFLAGS="$CPPFLAGS"
CFLAGS="$CFLAGS $PY_INCLUDE_DIRS"
@@ -1603,7 +1603,7 @@ AC_SUBST(qmake)
enable_qt3d=false
AS_IF([test "x$do_qt3d" != "xno"], [
- if test -f /usr/include/Coin3/Inventor/Qt/SoQt.h -o -f /usr/include/Inventor/Qt/SoQt.h
+ if test -f ${STAGING_INCDIR}/Coin3/Inventor/Qt/SoQt.h -o -f ${STAGING_INCDIR}/Inventor/Qt/SoQt.h
then
enable_qt3d=$enable_qt
elif test x"$do_qt3d" = x"yes"
@@ -3699,7 +3699,7 @@ AC_SUBST(enable_decompression)
AC_SUBST(enable_lzma)
dnl check for array sessions
-if test -f /usr/include/sn/arsess.h
+if test -f ${STAGING_INCDIR}/sn/arsess.h
then
pcp_mpi_dirs=libpcp_mpi\ libpcp_mpiread
else

View File

@@ -0,0 +1,36 @@
From c123980d6bf1bc2bf93ee0dd0d7f8fee3d4ddc96 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 5 Jul 2023 08:45:14 -0700
Subject: [PATCH] htop: Change dependency order of header and sourcefiles
Fixes build race
| pcp/Platform.h:29:10: fatal error: DiskIOMeter.h: No such file or directory
| 29 | #include "DiskIOMeter.h"
| | ^~~~~~~~~~~~~~~
| compilation terminated.
| make[3]: *** [<builtin>: pcp-htop.o] Error 1
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/pcp/htop/GNUmakefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile
index 6b7c0c5..5153c63 100644
--- a/src/pcp/htop/GNUmakefile
+++ b/src/pcp/htop/GNUmakefile
@@ -186,8 +186,8 @@ CFGMETERS = $(patsubst %,pcp/meters/%,$(METERS))
CFGCOLUMNS = $(patsubst %,pcp/columns/%,$(COLUMNS))
CFGXFILES = $(CFGMETERS) $(CFGCOLUMNS)
-TOPXFILES = $(TOPCFILES) $(TOPHFILES) $(DOCFILES)
-SUBXFILES = $(SUBCFILES) $(SUBHFILES)
+TOPXFILES = $(TOPHFILES) $(TOPCFILES) $(DOCFILES)
+SUBXFILES = $(SUBHFILES) $(SUBCFILES)
CFILES = $(TOPCFILES) $(SUBCFILES)
HFILES = $(TOPHFILES) $(SUBHFILES)
LDIRT = $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) \
--
2.41.0

View File

@@ -0,0 +1,13 @@
sizeof_int=4
sizeof_long=4
sizeof_pointer=8
sizeof_suseconds_t=8
sizeof_time_t=8
bit_field_scheme=2100
enable_python3='yes'
enable_python3='true'
have_python_OrderedDict="true"
have_python=python3
printf_p_prefix=0x
printf_fmt_int64=I64d
strtoint64=strtoll

View File

@@ -0,0 +1,13 @@
Upstream-Status: Pending
--- a/qa/src/GNUlocaldefs
+++ b/qa/src/GNUlocaldefs
@@ -728,7 +728,7 @@ scale.o: localconfig.h
779246.o: libpcp.h
aggrstore.o: libpcp.h
badmmv.o: libpcp.h
-chkacc1.o: libpcp.h
+chkacc1.o: libpcp.h localconfig.h
chkacc2.o: libpcp.h
chkacc3.o: libpcp.h
chkacc4.o: libpcp.h

View File

@@ -0,0 +1,29 @@
Do not pass cr option
These options are already coming from builddefs
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/src/include/builddefs.in
+++ b/src/include/builddefs.in
@@ -167,7 +167,7 @@ OBJECTS = $(ASFILES:.s=.o) \
#NB: don't override $(MAKE); gnumake sets it well, propagating -j etc.
#MAKE = @make@
-AR = @ar@
+AR = @ar@ cqs
CC = @cc@
CXX = @cxx@
LD = @ld@
--- a/src/include/buildrules
+++ b/src/include/buildrules
@@ -93,7 +93,7 @@ $(STATICLIBTARGET) : $(SUBDIRS) $(OBJECT
ifeq ($(TARGET_OS), darwin)
libtool -static -o $(STATICLIBTARGET) $?
else
- $(AR) cr $(STATICLIBTARGET) $?
+ $(AR) $(STATICLIBTARGET) $?
endif
endif

View File

@@ -0,0 +1,236 @@
require pcp.inc
#inherit perlnative
# NOTE: the following prog dependencies are unknown, ignoring: gtar gzip pkgmk xmlto lzma qshape md5sum pod2man publican git makedepend qmake-qt4 xconfirm true gmake xz dblatex hdiutil rpm bzip2 which mkinstallp dtrace seinfo qmake-qt5 gawk dlltool rpmbuild dpkg makepkg qmake echo
# NOTE: unable to map the following pkg-config dependencies: libmicrohttpd libsystemd-journal
# (this is based on recipes that have previously been built and packaged)
# NOTE: the following library dependencies are unknown, ignoring: nspr gen ibumad regex sasl2 pfm nss papi ibmad
# (this is based on recipes that have previously been built and packaged)
DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptools python3 \
pcp-native cairo zlib ncurses readline libx11 avahi openssl"
SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
file://pass-options-to-AR.patch \
file://fix_parallel_make.patch \
"
export PCP_DIR="${RECIPE_SYSROOT_NATIVE}"
#export PCP_RUN_DIR="${RECIPE_SYSROOT_NATIVE}"
EXTRA_OEMAKE = "CC="${CC}" LD="${LD}""
inherit useradd systemd features_check python3targetconfig
# Needs libx11
REQUIRED_DISTRO_FEATURES = "x11"
SYSTEMD_AUTO_ENABLE:${PN} = "enable"
SYSTEMD_SERVICE:${PN} = "\
pmie_farm_check.service \
pmie_farm.service \
pmfind.service \
pmlogger_farm_check.service \
pmcd.service \
pmie.service \
pmlogger_daily.service \
pmlogger.service \
pmlogger_farm.service \
pmie_check.service \
pmproxy.service \
pmlogger_check.service \
pmie_daily.service"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --home ${localstatedir}/lib/pcp --no-create-home \
--user-group pcp"
USERADD_PACKAGES += "${PN}-testsuite"
USERADD_PARAM:${PN}-testsuite = "--system --home ${localstatedir}/lib/pcp/testsuite --no-create-home \
--user-group pcpqa"
RDEPENDS:${PN} += "perl"
RDEPENDS:${PN}-testsuite += "${PN} bash perl"
RDEPENDS:python3-${PN} += "${PN} python3"
do_configure:prepend () {
cp ${WORKDIR}/config.linux ${B}
rm -rf ${S}/include/pcp/configsz.h
rm -rf ${S}/include/pcp/platformsz.h
export SED=${TMPDIR}/hosttools/sed
export PYTHON=python3
}
do_compile:prepend() {
sed -i -e "s,#undef HAVE_64BIT_LONG,,g" \
-e "s,#undef HAVE_64BIT_PTR,,g" \
-e "s,#undef PM_SIZEOF_SUSECONDS_T,,g" \
-e "s,#undef PM_SIZEOF_TIME_T,,g" \
${S}/src/include/pcp/config.h.in
sed -i -e "s,HAVE_PYTHON_ORDEREDDICT = false,HAVE_PYTHON_ORDEREDDICT = true,g" \
${S}/src/include/builddefs
sed -i -e "s,TOPDIR)/python3-pcp.list,TOPDIR)/python3-pcp.list --install-lib=${PYTHON_SITEPACKAGES_DIR},g" ${S}/src/python/GNUmakefile
export PYTHON=python3
#export PYTHON3=${STAGING_BINDIR_NATIVE}/python3-native/python3
}
do_compile() {
oe_runmake default_pcp
}
do_install () {
export NO_CHOWN=true
oe_runmake install DIST_ROOT=${D}\
install_pcp
rm -rf ${D}${localstatedir}/log
rm -rf ${D}${localstatedir}/lib/pcp/pmcd
rm -rf ${D}${localstatedir}/lib/pcp/tmp
rm -rf ${D}${localstatedir}/run
mv ${D}${docdir}/C* ${D}${docdir}/pcp-doc/
mv ${D}${docdir}/I* ${D}${docdir}/pcp-doc/
mv ${D}${docdir}/R* ${D}${docdir}/pcp-doc/
mv ${D}${docdir}/V* ${D}${docdir}/pcp-doc/
sed -i "s#PCP_AWK_PROG=.*#PCP_AWK_PROG=awk#" ${D}/${sysconfdir}/pcp.conf
sed -i "s#PCP_SORT_PROG=.*#PCP_SORT_PROG=sort#" ${D}/${sysconfdir}/pcp.conf
sed -i "s#PCP_ECHO_PROG=.*#PCP_ECHO_PROG=echo#" ${D}/${sysconfdir}/pcp.conf
sed -i "s#PCP_WHICH_PROG=.*#PCP_WHICH_PROG=which#" ${D}/${sysconfdir}/pcp.conf
}
PACKAGES += " ${PN}-export-zabbix-agent ${PN}-testsuite \
libpcp-gui2 libpcp-gui2-dev \
libpcp-import1 libpcp-archive1 \
libpcp-mmv1 libpcp-mmv1-dev \
libpcp-pmda3 libpcp-pmda3-dev \
libpcp-trace2 libpcp-trace2-dev \
libpcp-web1 libpcp-web1-dev \
libpcp3 libpcp3-dev python3-${PN}\
"
FILES:libpcp-gui2 = "${libdir}/libpcp_gui.so.2 \
"
FILES:libpcp-archive1 = "${libdir}/libpcp_archive.so.1 \
"
FILES:libpcp-gui2-dev = " \
${libdir}/libpcp_gui.so \
${libdir}/libpcp_gui.a \
${includedir}/pmafm.h \
${includedir}/pmtime.h \
"
FILES:libpcp-mmv1 = " \
${libdir}/libpcp_mmv.so.1 \
"
FILES:libpcp-mmv1-dev = " \
${libdir}/libpcp_mmv.a \
${libdir}/libpcp_mmv.so \
${libdir}/libpcp_mmv.so \
${includedir}/mmv_stats.h \
${includedir}/mmv_dev.h \
${datadir}/man/man3/mmv_* \
${datadir}/man/man5/mmv.5.gz \
"
FILES:libpcp-import1 = " \
${libdir}/libpcp_import.so.1 \
"
FILES:libpcp-pmda3 = " \
${libdir}/libpcp_pmda.so.3 \
"
FILES:libpcp-pmda3-dev = " \
${includedir}/pmda.h \
${includedir}/pmdaroot.h \
${libdir}/libpcp_pmda.a \
${libdir}/libpcp_pmda.so \
${libdir}/pkgconfig/libpcp_pmda.pc \
${datadir}/man/man3/PMDA.3.gz \
${datadir}/man/man3/pmda* \
"
FILES:libpcp-trace2 = " \
${libdir}/libpcp_trace.so.2 \
"
FILES:libpcp-trace2-dev = " \
${includedir}/trace.h \
${includedir}/trace_dev.h \
${libdir}/libpcp_trace.a \
${libdir}/libpcp_trace.so \
${datadir}/man/man3/pmtrace* \
"
FILES:libpcp-web1 = " \
${libdir}/libpcp_web.so.1 \
"
FILES:libpcp-web1-dev = " \
${includedir}/pmhttp.h \
${includedir}/pmjson.h \
${libdir}/libpcp_web.a \
${libdir}/libpcp_web.so \
${datadir}/man/man3/pmhttp* \
${datadir}/man/man3/pmjson* \
"
FILES:libpcp3 = " \
${libdir}/libpcp.so.3 \
"
FILES:${PN} = " \
${sysconfdir}/pcp \
${sysconfdir}/cron.d \
${sysconfdir}/init.d \
${libexecdir} \
${bindir} \
${datadir}/bash-completion \
${datadir}/pcp-gui \
${datadir}/zsh \
${systemd_system_unitdir}/ \
${libdir}/pcp/ \
${libdir}/sysusers.d/pcp.conf \
${datadir}/pcp \
${libdir}/*.sh \
${datadir}/man \
${libdir}/rc-proc.sh.minimal \
${sysconfdir}/p* \
${sysconfdir}/s* \
${localstatedir}/lib/pcp/config \
${localstatedir}/lib/pcp/pmdas/ \
${localstatedir}/lib/pcp/pmns \
${libdir}/libpcp_fault.so.3 \
"
FILES:${PN}-export-zabbix-agent += " \
${libdir}/zabbix \
${sysconfdir}/zabbix \
${mandir}/man3/zbxpcp.3.gz \
${libdir}/zabbix \
"
FILES:${PN}-testsuite = "${localstatedir}/lib/pcp/testsuite/ ${libdir}/sysusers.d/pcp-testsuite.conf"
FILES:python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}"
FILES:${PN}-dev += " \
${includedir}/pcp \
${libdir}/libpcp.a \
${libdir}/libpcp.so \
${localstatedir}/lib/pcp/pmdas/*/*.so \
${libexecdir}/pcp/bin/install-sh \
${libdir}/pkgconfig/libpcp.pc \
${libdir}/zabbix/modules/*.so \
${datadir}/man/man3/LOGIMPORT.3.gz \
${datadir}/man/man3/P* \
${datadir}/man/man3/Q* \
${datadir}/man/man3/__pm* \
${datadir}/man/man3/pmA* \
${datadir}/man/man3/pmC* \
${datadir}/man/man3/pmD* \
${datadir}/man/man3/pmE* \
${datadir}/man/man3/pmF* \
${datadir}/man/man3/pmG* \
${datadir}/man/man3/pmH* \
${datadir}/man/man3/pmI* \
${datadir}/man/man3/pmL* \
${datadir}/man/man3/pmM* \
${datadir}/man/man3/pmN* \
${datadir}/man/man3/pmO* \
${datadir}/man/man3/pmP* \
${datadir}/man/man3/pmR* \
${datadir}/man/man3/pmS* \
${datadir}/man/man3/pmT* \
${datadir}/man/man3/pmU* \
${datadir}/man/man3/pmW* \
${datadir}/man/man3/pmf* \
${datadir}/man/man3/pmg* \
${datadir}/man/man3/pmi* \
${datadir}/man/man3/pms* \
${datadir}/man/man3/pmt* \
"