Re: buildpaths warnings in meta-openembedded


Armin Kuster
 

Richard,

On 7/17/22 23:52, Richard Purdie wrote:
OE-Core recently enabled buildpaths in WARN_QA. This is so any
reproducibility issues are highlighted by the build much earlier and
for a wider cross section of the userbase. We're now at a point where
having issues show up earlier to users is feasible and very valuable.

We've managed to sort out OE-Core but meta-oe still has a number of
issues. I've listed the ones from the last autobuilder run below. Note
that where multiple files in a package trigger a warning, this will
only list the first occurrence. To reproduce locally, after the first
warning shows, the object will install from sstate and now warning will
show a second time so you need to use "-C package_qa" to test under
some cases.
Any indication this new QA check will be backported to the stable branches?

Thanks for the list.

-armin
stdio: WARNING: ndisc6-1.0.5-r0 do_package_qa: QA Issue: File /usr/sbin/rdnssd in package ndisc6-rdnssd contains reference to TMPDIR [buildpaths]
stdio: WARNING: ndisc6-1.0.5-r0 do_package_qa: QA Issue: File /usr/bin/rltraceroute6 in package ndisc6-rltraceroute6 contains reference to TMPDIR [buildpaths]
stdio: WARNING: ndisc6-1.0.5-r0 do_package_qa: QA Issue: File /usr/bin/rdisc6 in package ndisc6-rdisc6 contains reference to TMPDIR [buildpaths]
stdio: WARNING: ndisc6-1.0.5-r0 do_package_qa: QA Issue: File /usr/bin/ndisc6 in package ndisc6-ndisc6 contains reference to TMPDIR [buildpaths]
stdio: WARNING: ndisc6-1.0.5-r0 do_package_qa: QA Issue: File /usr/bin/name2addr in package ndisc6-misc contains reference to TMPDIR
stdio: WARNING: unbound-1.16.0-r0 do_package_qa: QA Issue: File /usr/src/debug/unbound/1.16.0-r0/build/config.h in package unbound-src contains reference to TMPDIR [buildpaths]
stdio: WARNING: unbound-1.16.0-r0 do_package_qa: QA Issue: File /usr/sbin/unbound in package unbound contains reference to TMPDIR [buildpaths]
stdio: WARNING: minifi-cpp-0.7.0-r0 do_package_qa: QA Issue: File /usr/bin/minifi in package minifi-cpp contains reference to TMPDIR
stdio: WARNING: minifi-cpp-0.7.0-r0 do_package_qa: QA Issue: File /usr/bin/.debug/minifi in package minifi-cpp-dbg contains reference to TMPDIR
stdio: WARNING: boinc-client-7.18.1-r0 do_package_qa: QA Issue: File /usr/include/boinc/svn_version.h in package boinc-client-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: ntpsec-1.2.1-r0 do_package_qa: QA Issue: File /usr/src/debug/ntpsec/1.2.1-r0/build/host/ntpd/ntp_parser.tab.h in package ntpsec-src contains reference to TMPDIR [buildpaths]
stdio: WARNING: yasm-1.3.0+gitAUTOINC+ba463d3c26-r0 do_package_qa: QA Issue: File /usr/include/libyasm-stdint.h in package yasm-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/bin/phpdbg in package php-phpdbg contains reference to TMPDIR [buildpaths]
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/sbin/php-fpm in package php-fpm contains reference to TMPDIR [buildpaths]
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/include/php/main/build-defs.h in package php-dev contains reference to TMPDIR
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/php-cgi in package php-dbg contains reference to TMPDIR
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/bin/php in package php-cli contains reference to TMPDIR [buildpaths]
stdio: WARNING: php-8.1.7-r0 do_package_qa: QA Issue: File /usr/bin/php-cgi in package php-cgi contains reference to TMPDIR [buildpaths]
stdio: WARNING: nspr-4.29-r0 do_package_qa: QA Issue: File /usr/bin/nspr-config in package nspr-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: lprng-3.8.C-r0 do_package_qa: QA Issue: File /etc/lpd/lpd.conf in package lprng contains reference to TMPDIR
stdio: WARNING: log4cpp-1.1.3-r0 do_package_qa: QA Issue: File /usr/bin/log4cpp-config in package log4cpp contains reference to TMPDIR [buildpaths]
stdio: WARNING: libwmf-0.2.8.4-r3 do_package_qa: QA Issue: File /usr/bin/libwmf-config in package libwmf contains reference to TMPDIR [buildpaths]
stdio: WARNING: jsonrpc-1.3.0-r0 do_package_qa: QA Issue: File /usr/lib/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake in package jsonrpc-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: gutenprint-git-r0 do_package_qa: QA Issue: File /usr/lib/gutenprint/5.3/config.summary in package gutenprint contains reference to TMPDIR [buildpaths]
stdio: WARNING: znc-1.8.2-r0 do_package_qa: QA Issue: File /usr/bin/znc-buildmod in package znc contains reference to TMPDIR [buildpaths]
stdio: WARNING: imagemagick-7.0.10-62-r0 do_package_qa: QA Issue: File /etc/ImageMagick-7/delegates.xml in package imagemagick contains reference to TMPDIR
stdio: WARNING: ncftp-3.2.6-r0 do_package_qa: QA Issue: File /usr/bin/ncftpget in package ncftp contains reference to TMPDIR
stdio: WARNING: hdf5-1.8.21-r0 do_package_qa: QA Issue: File /usr/lib/libhdf5.settings in package hdf5 contains reference to TMPDIR [buildpaths]
stdio: WARNING: dovecot-2.3.14-r0 do_package_qa: QA Issue: File /usr/lib/dovecot/dovecot-config in package dovecot contains reference to TMPDIR [buildpaths]
stdio: WARNING: opencv-4.6.0-r0 do_package_qa: QA Issue: File /usr/lib/libopencv_core.so.4.6.0 in package libopencv-core contains reference to TMPDIR [buildpaths]
stdio: WARNING: ipmiutil-3.1.5-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/iseltime in package ipmiutil-dbg contains reference to TMPDIR [buildpaths]
stdio: WARNING: net-snmp-5.9.1-r0 do_package_qa: QA Issue: File /usr/lib/net-snmp/ptest/include/net-snmp/net-snmp-config.h in package net-snmp-ptest contains reference to TMPDIR [buildpaths]
stdio: WARNING: net-snmp-5.9.1-r0 do_package_qa: QA Issue: File /usr/include/net-snmp/net-snmp-config-64.h in package net-snmp-dev contains reference to TMPDIR
stdio: WARNING: ldns-1.8.1-r0 do_package_qa: QA Issue: File /usr/bin/ldns-config in package ldns contains reference to TMPDIR [buildpaths]
stdio: WARNING: vboxguestdrivers-6.1.34-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/kernel/misc/vboxvideo.ko in package kernel-module-vboxvideo-5.15.54-yocto-standard contains reference to TMPDIR [buildpaths]
stdio: WARNING: vboxguestdrivers-6.1.34-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/kernel/misc/vboxsf.ko in package kernel-module-vboxsf-5.15.54-yocto-standard contains reference to TMPDIR [buildpaths]
stdio: WARNING: vboxguestdrivers-6.1.34-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/kernel/misc/.debug/vboxguest.ko in package vboxguestdrivers-dbg contains reference to TMPDIR
stdio: WARNING: vboxguestdrivers-6.1.34-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/kernel/misc/vboxguest.ko in package kernel-module-vboxguest-5.15.54-yocto-standard contains reference to TMPDIR [buildpaths]
stdio: WARNING: libwebsockets-4.2.2-r0 do_package_qa: QA Issue: File /usr/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake in package libwebsockets-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: botan-2.19.2-r0 do_package_qa: QA Issue: File /usr/bin/botan in package botan-bin contains reference to TMPDIR [buildpaths]
stdio: WARNING: botan-2.19.2-r0 do_package_qa: QA Issue: File /usr/include/botan-2/botan/build.h in package botan-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: freeradius-3.0.21-r0 do_package_qa: QA Issue: File /usr/bin/radeapclient in package freeradius-utils contains reference to TMPDIR [buildpaths]
stdio: WARNING: freeradius-3.0.21-r0 do_package_qa: QA Issue: File /usr/lib/libfreeradius-server.so.0.0.0 in package freeradius contains reference to TMPDIR [buildpaths]
stdio: WARNING: lirc-0.10.1-r0 do_package_qa: QA Issue: File /usr/include/lirc/config.h in package lirc-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: lirc-0.10.1-r0 do_package_qa: QA Issue: File /usr/bin/irexec in package lirc-exec contains reference to TMPDIR [buildpaths]
stdio: WARNING: ruli-0.36-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libruli.so.4 in package ruli-dbg contains reference to TMPDIR [buildpaths]
stdio: WARNING: freediameter-1.4.0-r0 do_package_qa: QA Issue: File /usr/lib/freeDiameter/ptest/testloadext in package freediameter-ptest contains reference to TMPDIR
stdio: WARNING: freediameter-1.4.0-r0 do_package_qa: QA Issue: File /usr/src/debug/freediameter/1.4.0-r0/build/extensions/rt_default/lex.rtd_conf.c in package freediameter-src contains reference to TMPDIR
stdio: WARNING: quagga-1.2.4-r0 do_package_qa: QA Issue: File /usr/src/debug/quagga/1.2.4-r0/build/lib/version.h in package quagga-src contains reference to TMPDIR [buildpaths]
stdio: WARNING: quagga-1.2.4-r0 do_package_qa: QA Issue: File /usr/lib/libzebra.so.1.0.0 in package quagga contains reference to TMPDIR [buildpaths]
stdio: WARNING: pcp-5.3.6-r0 do_package_qa: QA Issue: File /etc/pcp.conf in package pcp contains reference to TMPDIR [buildpaths]
stdio: WARNING: pcp-5.3.6-r0 do_package_qa: QA Issue: File /usr/include/pcp/builddefs in package pcp-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: curlpp-0.8.1-r0 do_package_qa: QA Issue: File /usr/bin/curlpp-config in package curlpp-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/include/postgresql/server/pg_config.h in package postgresql-server-dev contains reference to TMPDIR
stdio: WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/lib/libpgcommon_shlib.a in package postgresql-staticdev contains reference to TMPDIR
stdio: WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/include/pg_config.h in package libpq-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: postgresql-14.4-r0 do_package_qa: QA Issue: File /usr/bin/postgres in package postgresql contains reference to TMPDIR
stdio: WARNING: zfs-2.1.4-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/extra/nvpair/znvpair.ko in package zfs contains reference to TMPDIR
stdio: WARNING: zfs-2.1.4-r0 do_package_qa: QA Issue: File /lib/modules/5.15.54-yocto-standard/extra/nvpair/.debug/znvpair.ko in package zfs-dbg contains reference to TMPDIR
stdio: WARNING: zfs-2.1.4-r0 do_package_qa: QA Issue: File /usr/lib/pkgconfig/libzfs_core.pc in package zfs-dev contains reference to TMPDIR
stdio: WARNING: nodejs-16.14.2-r0 do_package_qa: QA Issue: File /usr/include/node/config.gypi in package nodejs-dev contains reference to TMPDIR [buildpaths]
stdio: WARNING: nodejs-16.14.2-r0 do_package_qa: QA Issue: File /usr/bin/.debug/node in package nodejs-dbg contains reference to TMPDIR [buildpaths]
stdio: WARNING: nodejs-16.14.2-r0 do_package_qa: QA Issue: File /usr/bin/node in package nodejs contains reference to TMPDIR [buildpaths]

Full autobuilder logs:

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1849/steps/14/logs/stdio

Patches to help with these would be very welcome.

Cheers,

Richard

Join openembedded-devel@lists.openembedded.org to automatically receive all group messages.