10 Commits

Author SHA1 Message Date
Khem Raj 8f3df8b447 recipes: Convert licenses to SPDX expressions
- Automatically convert all licenses to valid SPDX license expressions
  using convert-spdx-licenses.py

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 22:35:47 -07:00
Yoann Congal 09c7f76c19 libunix-statgrab: Put LD export in do_configure
Toolchains (gcc/clang) forcibly define LD (LD = ...), so, override it in
the do_configure task.

This fixes this build error (seen on AB[0]):
| Checking for pkg-config... .../tmp/work/x86-64-v3-poky-linux/libunix-statgrab/0.112/recipe-sysroot-native/usr/bin/pkg-config
| Checking for pkg-config package of libstatgrab... Unsupported compile language "C" at Makefile.PL line 39.
| -lstatgrab -lpthread
| Checking for library containing sg_get_process_stats_r... WARNING: .../run.do_configure.38403:154 exit 255 from 'perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 PERL=$(which perl)'
| WARNING: Backtrace (BB generated script):
| 	#1: cpan_do_configure, .../tmp/work/x86-64-v3-poky-linux/libunix-statgrab/0.112/temp/run.do_configure.38403, line 154
| 	#2: do_configure, .../tmp/work/x86-64-v3-poky-linux/libunix-statgrab/0.112/temp/run.do_configure.38403, line 147
| 	#3: main, .../tmp/work/x86-64-v3-poky-linux/libunix-statgrab/0.112/temp/run.do_configure.38403, line 189
NOTE: recipe libunix-statgrab-0.112-r0: task do_configure: Failed
ERROR: Task (meta-openembedded/meta-perl/recipes-perl/libstatgrab/libunix-statgrab_0.112.bb:do_configure) failed with exit code '1'

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/77/steps/38/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-23 00:12:01 -08:00
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
J. S. 6d2ab88ea6 libunix-statgrab: Drop unnecessary SRC_URI md5sum
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-22 21:03:08 -07:00
Richard Purdie 79e0a9d237 meta-perl: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-24 09:08:45 -07:00
Khem Raj bd5dcf1b25 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj 67df2ce4c9 libunix-statgrab: Use compiler driver for linking as well
the build system tries to deduce the compiler and its friends and fails
because OE passes LDFLAGS assuming that linker will be invoked via
compiler driver ( gcc or clang ) therefore prefixes linker options with
-Wl, but libunix-statgrab build system enquires LD variable for linker
and uses LDFLAGS with it, which causes linker to fail since ld does not
recognise -Wl, etc. Therefore using CCLD for linker is right choice here

Fixes
Checking for cc... i686-yoe-linux-ld: unrecognized option '-Wl,-O1'
i686-yoe-linux-ld: use the --help option for usage information

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-06 10:15:36 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj ed54f12e19 recipes: Update common-licenses references to match new names
The licenses were renamed to match their SPDX names, fix the
references in LIC_FILES_CHKSUM

Correct the checksums where they were wrong

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:37:54 -08:00
Jens Rehsack 5870cea2b1 libunix-statgrab: add recipe
Add recipe for Unix::Statgrab perl module, a sane language binding for
libstatgrab.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-06 19:22:25 -08:00