mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-31 03:45:41 +00:00
2ec5e69d1844369fd25ae2fb7790067a434bf895
configure is invoked with --with-libpcap=${STAGING_DIR_HOST}${prefix},
which causes libpcap's absolute recipe-sysroot path to be baked into
two generated files:
- src/defines.h: the #include <...pcap.h> path substituted from
@LPCAPINC@
- src/libtcpreplay.pc: the -L<path> in Libs.private substituted from
@LIBS@/@LIBTCPREPLAY_PCLIBS@
Both are shipped in the tcpreplay-dev package, tripping:
WARNING: tcpreplay-4.6.0-r0 do_package_qa: QA Issue: File
/usr/lib/pkgconfig/libtcpreplay.pc in package tcpreplay-dev contains
reference to TMPDIR [buildpaths]
WARNING: tcpreplay-4.6.0-r0 do_package_qa: QA Issue: File
/usr/include/tcpreplay/defines.h in package tcpreplay-dev contains
reference to TMPDIR [buildpaths]
The existing do_install:append() sed only stripped ${RECIPE_SYSROOT}
from ${S}/src/defines.h (needed separately, since that file is shipped
verbatim into the tcpreplay-src debug package), but ${D}/.../defines.h
and libtcpreplay.pc are copied into ${D} by the automake install rules
before :append() runs, so they were never touched. Extend the sed to
also cover both installed files under ${D}.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Collection of layers for the OE-core universe
Main layer maintainer: Khem Raj raj.khem@gmail.com
This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories
Description
Languages
BitBake
86.2%
Shell
5.9%
C
2.8%
Roff
1.9%
NASL
1.7%
Other
1.3%